.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.login-card{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;padding:40px;width:100%;max-width:450px;animation:slideUp .3s ease-out}.login-header{text-align:center;margin-bottom:30px}.login-header h1{font-size:36px;font-weight:700;color:#667eea;margin:0 0 8px}.login-subtitle{font-size:14px;color:#666;margin:0}.login-error{background:#fee;border:1px solid #fcc;border-radius:6px;padding:12px 16px;margin-bottom:20px;color:#c33;display:flex;align-items:center;gap:8px;font-size:14px}.error-icon{font-size:18px}.login-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:14px;font-weight:600;color:#333}.form-group input{padding:12px 16px;border:2px solid #e0e0e0;border-radius:6px;font-size:16px;transition:border-color .2s}.form-group input:focus{outline:none;border-color:#667eea}.form-group input:disabled{background:#f5f5f5;cursor:not-allowed}.totp-input{font-family:Courier New,monospace;font-size:24px;letter-spacing:8px;text-align:center}.login-button{padding:14px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.6;cursor:not-allowed}.form-info{text-align:center;margin-bottom:10px}.form-info h3{font-size:20px;color:#333;margin:0 0 8px}.form-info p{font-size:14px;color:#666;margin:0}.qr-code-container{display:flex;justify-content:center;margin:20px 0}.qr-code{width:200px;height:200px;border:2px solid #e0e0e0;border-radius:8px;padding:10px;background:#fff}.secret-container{background:#f5f5f5;border-radius:6px;padding:16px;margin:16px 0;text-align:center}.secret-label{font-size:13px;color:#666;margin:0 0 8px}.secret-code{display:block;font-family:Courier New,monospace;font-size:16px;font-weight:600;color:#333;background:#fff;padding:12px;border-radius:4px;border:1px solid #e0e0e0;letter-spacing:2px;-webkit-user-select:all;user-select:all}.form-actions{display:flex;gap:12px;margin-top:10px}.back-button{flex:1;padding:14px 24px;background:#fff;color:#667eea;border:2px solid #667eea;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:background .2s,color .2s}.back-button:hover:not(:disabled){background:#f5f5ff}.back-button:disabled{opacity:.6;cursor:not-allowed}.form-actions .login-button{flex:2}@media (max-width: 480px){.login-card{padding:30px 20px}.login-header h1{font-size:28px}.qr-code{width:180px;height:180px}}.dashboard{width:100%}.dashboard-top-bar{background:#fff;border-bottom:1px solid #e0e0e0;padding:1rem 2rem;margin:-2rem -2rem 2rem;display:flex;justify-content:space-between;align-items:center}.app-header h1{margin:0;font-size:1.5rem;color:#667eea;font-weight:700}.user-info{display:flex;align-items:center;gap:1rem}.user-email{font-size:14px;color:#666}.user-badge{background:#667eea;color:#fff;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600}.btn-logout{padding:8px 16px;background:#fff;color:#667eea;border:2px solid #667eea;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s,color .2s}.btn-logout:hover{background:#667eea;color:#fff}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.dashboard-header h2{margin:0;font-size:2rem;color:#333}.dashboard-actions{display:flex;gap:1rem}.empty-state p{color:#666;margin-bottom:1.5rem;font-size:1.1rem}.sessions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.session-card{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 8px #0000001a;cursor:pointer;transition:all .2s}.session-card:hover{transform:translateY(-4px);box-shadow:0 4px 16px #00000026}.session-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #e0e0e0}.session-card-header h3{margin:0;font-size:1.2rem;color:#333}.session-card-body{display:flex;flex-direction:column;gap:.75rem}.session-info-row{display:flex;justify-content:space-between;align-items:center}.session-info-row .label{font-weight:500;color:#666}.session-info-row .value{color:#333}.session-error{margin-top:.5rem;padding:.75rem;background:#fff3cd;border-radius:4px;border-left:3px solid #ffc107}.session-error .error-label{font-weight:600;color:#856404}.session-error .error-text{color:#856404;font-size:.9rem}@media (max-width: 768px){.dashboard-header{flex-direction:column;align-items:flex-start;gap:1rem}.sessions-grid{grid-template-columns:1fr}.dashboard-actions{width:100%;flex-direction:column}.dashboard-actions .btn{width:100%}}.vm-creation-form-container{max-width:800px;margin:0 auto;background:#fff;border-radius:8px;padding:2rem;box-shadow:0 2px 8px #0000001a}.form-header{margin-bottom:2rem;text-align:center}.form-header h2{margin:0 0 .5rem;color:#333}.form-header p{color:#666;margin:0}.vm-creation-form{display:flex;flex-direction:column;gap:1.5rem}.form-section{display:flex;flex-direction:column;gap:.5rem}.form-label{font-weight:500;color:#333;display:flex;justify-content:space-between;align-items:center}.error-text{color:#dc3545;font-size:.875rem;font-weight:400}.form-input,.form-textarea,.form-select{padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:inherit;transition:border-color .2s}.form-input:focus,.form-textarea:focus,.form-select:focus{outline:none;border-color:#667eea}.input-error{border-color:#dc3545}.form-textarea{resize:vertical;min-height:120px}.url-input-group{display:flex;gap:.5rem;align-items:center}.url-input-group .form-input{flex:1}.radio-group{display:flex;flex-direction:column;gap:.75rem;padding:.5rem 0}.radio-label{display:flex;align-items:center;gap:.75rem;padding:1rem;border:2px solid #e0e0e0;border-radius:6px;cursor:pointer;transition:all .2s}.radio-label:hover{border-color:#667eea;background:#f8f9ff}.radio-label input[type=radio]{width:20px;height:20px;cursor:pointer}.radio-label input[type=radio]:checked+.radio-text{color:#667eea}.radio-text{flex:1}.radio-text strong{display:block;margin-bottom:.25rem}.form-error{padding:1rem;background:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;color:#721c24}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1rem;padding-top:1rem;border-top:1px solid #e0e0e0}@media (max-width: 768px){.vm-creation-form-container{padding:1.5rem}.form-actions{flex-direction:column-reverse}.form-actions .btn{width:100%}.url-input-group{flex-direction:column}.url-input-group .btn{width:100%}}/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.terminal-container{padding:1rem;height:100%;display:flex;flex-direction:column}.terminal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding:.75rem;background:#f5f5f5;border-radius:4px}.terminal-status{display:flex;align-items:center;gap:.5rem}.status-indicator{width:12px;height:12px;border-radius:50%}.status-indicator.connected{background:#28a745;box-shadow:0 0 8px #28a74580}.status-indicator.disconnected{background:#dc3545}.status-text{font-weight:500;color:#333}.terminal-error{display:flex;align-items:center;gap:.5rem;color:#dc3545;font-size:.9rem}.terminal{flex:1;border:1px solid #ddd;border-radius:4px;padding:.5rem;background:#1e1e1e;overflow:hidden}@media (max-width: 768px){.terminal-header{flex-direction:column;align-items:flex-start;gap:.5rem}.terminal-error{width:100%;flex-direction:column;align-items:flex-start}}.ssh-info{padding:2rem}.ssh-info-header{margin-bottom:2rem}.ssh-info-header h3{margin:0 0 .5rem;color:#333;font-size:1.5rem}.ssh-info-header p{margin:0;color:#666}.ssh-info-content{display:flex;flex-direction:column;gap:2rem}.info-card{background:#f8f9fa;border-radius:8px;padding:1.5rem;border:1px solid #e0e0e0}.info-row{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;border-bottom:1px solid #e0e0e0}.info-row:last-child{border-bottom:none}.info-label{font-weight:500;color:#666;min-width:120px}.info-value-group{display:flex;align-items:center;gap:1rem;flex:1;justify-content:flex-end}.info-value{background:#fff;padding:.5rem 1rem;border-radius:4px;border:1px solid #ddd;font-family:Courier New,monospace;color:#333}.ssh-command-section,.ssh-key-section,.ssh-instructions{background:#f8f9fa;border-radius:8px;padding:1.5rem;border:1px solid #e0e0e0}.ssh-command-section h4,.ssh-key-section h4,.ssh-instructions h4{margin:0 0 1rem;color:#333}.command-box{display:flex;align-items:center;gap:1rem;background:#fff;padding:1rem;border-radius:4px;border:1px solid #ddd}.command-box code{flex:1;font-family:Courier New,monospace;color:#333;word-break:break-all}.ssh-key-section p{margin:0 0 1rem;color:#666}.ssh-instructions ol{margin:0;padding-left:1.5rem;color:#666}.ssh-instructions li{margin-bottom:.75rem}.ssh-instructions code{background:#fff;padding:.2rem .5rem;border-radius:3px;border:1px solid #ddd;font-family:Courier New,monospace;color:#333}@media (max-width: 768px){.ssh-info{padding:1rem}.info-row{flex-direction:column;align-items:flex-start;gap:.5rem}.info-value-group{width:100%;justify-content:flex-start}.command-box{flex-direction:column;align-items:flex-start}.command-box .btn{width:100%}}.agent-md-editor{padding:2rem;height:100%;display:flex;flex-direction:column}.editor-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem}.editor-title h3{margin:0 0 .5rem;color:#333;font-size:1.5rem}.editor-title p{margin:0;color:#666}.editor-actions{display:flex;gap:.75rem}.editor-content{flex:1;border:1px solid #ddd;border-radius:6px;overflow:hidden}.editor-textarea{width:100%;height:100%;min-height:400px;padding:1rem;border:none;font-family:Courier New,monospace;font-size:.95rem;line-height:1.6;resize:vertical}.editor-textarea:focus{outline:none}.editor-preview{width:100%;height:100%;min-height:400px;padding:1rem;margin:0;background:#f8f9fa;font-family:Courier New,monospace;font-size:.95rem;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;overflow-y:auto}.editor-info{margin-top:1rem;padding:1rem;background:#e7f3ff;border-left:4px solid #2196f3;border-radius:4px}.editor-info p{margin:0;color:#0d47a1}@media (max-width: 768px){.agent-md-editor{padding:1rem}.editor-header{flex-direction:column;gap:1rem}.editor-actions{width:100%;flex-direction:column}.editor-actions .btn{width:100%}}.file-viewer{padding:2rem;height:100%;display:flex;flex-direction:column}.viewer-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem}.viewer-title h3{margin:0 0 .5rem;color:#333;font-size:1.5rem}.viewer-title p{margin:0;color:#666}.viewer-actions{display:flex;align-items:center;gap:1rem}.auto-refresh-toggle{display:flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none}.auto-refresh-toggle input[type=checkbox]{width:18px;height:18px;cursor:pointer}.auto-refresh-toggle span{color:#666;font-size:.9rem}.viewer-content{flex:1;border:1px solid #ddd;border-radius:6px;overflow:hidden;background:#f8f9fa}.viewer-text{width:100%;height:100%;min-height:400px;padding:1rem;margin:0;font-family:Courier New,monospace;font-size:.95rem;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;overflow-y:auto;color:#333}@media (max-width: 768px){.file-viewer{padding:1rem}.viewer-header{flex-direction:column;gap:1rem}.viewer-actions{width:100%;flex-direction:column;align-items:flex-start}}.writeup-uploader{padding:2rem;height:100%;display:flex;flex-direction:column}.uploader-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem}.uploader-title h3{margin:0 0 .5rem;color:#333;font-size:1.5rem}.uploader-title p{margin:0;color:#666}.uploader-actions{display:flex;gap:.5rem}.success-banner{padding:1rem;background:#d4edda;border:1px solid #c3e6cb;border-radius:6px;color:#155724;margin-bottom:1rem}.uploader-content{flex:1;display:flex;flex-direction:column;gap:1.5rem}.uploader-info{background:#e7f3ff;border-left:4px solid #2196f3;border-radius:4px;padding:1rem}.uploader-info h4{margin:0 0 .5rem;color:#0d47a1}.uploader-info p{margin:.5rem 0;color:#0d47a1}.format-example{background:#fff;padding:1rem;border-radius:4px;border:1px solid #90caf9;font-family:Courier New,monospace;font-size:.9rem;margin:.5rem 0;overflow-x:auto}.metadata-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.field-group{display:flex;flex-direction:column;gap:.5rem}.field-label{font-weight:500;color:#333;font-size:.95rem}.field-select,.field-input{padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:inherit}.field-select:focus,.field-input:focus{outline:none;border-color:#667eea}.content-editor{flex:1;display:flex;flex-direction:column;gap:.5rem}.content-textarea{flex:1;min-height:300px;padding:1rem;border:1px solid #ddd;border-radius:4px;font-family:Courier New,monospace;font-size:.95rem;line-height:1.6;resize:vertical}.content-textarea:focus{outline:none;border-color:#667eea}.uploader-footer{display:flex;justify-content:flex-end;padding-top:1rem;border-top:1px solid #e0e0e0}@media (max-width: 768px){.writeup-uploader{padding:1rem}.uploader-header{flex-direction:column;gap:1rem}.uploader-actions{width:100%;flex-direction:column}.uploader-actions .btn{width:100%}.metadata-fields{grid-template-columns:1fr}.uploader-footer .btn{width:100%}}.session-detail{width:100%}.session-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.session-header-left,.session-title{display:flex;align-items:center;gap:1rem}.session-title h2{margin:0;font-size:1.8rem;color:#333}.session-info-bar{display:flex;gap:2rem;padding:1rem;background:#fff;border-radius:8px;margin-bottom:1.5rem;box-shadow:0 2px 4px #0000001a;flex-wrap:wrap}.info-item{display:flex;gap:.5rem}.info-item .label{font-weight:500;color:#666}.info-item .value{color:#333}.session-error-banner{padding:1rem;background:#f8d7da;border:1px solid #f5c6cb;border-radius:6px;color:#721c24;margin-bottom:1.5rem}.tabs{display:flex;gap:.5rem;background:#fff;padding:.5rem;border-radius:8px 8px 0 0;box-shadow:0 2px 4px #0000001a;overflow-x:auto}.tab{padding:.75rem 1.5rem;border:none;background:transparent;color:#666;font-size:1rem;font-weight:500;cursor:pointer;border-radius:4px;transition:all .2s;white-space:nowrap}.tab:hover{background:#f5f5f5;color:#333}.tab-active,.tab-active:hover{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.tab-content{background:#fff;border-radius:0 0 8px 8px;box-shadow:0 2px 8px #0000001a;min-height:500px}@media (max-width: 768px){.session-header{flex-direction:column;align-items:flex-start;gap:1rem}.session-header-left{flex-direction:column;align-items:flex-start;width:100%}.session-info-bar{flex-direction:column;gap:.75rem}.tabs{overflow-x:scroll}.tab{padding:.6rem 1rem;font-size:.9rem}}.writeups-browser{width:100%}.browser-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.header-left{display:flex;align-items:center;gap:1rem}.browser-header h2{margin:0;font-size:2rem;color:#333}.search-section{background:#fff;border-radius:8px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 2px 8px #0000001a}.search-bar{display:flex;gap:1rem;margin-bottom:1rem}.search-input{flex:1;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem}.search-input:focus{outline:none;border-color:#667eea}.filter-bar{display:flex;align-items:center;gap:1rem}.filter-label{font-weight:500;color:#666}.filter-select{padding:.5rem 1rem;border:1px solid #ddd;border-radius:4px;font-size:.95rem;background:#fff}.filter-select:focus{outline:none;border-color:#667eea}.error-banner{padding:1rem;background:#f8d7da;border:1px solid #f5c6cb;border-radius:6px;color:#721c24;margin-bottom:1rem}.empty-state{background:#fff;border-radius:8px;padding:3rem;text-align:center;box-shadow:0 2px 8px #0000001a}.empty-state p{color:#666;font-size:1.1rem}.writeups-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;margin-bottom:2rem}.writeup-card{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 8px #0000001a;cursor:pointer;transition:all .2s}.writeup-card:hover{transform:translateY(-4px);box-shadow:0 4px 16px #00000026}.writeup-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #e0e0e0}.writeup-card-header h3{margin:0;font-size:1.2rem;color:#333}.category-badge{padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:500;text-transform:uppercase}.category-pwn{background:#dc3545;color:#fff}.category-crypto{background:#ffc107;color:#000}.category-reversing{background:#17a2b8;color:#fff}.category-web{background:#28a745;color:#fff}.category-forensics{background:#6f42c1;color:#fff}.category-misc{background:#6c757d;color:#fff}.writeup-card-body{display:flex;flex-direction:column;gap:.75rem}.writeup-info-row{display:flex;justify-content:space-between;align-items:center}.writeup-info-row .label{font-weight:500;color:#666}.writeup-info-row .value{color:#333}.technologies{display:flex;flex-direction:column;gap:.5rem}.technologies .label{font-weight:500;color:#666}.tech-tags{display:flex;flex-wrap:wrap;gap:.5rem}.tech-tag{padding:.25rem .75rem;background:#e7f3ff;color:#0d47a1;border-radius:12px;font-size:.85rem}.pagination{display:flex;justify-content:center;align-items:center;gap:1rem;padding:2rem 0}.page-info{font-weight:500;color:#666}@media (max-width: 768px){.browser-header{flex-direction:column;align-items:flex-start;gap:1rem}.header-left{flex-direction:column;align-items:flex-start;width:100%}.search-bar{flex-direction:column}.search-input{width:100%}.filter-bar{flex-direction:column;align-items:flex-start}.filter-select{width:100%}.writeups-grid{grid-template-columns:1fr}.pagination{flex-direction:column}.pagination .btn{width:100%}}.writeup-detail{width:100%}.detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.detail-header h2{margin:0;font-size:1.8rem;color:#333}.metadata-section{background:#fff;border-radius:8px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 2px 8px #0000001a}.metadata-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:1.5rem}.metadata-item{display:flex;flex-direction:column;gap:.5rem}.metadata-label{font-weight:500;color:#666;font-size:.9rem}.metadata-value{color:#333;font-size:1rem}.technologies-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e0e0e0}.technologies-section .metadata-label{display:block;margin-bottom:.75rem}.challenges-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e0e0e0}.challenges-section .metadata-label{display:block;margin-bottom:.75rem}.challenge-urls{list-style:none;padding:0;margin:0}.challenge-urls li{margin-bottom:.5rem}.challenge-urls a{color:#667eea;text-decoration:none;word-break:break-all}.challenge-urls a:hover{text-decoration:underline}.content-section{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 2px 8px #0000001a}.content-section h3{margin:0 0 1.5rem;color:#333;font-size:1.5rem}.content-container{border:1px solid #ddd;border-radius:6px;overflow:hidden;background:#f8f9fa}.writeup-content{width:100%;padding:1.5rem;margin:0;font-family:Courier New,monospace;font-size:.95rem;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;color:#333;overflow-x:auto}@media (max-width: 768px){.detail-header{flex-direction:column;align-items:flex-start;gap:1rem}.detail-header .btn{width:100%}.metadata-grid{grid-template-columns:1fr}.content-section{padding:1rem}.writeup-content{padding:1rem;font-size:.85rem}}.user-management{width:100%;max-width:1400px;margin:0 auto}.user-management-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.user-management-header h2{margin:0 0 .5rem;font-size:2rem;color:#333}.subtitle{margin:0;color:#666;font-size:1rem}.alert{padding:1rem 1.5rem;border-radius:8px;margin-bottom:1.5rem;display:flex;align-items:center;gap:.75rem;position:relative;animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.alert-error{background:#fee;border:1px solid #fcc;color:#c33}.alert-success{background:#efe;border:1px solid #cfc;color:#3c3}.alert-icon{font-size:1.25rem}.alert-close{margin-left:auto;background:none;border:none;font-size:1.5rem;cursor:pointer;color:inherit;opacity:.6;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.alert-close:hover{opacity:1}.users-table-container{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.users-table{width:100%;border-collapse:collapse}.users-table thead{background:#f5f5f5}.users-table th{padding:1rem;text-align:left;font-weight:600;color:#333;font-size:.875rem;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e0e0e0}.users-table tbody tr{border-bottom:1px solid #e0e0e0;transition:background .2s}.users-table tbody tr:hover{background:#f9f9f9}.users-table tbody tr.user-disabled{opacity:.6}.users-table td{padding:1rem;color:#333}.user-email{font-weight:500}.date-cell{font-size:.875rem;color:#666}.role-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.role-admin{background:#667eea;color:#fff}.role-user{background:#e0e0e0;color:#666}.status-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:.75rem;font-weight:600}.status-enabled{background:#d4edda;color:#155724}.status-disabled{background:#f8d7da;color:#721c24}.status-active{background:#d4edda;color:#155724}.status-inactive{background:#e0e0e0;color:#666}.actions-cell{display:flex;gap:.5rem;align-items:center}.current-user-label{font-size:.875rem;color:#667eea;font-weight:600}.btn{padding:.75rem 1.5rem;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-secondary{background:#fff;color:#667eea;border:2px solid #667eea}.btn-secondary:hover:not(:disabled){background:#f5f5ff}.btn:disabled{opacity:.6;cursor:not-allowed}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:12px;padding:2rem;width:90%;max-width:500px;max-height:90vh;overflow-y:auto;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.modal-header h3{margin:0;font-size:1.5rem;color:#333}.modal-close{background:none;border:none;font-size:2rem;cursor:pointer;color:#666;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:color .2s}.modal-close:hover{color:#333}.create-user-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.875rem;font-weight:600;color:#333}.form-group input,.form-group select{padding:.75rem;border:2px solid #e0e0e0;border-radius:6px;font-size:1rem;transition:border-color .2s}.form-group input:focus,.form-group select:focus{outline:none;border-color:#667eea}.form-group input:disabled,.form-group select:disabled{background:#f5f5f5;cursor:not-allowed}.form-help{font-size:.875rem;color:#666;margin:0}.modal-actions{display:flex;gap:1rem;margin-top:1rem}.modal-actions .btn{flex:1}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;color:#666}.spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@media (max-width: 1024px){.users-table{font-size:.875rem}.users-table th,.users-table td{padding:.75rem}}@media (max-width: 768px){.user-management-header{flex-direction:column;gap:1rem}.user-management-header .btn{width:100%}.users-table-container{overflow-x:auto}.users-table{min-width:800px}.actions-cell{flex-direction:column;align-items:flex-start}.modal-content{width:95%;padding:1.5rem}}.app{min-height:100vh;display:flex;flex-direction:column;background-color:#f5f5f5}.app-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem 2rem;box-shadow:0 2px 8px #0000001a}.app-header h1{margin:0;font-size:1.8rem;font-weight:600}.app-main{flex:1;padding:2rem;max-width:1400px;width:100%;margin:0 auto}.btn{padding:.75rem 1.5rem;border:none;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;gap:.5rem}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background:#5a6268}.btn-danger{background:#dc3545;color:#fff}.btn-danger:hover:not(:disabled){background:#c82333}.btn-small{padding:.5rem 1rem;font-size:.875rem}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem}.spinner{width:50px;height:50px;border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-container{background:#fff;border-radius:8px;padding:2rem;text-align:center;box-shadow:0 2px 8px #0000001a}.error-message{color:#dc3545;margin:1rem 0}.status-badge{padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:500;text-transform:uppercase}.status-running{background:#28a745;color:#fff}.status-creating{background:#ffc107;color:#000}.status-stopped{background:#6c757d;color:#fff}.status-error{background:#dc3545;color:#fff}@media (max-width: 768px){.app-main{padding:1rem}.app-header h1{font-size:1.5rem}.btn{padding:.6rem 1.2rem;font-size:.9rem}}*{box-sizing:border-box}body{margin:0;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-color:#f5f5f5}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{min-height:100vh}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#555}
