*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#0f172a;color:#f1f5f9}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{background:#1e293b;border-bottom:1px solid #334155;padding:1rem 2rem}.header-content{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.app-header h1{font-size:1.5rem;color:#60a5fa}.user-info{display:flex;align-items:center;gap:1rem}.username{color:#cbd5e1;font-size:.95rem}.logout-button{background:#dc2626;color:#fff;border:none;padding:.5rem 1rem;border-radius:.375rem;cursor:pointer;font-size:.9rem;transition:background .2s}.logout-button:hover{background:#b91c1c}.app-main{flex:1;padding:2rem;max-width:1400px;width:100%;margin:0 auto}.app-footer{background:#1e293b;border-top:1px solid #334155;padding:1rem;text-align:center;font-size:.85rem;color:#64748b}.cui-banner-bar{background:#502b85;color:#fff;font-weight:700;font-size:.85rem;text-align:center;letter-spacing:.15em;text-transform:uppercase;padding:2px 0;width:100%;position:fixed;top:0;left:0;z-index:9999}.cui-footer-bar{background:#502b85;color:#fff;font-weight:700;font-size:.85rem;text-align:center;letter-spacing:.15em;text-transform:uppercase;padding:2px 0;width:100%;position:fixed;bottom:0;left:0;z-index:9999}.consent-card{background:#1e293b;padding:1.25rem 1.75rem;border-radius:.75rem;box-shadow:0 20px 25px -5px #0000004d;width:100%;max-width:720px;border:1px solid #334155}.consent-title{font-size:1.25rem;color:#e2e8f0;font-weight:700;letter-spacing:.05em;margin-bottom:.75rem;text-align:center}.consent-body{color:#cbd5e1;font-size:.9rem;line-height:1.65;max-height:65vh;overflow-y:auto;margin-bottom:1rem}.consent-body p{margin-bottom:.5rem}.consent-body ol{padding-left:1.25rem;margin:0}.consent-body li{margin-bottom:.4rem}.consent-button{display:block;width:100%;padding:.875rem;background:#502b85;color:#fff;border:none;border-radius:.375rem;font-size:1rem;font-weight:600;cursor:pointer;letter-spacing:.05em;transition:background .2s}.consent-button:hover{background:#6b3fa0}.login-container{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f172a,#1e293b)}.login-card{background:#1e293b;padding:2.5rem;border-radius:.75rem;box-shadow:0 20px 25px -5px #0000004d;width:100%;max-width:420px;border:1px solid #334155}.login-card h1{font-size:2rem;margin-bottom:.5rem;color:#60a5fa}.login-subtitle{color:#94a3b8;margin-bottom:2rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#cbd5e1;font-size:.95rem}.form-group input{width:100%;padding:.75rem;background:#0f172a;border:1px solid #334155;border-radius:.375rem;color:#f1f5f9;font-size:1rem;transition:border-color .2s}.form-group input:focus{outline:none;border-color:#60a5fa}.form-group input:disabled{opacity:.5;cursor:not-allowed}.login-button{width:100%;padding:.875rem;background:#3b82f6;color:#fff;border:none;border-radius:.375rem;font-size:1rem;font-weight:500;cursor:pointer;transition:background .2s}.login-button:hover:not(:disabled){background:#2563eb}.login-button:disabled{opacity:.5;cursor:not-allowed}.secondary-button{width:100%;margin-top:.75rem;padding:.75rem;background:#334155;color:#e2e8f0;border:1px solid #475569;border-radius:.375rem;font-size:.95rem;font-weight:500;cursor:pointer;transition:background .2s}.secondary-button:hover:not(:disabled){background:#475569}.secondary-button:disabled{opacity:.5;cursor:not-allowed}.error-message{background:#7f1d1d;border:1px solid #991b1b;padding:.75rem;border-radius:.375rem;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem;color:#fca5a5}.error-icon{font-size:1.25rem}.totp-setup-box{display:grid;gap:.85rem;justify-items:center;margin-bottom:1.5rem}.totp-setup-box img{width:220px;height:220px;border-radius:.375rem;background:#fff;padding:.5rem}.totp-secret{width:100%;padding:.75rem;border:1px solid #334155;border-radius:.375rem;background:#0f172a;color:#e2e8f0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;text-align:center;overflow-wrap:anywhere}.totp-setup-box a{color:#93c5fd}.mfa-card{max-width:520px}.mfa-method-list{display:grid;gap:.85rem;margin-bottom:1rem}.mfa-method-button{display:grid;gap:.35rem;width:100%;padding:1rem;background:#0f172a;color:#e2e8f0;border:1px solid #334155;border-radius:.5rem;text-align:left;cursor:pointer;transition:border-color .2s,background .2s}.mfa-method-button:hover:not(:disabled){background:#111c31;border-color:#60a5fa}.mfa-method-button:disabled{opacity:.5;cursor:not-allowed}.mfa-method-title{font-size:1rem;font-weight:700}.mfa-method-detail{color:#94a3b8;font-size:.9rem;line-height:1.4}.login-footer{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #334155;text-align:center;color:#64748b;font-size:.85rem}.session-creator{background:#1e293b;padding:3rem;border-radius:.75rem;border:1px solid #334155;text-align:center}.session-creator h2{font-size:1.75rem;margin-bottom:1rem;color:#60a5fa}.session-creator p{color:#cbd5e1;margin-bottom:2rem}.session-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.session-actions button{background:#3b82f6;color:#fff;border:none;padding:1rem 2rem;border-radius:.5rem;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.session-actions button:hover:not(:disabled){background:#2563eb;transform:translateY(-2px);box-shadow:0 10px 15px -3px #3b82f64d}.session-actions button:disabled{opacity:.5;cursor:not-allowed}.create-button{background:#3b82f6;color:#fff;border:none;padding:1rem 2.5rem;border-radius:.5rem;font-size:1.1rem;font-weight:500;cursor:pointer;transition:all .2s}.create-button:hover:not(:disabled){background:#2563eb;transform:translateY(-2px);box-shadow:0 10px 15px -3px #3b82f64d}.create-button:disabled{opacity:.5;cursor:not-allowed}.session-creator.error .error-icon{font-size:3rem;margin-bottom:1rem}.retry-button{background:#f59e0b;color:#fff;border:none;padding:.75rem 2rem;border-radius:.5rem;font-size:1rem;cursor:pointer;margin-top:1rem;transition:background .2s}.retry-button:hover{background:#d97706}.manual-actions{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}.connect-button{background:#3b82f6;color:#fff;border:none;padding:1rem 2rem;border-radius:.5rem;font-size:1rem;font-weight:500;cursor:pointer;text-decoration:none;display:inline-block;text-align:center;transition:all .2s}.connect-button:hover{background:#2563eb;transform:translateY(-2px);box-shadow:0 10px 15px -3px #3b82f64d}.progress-container{margin:2rem 0}.progress-bar-wrapper{position:relative;margin-bottom:2rem}.progress-bar-background{height:8px;background:#334155;border-radius:4px;overflow:hidden}.progress-bar-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#60a5fa);transition:width .3s ease;border-radius:4px}.progress-percentage{position:absolute;top:-2rem;right:0;font-size:1.25rem;font-weight:700;color:#60a5fa}.stages-container{display:flex;justify-content:space-between;margin-bottom:2rem;gap:.5rem}.stage{flex:1;display:flex;flex-direction:column;align-items:center;gap:.5rem;position:relative;padding:1rem;border-radius:.5rem;transition:all .3s}.stage.complete{background:#22c55e1a}.stage.current{background:#3b82f61a;border:1px solid #3b82f6}.stage.pending{opacity:.4}.stage-icon{font-size:2rem;filter:grayscale(100%);transition:filter .3s}.stage.complete .stage-icon,.stage.current .stage-icon{filter:grayscale(0%)}.stage-label{font-size:.85rem;color:#cbd5e1;font-weight:500}.stage.current .stage-pulse{position:absolute;top:.5rem;right:.5rem;width:10px;height:10px;background:#3b82f6;border-radius:50%;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.progress-message{text-align:center;padding:1.5rem;background:#0f172a;border-radius:.5rem;border:1px solid #334155}.message-text{font-size:1.1rem;color:#cbd5e1}.vnc-viewer{background:#1e293b;border-radius:.75rem;border:1px solid #334155;overflow:hidden;height:calc(100vh - 200px);display:flex;flex-direction:column}.vnc-controls{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#0f172a;border-bottom:1px solid #334155;gap:1rem;flex-wrap:wrap}.back-button{background:#475569;color:#fff;border:none;padding:.5rem 1rem;border-radius:.375rem;cursor:pointer;font-size:.9rem;transition:background .2s}.back-button:hover{background:#64748b}.connection-status{display:flex;align-items:center;gap:1rem;font-size:.9rem;color:#cbd5e1}.session-id{color:#94a3b8;font-size:.85rem;font-family:Courier New,monospace}.status-indicator{width:10px;height:10px;border-radius:50%;background:#64748b}.status-indicator.connecting{background:#f59e0b;animation:pulse 2s infinite}.status-indicator.connected{background:#22c55e}.fullscreen-button{background:#475569;color:#fff;border:none;padding:.5rem 1rem;border-radius:.375rem;cursor:pointer;font-size:.9rem;transition:background .2s}.fullscreen-button:hover{background:#64748b}.control-buttons{display:flex;align-items:center;gap:.75rem}.destroy-button{background:#dc2626;color:#fff;border:none;padding:.5rem 1rem;border-radius:.375rem;cursor:pointer;font-size:.9rem;transition:all .2s}.destroy-button:hover:not(:disabled){background:#b91c1c}.destroy-button.confirm{background:#f59e0b;animation:pulse 1.5s infinite}.destroy-button.confirm:hover:not(:disabled){background:#d97706}.destroy-button:disabled{opacity:.5;cursor:not-allowed}.cancel-button{background:#475569;color:#fff;border:none;padding:.5rem 1rem;border-radius:.375rem;cursor:pointer;font-size:.9rem;transition:background .2s}.cancel-button:hover{background:#64748b}.vnc-container{flex:1;position:relative;background:#000}.vnc-iframe{width:100%;height:100%;flex:1;border:none;background:#000}.vnc-redirect{padding:3rem;text-align:center}.redirect-message h2{font-size:1.75rem;margin-bottom:1rem;color:#60a5fa}.redirect-message p{color:#cbd5e1;margin-bottom:1.5rem}.session-controls{margin-top:2rem;padding-top:2rem;border-top:1px solid #334155;display:flex;justify-content:center;align-items:center;gap:1rem;flex-wrap:wrap}.session-info{color:#94a3b8;font-size:.85rem;font-family:Courier New,monospace}.vnc-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;color:#cbd5e1}.spinner{width:50px;height:50px;border:4px solid #334155;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}@keyframes spin{to{transform:rotate(360deg)}}.vnc-layout{display:grid;grid-template-areas:"banner banner banner" "left   iframe right" "footer footer footer";grid-template-rows:22px 1fr 20px;grid-template-columns:auto 1fr auto;height:100vh;width:100vw;overflow:hidden;background:#000}.cui-banner{grid-area:banner;background:#502b85;display:flex;align-items:center;justify-content:center;padding:0 8px;height:22px;z-index:100}.cui-label{color:#fff;font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase}.cui-footer{grid-area:footer;background:#502b85;color:#fff;font-weight:700;font-size:11px;text-align:center;letter-spacing:.15em;text-transform:uppercase;display:flex;align-items:center;justify-content:center;height:20px}.panel-dropdown{position:relative}.panel-item.power-item{color:#fca5a5}.panel-item.power-item:hover{color:#fecaca}.panel-dropdown-menu{position:absolute;top:0;background:#1e1b2e;border:1px solid #3b3456;border-radius:6px;min-width:180px;padding:4px;z-index:200;box-shadow:0 8px 24px #00000080}.panel-dropdown-right{right:100%;margin-right:4px}.dropdown-menu-header{padding:8px 12px;font-size:13px;color:#a78bfa;border-bottom:1px solid #3b3456;margin-bottom:4px}.dropdown-menu-item{display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px;background:transparent;border:none;color:#e2e8f0;font-size:14px;cursor:pointer;border-radius:4px;transition:background .15s;text-align:left}.dropdown-menu-item:hover:not(:disabled){background:#ffffff14}.dropdown-menu-item.destructive{color:#fca5a5}.dropdown-menu-item.destructive:hover:not(:disabled){background:#ef444426}.dropdown-menu-item.confirm{background:#f59e0b33;color:#fbbf24;animation:pulse 1.5s infinite}.dropdown-menu-item.disabled,.dropdown-menu-item:disabled{color:#4a4560;cursor:not-allowed}.side-panel{display:flex;flex-direction:column;background:#0f0d1a;border-right:1px solid #1e1b2e;transition:width .2s ease;overflow:visible}.side-panel-left{grid-area:left;border-right:1px solid #1e1b2e}.side-panel-right{grid-area:right;border-left:1px solid #1e1b2e;border-right:none}.side-panel.collapsed{width:46px}.side-panel.expanded{width:200px}.panel-toggle{background:transparent;border:none;color:#cbd5e1;cursor:pointer;padding:10px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #1e1b2e;transition:color .15s;flex-shrink:0}.panel-toggle:hover{color:#a78bfa}.panel-items{display:flex;flex-direction:column;padding:6px;gap:4px;overflow:visible}.panel-item{display:flex;align-items:center;gap:10px;background:transparent;border:none;color:#cbd5e1;cursor:pointer;padding:10px;border-radius:6px;font-size:16px;transition:background .15s,color .15s;white-space:nowrap;overflow:hidden}.panel-item:hover{background:#ffffff14;color:#f1f5f9}.panel-item.active{background:#a78bfa2e;color:#c4b5fd}.panel-item svg{flex-shrink:0}.clipboard-panel{position:absolute;top:22px;left:200px;bottom:20px;width:280px;background:#0f0d1a;border-right:1px solid #3b3456;z-index:150;display:flex;flex-direction:column;overflow:hidden;box-shadow:4px 0 16px #0006}.clipboard-panel-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #3b3456;font-size:16px;font-weight:600;color:#e2e8f0;flex-shrink:0}.clipboard-close{background:transparent;border:none;color:#64748b;cursor:pointer;padding:2px;border-radius:3px;display:flex;align-items:center;justify-content:center;transition:color .15s,background .15s}.clipboard-close:hover{color:#e2e8f0;background:#ffffff14}.clipboard-section{padding:12px 14px;border-bottom:1px solid #1e1b2e;display:flex;flex-direction:column;gap:8px}.clipboard-section-label{font-size:13px;font-weight:600;color:#a78bfa;text-transform:uppercase;letter-spacing:.05em}.clipboard-actions{display:flex;gap:6px}.clipboard-btn{flex:1;padding:8px 12px;border:none;border-radius:4px;font-size:13px;font-weight:500;cursor:pointer;transition:background .15s}.clipboard-send-btn{background:#502b85;color:#fff}.clipboard-send-btn:hover:not(:disabled){background:#6b3fa0}.clipboard-send-btn:disabled{opacity:.4;cursor:not-allowed}.clipboard-copy-btn{background:#1e293b;color:#94a3b8;border:1px solid #334155}.clipboard-copy-btn:hover:not(:disabled){background:#334155;color:#e2e8f0}.clipboard-copy-btn:disabled{opacity:.4;cursor:not-allowed}.clipboard-received{background:#1a1726;border:1px solid #3b3456;border-radius:4px;padding:8px;font-size:13px;font-family:Courier New,monospace;color:#e2e8f0;min-height:60px;max-height:120px;overflow-y:auto;white-space:pre-wrap;word-break:break-all}.clipboard-placeholder{color:#4a4560;font-style:italic;font-family:-apple-system,BlinkMacSystemFont,sans-serif}.clipboard-status-badge{color:#4ade80;font-weight:400;text-transform:none;letter-spacing:0}.clipboard-hint{font-size:12px;color:#4a4560;line-height:1.4;padding:8px 12px;margin-top:auto}.clipboard-paste-area{width:100%;background:#1a1726;border:1px solid #3b3456;border-radius:4px;padding:8px;font-size:13px;font-family:Courier New,monospace;color:#e2e8f0;resize:none;outline:none;transition:border-color .15s}.clipboard-paste-area::placeholder{color:#4a4560;font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-style:italic}.clipboard-paste-area:focus{border-color:#502b85}.clipboard-toggle-row{display:flex;align-items:center;gap:10px}.clipboard-toggle{position:relative;display:inline-block;width:34px;height:18px;cursor:pointer;flex-shrink:0}.clipboard-toggle input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;top:0;right:0;bottom:0;left:0;background:#334155;border-radius:9px;transition:background .2s}.toggle-slider:before{content:"";position:absolute;height:14px;width:14px;left:2px;bottom:2px;background:#94a3b8;border-radius:50%;transition:transform .2s,background .2s}.clipboard-toggle input:checked+.toggle-slider{background:#502b85}.clipboard-toggle input:checked+.toggle-slider:before{transform:translate(16px);background:#e9d5ff}.clipboard-toggle-label{font-size:14px;color:#cbd5e1}.clipboard-current-item{display:flex;align-items:flex-start;gap:6px;background:#1a1726;border:1px solid #3b3456;border-radius:4px;padding:6px 8px;font-size:12px}.clipboard-current-text{flex:1;font-family:Courier New,monospace;color:#e2e8f0;white-space:pre-wrap;word-break:break-all;max-height:80px;overflow-y:auto}.clipboard-direction-badge{font-size:9px;font-weight:700;padding:1px 4px;border-radius:3px;letter-spacing:.05em;flex-shrink:0;line-height:1.4}.clipboard-direction-badge.out{background:#3b82f633;color:#60a5fa}.clipboard-direction-badge.in{background:#4ade8033;color:#4ade80}.clipboard-inline-copy{background:transparent;border:1px solid #3b3456;color:#a78bfa;font-size:10px;padding:2px 6px;border-radius:3px;cursor:pointer;flex-shrink:0;transition:background .15s,color .15s}.clipboard-inline-copy:hover{background:#a78bfa26;color:#e9d5ff}.clipboard-history-section{flex:1;overflow:hidden;display:flex;flex-direction:column}.clipboard-history-list{display:flex;flex-direction:column;gap:2px;overflow-y:auto;max-height:200px}.clipboard-history-entry{display:flex;align-items:center;gap:6px;padding:4px 6px;border-radius:3px;font-size:11px;transition:background .1s}.clipboard-history-entry:hover{background:#ffffff0a}.clipboard-history-text{flex:1;color:#94a3b8;font-family:Courier New,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clipboard-history-time{color:#4a4560;font-size:10px;flex-shrink:0}.file-transfer-panel{position:absolute;top:22px;left:200px;bottom:20px;width:320px;background:#0f0d1a;border-right:1px solid #3b3456;z-index:150;display:flex;flex-direction:column;overflow:hidden;box-shadow:4px 0 16px #0006}.file-drop-zone{border:2px dashed #3b3456;border-radius:6px;padding:20px;text-align:center;cursor:pointer;transition:border-color .2s,background .2s;color:#64748b;font-size:13px;display:flex;flex-direction:column;align-items:center}.file-drop-zone:hover,.file-drop-zone.drag-over{border-color:#a78bfa;background:#a78bfa14;color:#a78bfa}.file-upload-progress{height:4px;background:#1e1b2e;border-radius:2px;overflow:hidden;margin-top:8px}.file-upload-progress-fill{height:100%;background:#a78bfa;transition:width .3s;border-radius:2px}.file-upload-status{font-size:13px;color:#4ade80;margin-top:6px}.file-upload-error{font-size:13px;color:#f87171;margin-top:6px}.file-upload-review{display:flex;flex-direction:column;gap:8px;padding:10px;background:#1a1726;border:1px solid #3b3456;border-radius:6px}.file-upload-review-name{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:#e2e8f0}.file-upload-review-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-upload-review-name strong{color:#94a3b8;white-space:nowrap}.file-cui-toggle{display:flex;align-items:center;gap:8px;color:#e2e8f0;font-size:13px}.file-upload-source{width:100%;resize:vertical;min-height:48px;padding:8px;color:#e2e8f0;background:#0f0d1a;border:1px solid #3b3456;border-radius:4px;font-family:inherit;font-size:13px}.file-upload-source:focus{outline:none;border-color:#a78bfa;box-shadow:0 0 0 2px #a78bfa2e}.file-upload-actions{display:flex;gap:8px;justify-content:flex-end}.file-upload-actions button{padding:7px 12px;color:#f8fafc;background:#374151;border:1px solid #4b5563;border-radius:5px;cursor:pointer}.file-upload-actions button:last-child{background:#502b85;border-color:#6b3fa0}.file-upload-actions button:disabled{opacity:.5;cursor:not-allowed}.file-breadcrumb{display:flex;align-items:center;gap:2px;font-size:13px;color:#64748b;padding:8px 14px;background:#1a1726;border-bottom:1px solid #1e1b2e;overflow-x:auto;white-space:nowrap;flex-shrink:0}.file-breadcrumb-segment{background:none;border:none;color:#a78bfa;cursor:pointer;padding:0 2px;font-size:13px}.file-breadcrumb-segment:hover{text-decoration:underline}.file-breadcrumb-separator{color:#3b3456}.file-list{flex:1;overflow-y:auto;display:flex;flex-direction:column}.file-entry{display:flex;align-items:center;gap:8px;padding:7px 14px;cursor:pointer;font-size:14px;color:#e2e8f0;transition:background .1s;border:none;background:transparent;border-bottom:1px solid rgba(30,27,46,.5);text-align:left;width:100%}.file-entry:hover{background:#ffffff0a}.file-entry-icon{flex-shrink:0;color:#64748b;display:flex}.file-entry-icon.dir{color:#a78bfa}.file-entry-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-entry-size{color:#4a4560;font-size:12px;flex-shrink:0}.file-list-loading{padding:20px;text-align:center;color:#4a4560;font-size:14px}.vnc-iframe-full{grid-area:iframe;width:100%;height:100%;border:none;background:#000}.admin-panel-shell{position:fixed;top:34px;left:58px;z-index:300;pointer-events:none}.admin-panel-toggle,.admin-panel{pointer-events:auto}.admin-panel-toggle{padding:.45rem .7rem;background:#1e1b2e;color:#e9d5ff;border:1px solid #6b3fa0;border-radius:6px;font-size:.85rem;font-weight:700;cursor:pointer;box-shadow:0 8px 24px #00000073}.admin-panel{width:min(860px,calc(100vw - 116px));max-height:min(620px,calc(100vh - 90px));margin-top:.5rem;overflow:auto;background:#111827;color:#e5e7eb;border:1px solid #374151;border-radius:8px;box-shadow:0 24px 60px #0000008c}.admin-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem;border-bottom:1px solid #374151;background:#0f172a}.admin-panel-header h2{color:#e9d5ff;font-size:1.1rem;margin-bottom:.25rem}.admin-panel-header p{color:#94a3b8;font-size:.85rem}.admin-panel-close,.admin-reset-row button,.admin-session-actions button{background:#374151;color:#f8fafc;border:1px solid #4b5563;border-radius:5px;padding:.45rem .65rem;cursor:pointer}.admin-panel-close:hover:not(:disabled),.admin-reset-row button:hover:not(:disabled),.admin-session-actions button:hover:not(:disabled){background:#4b5563}.admin-panel-close:disabled,.admin-reset-row button:disabled,.admin-session-actions button:disabled{opacity:.5;cursor:not-allowed}.admin-reset-row{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:.75rem;padding:1rem;border-bottom:1px solid #263244}.admin-reset-row input{width:100%;padding:.55rem .65rem;color:#f8fafc;background:#0f172a;border:1px solid #334155;border-radius:5px}.admin-panel-status{margin:.75rem 1rem 0;padding:.65rem;background:#172554;border:1px solid #1d4ed8;border-radius:5px;color:#bfdbfe;font-size:.9rem}.admin-session-table{display:grid;padding:1rem;gap:.35rem}.admin-session-heading,.admin-session-row{display:grid;grid-template-columns:minmax(160px,1.3fr) 110px minmax(190px,1fr) 190px;gap:.75rem;align-items:center}.admin-session-heading{color:#94a3b8;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:0 .5rem .35rem}.admin-session-row,.admin-session-empty{padding:.65rem .5rem;background:#0f172a;border:1px solid #263244;border-radius:5px;font-size:.9rem}.admin-session-status{width:fit-content;padding:.2rem .5rem;border-radius:999px;background:#1f2937;color:#d1d5db;font-size:.8rem;font-weight:700}.admin-session-status.running{background:#064e3b;color:#a7f3d0}.admin-session-status.paused{background:#78350f;color:#fde68a}.admin-session-actions{display:flex;gap:.5rem;justify-content:flex-end}.admin-session-empty{color:#94a3b8;text-align:center}.profile-manager-shell{position:fixed;top:22px;right:48px;bottom:20px;left:48px;z-index:320;display:flex;align-items:flex-start;justify-content:center;padding-top:28px;background:#04030a6b}.profile-manager-panel{width:min(820px,calc(100vw - 120px));max-height:calc(100vh - 110px);overflow:auto;color:#e5e7eb;background:#111827;border:1px solid #374151;border-radius:8px;box-shadow:0 24px 60px #00000094}.profile-manager-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem;background:#0f172a;border-bottom:1px solid #374151}.profile-manager-header h2{color:#e9d5ff;font-size:1.15rem;margin-bottom:.25rem}.profile-manager-header p{color:#94a3b8;font-size:.9rem}.profile-manager-close,.profile-card-actions button{background:#374151;color:#f8fafc;border:1px solid #4b5563;border-radius:5px;padding:.45rem .65rem;cursor:pointer}.profile-manager-close:hover:not(:disabled),.profile-card-actions button:hover:not(:disabled){background:#4b5563}.profile-manager-close:disabled,.profile-card-actions button:disabled{opacity:.5;cursor:not-allowed}.profile-manager-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding:1rem}.profile-manager-card{background:#0f172a;border:1px solid #263244;border-radius:7px;padding:.9rem}.profile-manager-card.wide{grid-column:1 / -1}.profile-card-title{color:#c4b5fd;font-size:.86rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.8rem}.profile-stat-row{display:flex;justify-content:space-between;gap:1rem;padding:.45rem 0;border-bottom:1px solid rgba(148,163,184,.12);font-size:.9rem}.profile-stat-row span{color:#94a3b8}.profile-stat-row strong{text-align:right;color:#f8fafc}.profile-card-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.9rem}.profile-card-actions button.danger{color:#fecaca;background:#5f1f2d;border-color:#991b1b}.profile-card-actions button.danger.confirm{color:#fbbf24;background:#f59e0b33;border-color:#b45309;animation:pulse 1.5s infinite}.profile-card-note{color:#94a3b8;font-size:.86rem;line-height:1.45;margin-top:.8rem}.profile-manager-status{margin:.75rem 1rem 0;padding:.65rem;border-radius:5px;font-size:.9rem}.profile-manager-status.success{color:#bbf7d0;background:#052e16;border:1px solid #166534}.profile-manager-status.error{color:#fecaca;background:#450a0a;border:1px solid #991b1b}.profile-factor-roadmap{margin-top:1rem;padding:.75rem;background:#a78bfa14;border:1px solid rgba(167,139,250,.24);border-radius:6px}.profile-factor-roadmap span{color:#e9d5ff;font-weight:700}.profile-factor-roadmap strong{float:right;color:#fbbf24;font-size:.78rem;text-transform:uppercase}.profile-factor-roadmap p{clear:both;color:#94a3b8;font-size:.85rem;line-height:1.45;margin-top:.5rem}@media(max-width:760px){.profile-manager-grid{grid-template-columns:1fr}.profile-manager-panel{width:calc(100vw - 70px)}}.boot-screen{grid-area:iframe;background:#0a0a0f;display:flex;align-items:flex-start;justify-content:center;padding-top:8vh;overflow:auto}.boot-content{font-family:Courier New,Consolas,Liberation Mono,monospace;max-width:640px;width:100%;padding:0 2rem}.boot-header{font-size:1.4rem;font-weight:700;color:silver;letter-spacing:.04em;margin-bottom:1.25rem}.boot-info{margin-bottom:.75rem}.boot-info-row{display:flex;gap:1rem;line-height:1.6}.boot-label{color:#6b7280;min-width:80px}.boot-value{color:#9ca3af}.boot-divider{border-top:1px solid #1e1e2e;margin:.75rem 0}.boot-log{display:flex;flex-direction:column;gap:0}.boot-line{font-size:.85rem;line-height:1.7;white-space:nowrap}.boot-prefix{-webkit-user-select:none;user-select:none}.boot-done{color:#4ade80}.boot-done .boot-prefix{color:#22c55e}.boot-active{color:#e2e8f0}.boot-active .boot-prefix{color:#60a5fa}.boot-error{color:#f87171}.boot-error .boot-prefix{color:#ef4444}.boot-blink{animation:blink-cursor 1s step-end infinite;color:#e2e8f0}@keyframes blink-cursor{0%,to{opacity:1}50%{opacity:0}}.stopped-screen{grid-area:iframe;background:#0a0a0f;display:flex;align-items:center;justify-content:center}.stopped-content{text-align:center;display:flex;flex-direction:column;align-items:center;gap:1.5rem}.stopped-icon{color:#4a4560;opacity:.6}.stopped-label{color:#64748b;font-size:1.1rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.start-now-btn{display:flex;align-items:center;gap:8px;padding:10px 24px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s,transform .1s}.start-now-btn:hover{background:#2563eb;transform:translateY(-1px)}.start-now-btn:active{transform:translateY(0)}@media(max-width:768px){.stages-container{flex-wrap:wrap}.stage{min-width:calc(33.333% - .5rem)}.app-header{padding:1rem}.header-content{flex-direction:column;gap:1rem}}
