.agent-hub-container{min-height:0;background:transparent;padding:0;font-family:inherit}.agent-hub-header{text-align:center;color:#0f172a;margin-bottom:16px;padding:18px 20px;background:linear-gradient(180deg,#667eea14,#764ba20a);border:1px solid #dbe3fb;border-radius:16px}.agent-hub-header h1{font-size:2.5em;margin:0 0 10px}.agent-hub-header p{font-size:1.1em;margin:0;opacity:.9}.agent-hub-nav{display:flex;gap:10px;margin-bottom:16px;background:#fff;padding:10px;border-radius:16px;flex-wrap:wrap;box-shadow:0 4px 6px #0000001a}.nav-btn{padding:12px 24px;border:none;background:#f0f0f0;border-radius:8px;cursor:pointer;font-size:1em;font-weight:500;transition:all .3s ease;color:#333}.nav-btn:hover{background:#e0e0e0;transform:translateY(-2px)}.nav-btn.active{background:#667eea;color:#fff}.alert{padding:15px 20px;border-radius:8px;margin-bottom:20px;font-weight:500}.alert-error{background:#fee;color:#c33;border-left:4px solid #c33}.alert-success{background:#efe;color:#3c3;border-left:4px solid #3c3}.agent-hub-content{background:#fff;border-radius:16px;padding:20px;box-shadow:0 10px 40px #0000001a}.tab-content{animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.tab-content h2{margin-top:0;margin-bottom:20px;color:#333;font-size:1.8em}.empty-state{text-align:center;padding:40px 20px;color:#999;font-size:1.1em}.task-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px;margin-bottom:30px}.task-item{background:#f8f9fa;padding:20px;border-radius:8px;cursor:pointer;transition:all .3s ease;border-left:4px solid #667eea}.task-item:hover{background:#f0f1fa;transform:translateY(-4px);box-shadow:0 8px 20px #667eea33}.task-item.active{background:#e8ecff;border-left-color:#764ba2}.task-item h3{margin:0 0 10px;color:#333;font-size:1.1em}.task-item p{margin:5px 0;color:#666;font-size:.9em}.task-type{background:#e8ecff;padding:4px 8px;border-radius:4px;display:inline-block;color:#667eea;font-weight:500}.task-status{color:#999}.task-detail-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #e0e0e0}.task-detail-header div{flex:1}.task-detail-header h3{margin:0 0 10px;color:#333;font-size:1.5em}.btn-toggle{background:#f0f0f0;color:#333;padding:10px 20px;border-radius:6px;border:1px solid #ddd;cursor:pointer;font-weight:600;transition:all .3s ease;white-space:nowrap}.btn-toggle:hover{background:#e0e0e0;border-color:#999}.btn-toggle.active{background:#f9d05e;border-color:#f0c000;color:#333}.multi-agent-selector{background:#f8f9fa;padding:20px;border-radius:8px;margin:20px 0;border-left:4px solid #667eea}.multi-agent-selector h4{margin:0 0 15px;color:#333}.agent-checkboxes{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin-bottom:20px}.checkbox-label{display:flex;align-items:center;padding:10px;background:#fff;border:1px solid #ddd;border-radius:6px;cursor:pointer;transition:all .3s ease;-webkit-user-select:none;user-select:none}.checkbox-label:hover{background:#f5f5f5;border-color:#667eea}.checkbox-label input[type=checkbox]{margin-right:10px;cursor:pointer;width:16px;height:16px}.checkbox-label input[type=checkbox]:checked~*{color:#667eea;font-weight:600}.compare-section{background:#fffbf0;padding:20px;border-radius:8px;margin:20px 0;border-left:4px solid #f0c000}.compare-section h4{margin:0 0 15px;color:#333}.compare-selection{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin-bottom:20px}.comparison-result{margin-top:20px}.comparison-result h5{margin:0 0 15px;color:#333}.comparison-table{width:100%;border-collapse:collapse;background:#fff;border-radius:6px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.comparison-table th{background:#667eea;color:#fff;padding:12px;text-align:left;font-weight:600}.comparison-table td{padding:12px;border-bottom:1px solid #eee}.comparison-table tbody tr:hover{background:#f8f9fa}.comparison-table .status-completed{color:#3c3;font-weight:600}.comparison-table .status-error{color:#c33;font-weight:600}.comparison-table .preview-cell{font-family:monospace;font-size:.85em;color:#666;word-break:break-word}.run-agent{font-weight:600;color:#333}.output-length{color:#666;font-size:.9em;margin:0 0 10px}.task-meta{display:flex;gap:20px;margin-bottom:20px;color:#666}.task-prompt{margin-bottom:25px}.task-prompt h4{margin:0 0 10px;color:#333}.prompt-box{background:#fff;padding:15px;border-radius:6px;border:1px solid #ddd;max-height:200px;overflow-y:auto;color:#333;line-height:1.6;margin-bottom:10px;word-wrap:break-word}.agent-selector{margin-bottom:25px}.agent-selector h4{margin:0 0 10px;color:#333}.agent-selector select{display:block;width:100%;padding:10px;border:1px solid #ddd;border-radius:6px;margin-bottom:15px;font-size:1em}.runs-history{margin-top:25px}.runs-history h4{margin:0 0 15px;color:#333}.run-item{background:#fff;border:1px solid #ddd;border-radius:6px;padding:15px;margin-bottom:15px;border-left:4px solid #ddd}.run-item.status-completed{border-left-color:#3c3}.run-item.status-error{border-left-color:#c33}.run-item.status-running{border-left-color:#f90}.run-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-weight:500}.status{padding:4px 8px;border-radius:4px;font-size:.85em;font-weight:500}.status-completed{background:#efe;color:#3c3}.status-error{background:#fee;color:#c33}.status-running{background:#fef3cd;color:#f90}.status-pending{background:#f0f0f0;color:#666}.run-output{margin-top:10px}.run-output h5{margin:0 0 10px;color:#333}.run-output pre{background:#f5f5f5;padding:10px;border-radius:4px;overflow-x:auto;font-size:.85em;max-height:200px;overflow-y:auto;margin:0 0 10px}.run-error{background:#fee;border:1px solid #fcc;padding:10px;border-radius:4px;color:#c33;margin-top:10px}.btn{padding:12px 24px;border:none;border-radius:6px;cursor:pointer;font-size:1em;font-weight:600;transition:all .3s ease;display:inline-block}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover:not(:disabled){background:#764ba2;transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-secondary{background:#f0f0f0;color:#333}.btn-secondary:hover:not(:disabled){background:#e0e0e0}.btn-small{padding:6px 12px;font-size:.85em;background:#e8ecff;color:#667eea;border:1px solid #667eea;cursor:pointer}.btn-small:hover{background:#667eea;color:#fff}.btn:disabled{opacity:.6;cursor:not-allowed}.button-group{display:flex;gap:10px;margin-top:20px}.create-task-form{max-width:800px}.agents-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.agent-card{background:#f8f9fa;padding:20px;border-radius:8px;border:1px solid #e0e0e0;transition:all .3s ease}.agent-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #0000001a;border-color:#667eea}.agent-card h3{margin:0 0 8px;color:#333}.agent-code{color:#667eea;font-family:monospace;font-size:.85em;margin:0 0 10px}.agent-desc{color:#666;margin:0 0 15px;line-height:1.5}.agent-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:15px}.tag{background:#e8ecff;color:#667eea;padding:4px 8px;border-radius:4px;font-size:.8em;font-weight:500}.agent-model,.agent-provider{margin:10px 0;font-size:.9em;color:#666}.templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.template-card{background:#f8f9fa;padding:20px;border-radius:8px;border:1px solid #e0e0e0;transition:all .3s ease;display:flex;flex-direction:column}.template-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px #0000001a;border-color:#667eea}.template-card h3{margin:0 0 10px;color:#333}.template-card p{color:#666;margin:0 0 10px;line-height:1.5;flex:1}.template-type{background:#e8ecff;color:#667eea;padding:4px 8px;border-radius:4px;font-size:.85em;font-weight:500;display:inline-block;margin-bottom:15px}.providers-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.provider-item{background:#f8f9fa;padding:20px;border-radius:8px;border:2px solid #ddd;transition:all .3s ease}.provider-item.configured{border-color:#3c3}.provider-item.not-configured{border-color:#fcc}.provider-item h3{margin:0 0 8px;color:#333}.provider-code{color:#667eea;font-family:monospace;font-size:.85em;margin:0 0 15px}.status-badge{display:inline-block;padding:6px 12px;border-radius:20px;font-size:.85em;font-weight:600;margin-bottom:10px}.status-badge.active{background:#efe;color:#3c3}.status-badge.inactive{background:#fee;color:#c33}.error-msg{background:#fee;border:1px solid #fcc;padding:10px;border-radius:4px;color:#c33;font-size:.85em;margin:10px 0 0}@media (max-width: 768px){.agent-hub-header h1{font-size:1.8em}.agent-hub-nav{flex-direction:column}.nav-btn{width:100%;text-align:center}.task-list,.agents-grid,.templates-grid,.providers-list{grid-template-columns:1fr}.task-meta{flex-direction:column;gap:10px}.agent-hub-content{padding:20px}}.prompt-builder-container{min-height:0;background:transparent;padding:0;font-family:inherit}.prompt-builder-header{text-align:center;color:#0f172a;margin-bottom:16px;padding:18px 20px;background:linear-gradient(180deg,#667eea14,#764ba20a);border:1px solid #dbe3fb;border-radius:16px}.prompt-builder-header h1{font-size:2.5em;margin:0 0 10px}.prompt-builder-header p{font-size:1.1em;margin:0;opacity:.9}.prompt-builder-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:100%;margin:0}.builder-form-section,.builder-output-section{background:#fff;border-radius:16px;padding:20px;box-shadow:0 10px 40px #0000001a}.builder-form-section h2,.builder-output-section h2{margin-top:0;margin-bottom:20px;color:#333;font-size:1.8em}.form-group{margin-bottom:20px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-group label{display:block;margin-bottom:8px;color:#333;font-weight:600}.form-group input,.form-group select,.form-group textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:6px;font-size:1em;font-family:inherit}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group textarea{resize:vertical}.btn-large{width:100%;padding:15px;font-size:1.1em;margin-top:20px}.prompt-card{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px;margin-bottom:20px;overflow:hidden}.prompt-header{display:flex;justify-content:space-between;align-items:center;padding:15px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.prompt-header h3{margin:0;font-size:1.1em}.btn-copy{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.4);padding:6px 12px;border-radius:4px;cursor:pointer;font-weight:600;transition:all .3s ease}.btn-copy:hover{background:#ffffff4d;border-color:#fff9}.btn-copy.copied{background:#3c3;border-color:#2a2}.prompt-content{padding:15px;margin:0;background:#fff;overflow-x:auto;font-size:.85em;line-height:1.5;color:#333;border-top:1px solid #e0e0e0;max-height:300px;overflow-y:auto}@media (max-width: 1200px){.prompt-builder-layout{grid-template-columns:1fr;gap:20px}.form-row{grid-template-columns:1fr}}@media (max-width: 768px){.prompt-builder-container{padding:0}.builder-form-section,.builder-output-section{padding:16px}.prompt-builder-header h1{font-size:1.8em}.prompt-content{font-size:.75em;max-height:200px}}.workspace-container{display:grid;grid-template-columns:300px 1fr 320px;gap:16px;padding:0;min-height:0;background:transparent}.workspace-left,.workspace-right,.workspace-center{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px;box-shadow:0 6px 18px #0f172a0f}.workspace-center{display:flex;flex-direction:column;min-width:0}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.panel-header h3,.panel-header h4{margin:0;color:#0f172a}.panel-header p{margin:4px 0 0;color:#64748b;font-size:13px}.workspace-list{display:flex;flex-direction:column;gap:8px;max-height:560px;overflow:auto}.workspace-list.compact{max-height:220px}.workspace-item{border:1px solid #e2e8f0;background:#f8fafc;color:#1f2937;border-radius:10px;padding:10px 12px;text-align:left;cursor:pointer}.workspace-item strong{display:block;margin-bottom:4px;font-size:14px}.workspace-item span{color:#64748b;font-size:12px}.workspace-item.active{border-color:#3b82f6;background:#eff6ff}.workspace-actions{display:flex;gap:8px}.agent-selector-bar{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f0f5ff;border:1px solid #c7d7fb;border-radius:10px;margin-bottom:12px;flex-wrap:wrap}.agent-selector-label{font-size:13px;font-weight:700;color:#1e3a8a;white-space:nowrap}.agent-selector-select{flex:1;min-width:180px;padding:7px 10px;border:1px solid #93c5fd;border-radius:8px;background:#fff;color:#0f172a;font-size:13px;font-weight:600;cursor:pointer}.agent-selector-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.workspace-editor{width:100%;min-height:190px;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;resize:vertical;color:#111827;background:#fff}.workspace-preview{margin-top:12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;padding:12px}.workspace-preview h4{margin:0 0 8px}.workspace-preview pre{margin:0;white-space:pre-wrap;color:#334155}.panel-block{margin-bottom:12px}.workspace-runs{display:flex;flex-direction:column;gap:8px}.run-card{display:flex;align-items:center;justify-content:space-between;border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px;background:#f8fafc}.run-card-title{font-size:13px;font-weight:700;color:#0f172a}.run-badge{font-size:12px;font-weight:700;text-transform:capitalize}.status-completed{color:#15803d}.status-failed{color:#b91c1c}.status-running{color:#b45309}.muted{color:#64748b;font-size:13px}.alert{border-radius:8px;padding:10px 12px;margin:10px 0}.alert-error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.btn{border:none;border-radius:8px;padding:8px 12px;font-weight:700;cursor:pointer}.btn-primary{background:#4f46e5;color:#fff}.btn-secondary{background:#e2e8f0;color:#0f172a}@media (max-width: 1280px){.workspace-container{grid-template-columns:260px 1fr}.workspace-right{grid-column:1 / span 2}}@media (max-width: 900px){.workspace-container{grid-template-columns:1fr}.workspace-right{grid-column:auto}}.memory-page{min-height:0;padding:0;background:transparent}.memory-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.memory-header h1{margin:0}.memory-alert{background:#fff4e5;border:1px solid #ffd59a;color:#8a5b00;padding:12px 14px;border-radius:10px;margin-bottom:16px}.memory-toolbar{display:grid;grid-template-columns:1fr 220px auto;gap:12px;margin-bottom:16px}.memory-toolbar input,.memory-toolbar select,.memory-form-panel input,.memory-form-panel select,.memory-form-panel textarea{width:100%;border:1px solid #d8def3;border-radius:10px;padding:10px 12px;font:inherit;background:#fff}.memory-layout{display:grid;grid-template-columns:300px 1fr 360px;gap:16px}.memory-sidebar,.memory-detail,.memory-form-panel{background:#fff;border-radius:16px;padding:16px;box-shadow:0 10px 30px #232f5214;min-height:500px}.memory-sidebar,.memory-form-panel{display:flex;flex-direction:column;gap:10px}.memory-item{display:flex;flex-direction:column;gap:4px;text-align:left;padding:12px;border-radius:12px;border:1px solid #edf1fb;background:#fbfcff;cursor:pointer}.memory-item.active{border-color:#667eea;background:#eef2ff}.memory-meta{display:flex;flex-wrap:wrap;gap:10px;color:#667085;font-size:.9rem;margin-bottom:12px}.memory-content{white-space:pre-wrap;background:#fbfcff;border:1px solid #edf1fb;border-radius:12px;padding:14px;min-height:240px}.memory-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.tag{background:#eef2ff;color:#4452c7;border-radius:999px;padding:6px 10px;font-size:.85rem}.memory-files ul{margin:8px 0 0;padding-left:18px}.memory-form-panel button{margin-top:4px}.empty-state,.muted{color:#7b8191}@media (max-width: 1200px){.memory-layout,.memory-toolbar{grid-template-columns:1fr}}.file-context-page{min-height:0;padding:0;background:transparent}.file-context-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.file-context-header h1{margin:0}.header-actions{display:flex;gap:10px}.file-context-alert{background:#fff4e5;border:1px solid #f2c98f;color:#8a5b00;padding:12px 14px;border-radius:12px;margin-bottom:16px}.file-context-layout{display:grid;grid-template-columns:320px 1fr 1fr;gap:16px}.file-context-panel{background:#fff;border-radius:16px;padding:16px;box-shadow:0 10px 30px #171e3614;min-height:520px}.file-drop-zone{border:1px dashed #9fb4ff;background:#f8fbff;color:#55607a;border-radius:14px;padding:18px;cursor:pointer;margin-bottom:16px}.file-card-list{display:flex;flex-direction:column;gap:12px}.file-card{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid #edf1fb;border-radius:12px;background:#fbfcff}.file-card p{margin:4px 0 0;color:#667085;font-size:.9rem}.file-context-panel textarea,.file-context-panel input{width:100%;border:1px solid #dce3fb;border-radius:12px;padding:12px;font:inherit;background:#fff}.file-context-panel textarea{resize:vertical;min-height:180px}.upload-btn{width:100%;margin-top:12px}.context-meta{display:flex;justify-content:space-between;color:#667085;font-size:.9rem;margin:14px 0;gap:8px;flex-wrap:wrap}.stream-box,.result-box{border:1px solid #edf1fb;border-radius:12px;background:#fbfcff;padding:12px;min-height:180px}.stream-box pre,.result-box pre{white-space:pre-wrap;word-break:break-word;margin:0;color:#263143}.mini-btn{background:#f3f6ff;color:#4152c7;align-self:flex-start}.empty-state{color:#8b91a3}@media (max-width: 1200px){.file-context-layout{grid-template-columns:1fr}}.workflow-page{min-height:0;padding:0;background:transparent}.workflow-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.workflow-header h1{margin:0}.workflow-actions{display:flex;gap:10px}.workflow-alert{background:#fff4e5;border:1px solid #f2c98f;color:#8a5b00;padding:12px 14px;border-radius:12px;margin-bottom:16px}.workflow-layout{display:grid;grid-template-columns:280px 1fr 360px;gap:16px}.workflow-sidebar,.workflow-main,.workflow-detail{display:flex;flex-direction:column;gap:16px}.workflow-sidebar,.workflow-card{background:#fff;border-radius:16px;padding:16px;box-shadow:0 10px 30px #171e3614}.workflow-card textarea,.workflow-card input,.workflow-card select{width:100%;border:1px solid #dce3fb;border-radius:12px;padding:12px;margin-top:10px;font:inherit;background:#fff}.workflow-list,.step-stack,.history-list{display:flex;flex-direction:column;gap:12px}.workflow-item,.step-card,.history-item{border:1px solid #edf1fb;background:#fbfcff;border-radius:12px;padding:12px}.workflow-item{display:flex;flex-direction:column;gap:4px;text-align:left}.workflow-item.active{border-color:#667eea;background:#eef2ff}.workflow-section-head,.step-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.form-grid{display:grid;grid-template-columns:1fr 260px;gap:12px}.workflow-meta{display:flex;justify-content:space-between;gap:10px;color:#667085;font-size:.9rem}.workflow-output{min-height:220px;white-space:pre-wrap;word-break:break-word;background:#fbfcff;border:1px solid #edf1fb;border-radius:12px;padding:12px}.history-item pre{white-space:pre-wrap;margin:8px 0 0}.error-text{color:#b42318}.btn-primary,.btn-secondary,.mini-btn{border:none;border-radius:10px;padding:10px 14px;cursor:pointer;font-weight:600}.mini-btn{background:#f3f6ff;color:#4152c7}@media (max-width: 1200px){.workflow-layout,.form-grid{grid-template-columns:1fr}}.codex-mode-page{min-height:0;padding:0;background:transparent}.codex-mode-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.codex-mode-header h1{margin:0;font-size:2rem}.codex-mode-badges{display:flex;gap:8px;flex-wrap:wrap}.codex-mode-badges span{background:#ffffffd9;border:1px solid #dce3fb;color:#3242a8;padding:8px 12px;border-radius:999px;font-weight:600}.codex-mode-layout{display:grid;grid-template-columns:1fr 1.05fr;gap:16px}.codex-panel{background:#fff;border-radius:18px;padding:18px;box-shadow:0 14px 40px #171e3614}.codex-panel label{display:block;margin-top:14px;margin-bottom:8px;font-weight:700;color:#1f2a44}.codex-panel textarea,.codex-panel input{width:100%;border:1px solid #dce3fb;border-radius:12px;padding:12px;font:inherit;background:#fff}.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tool-card,.mode-chip{border:1px solid #e5eaf8;background:#fbfcff;border-radius:14px;padding:12px;text-align:left;cursor:pointer}.tool-card strong,.mode-chip{display:block}.tool-card span{display:block;color:#6b7280;margin-top:6px;font-size:.92rem}.tool-card.active,.mode-chip.active{border-color:#667eea;background:#eef2ff;color:#3242a8}.mode-chip-row{display:flex;gap:8px;flex-wrap:wrap}.codex-preview-panel{display:flex;flex-direction:column;gap:14px}.panel-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.panel-head h3,.preview-block h4{margin:0}.panel-head p{margin:6px 0 0;color:#667085}.preview-actions{display:flex;gap:8px;flex-wrap:wrap}.btn-soft{border:none;background:#eef2ff;color:#3242a8;padding:10px 14px;border-radius:10px;cursor:pointer;font-weight:600}.preview-block{border:1px solid #edf1fb;border-radius:14px;background:#fbfcff;padding:14px}.preview-block pre{white-space:pre-wrap;word-break:break-word;margin:12px 0 0}.preview-block ol{margin:12px 0 0;padding-left:18px}@media (max-width: 1100px){.codex-mode-layout,.tool-grid{grid-template-columns:1fr}.codex-mode-header,.panel-head{flex-direction:column}}.evaluator-page{min-height:0;padding:0;background:transparent}.evaluator-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.evaluator-header h1{margin:0}.evaluator-pill-row{display:flex;gap:8px;flex-wrap:wrap}.evaluator-pill-row span{background:#fff;border:1px solid #dce3fb;color:#3242a8;border-radius:999px;padding:8px 12px;font-weight:600}.evaluator-alert{background:#fff4e5;border:1px solid #f2c98f;color:#8a5b00;padding:12px 14px;border-radius:12px;margin-bottom:16px}.evaluator-layout{display:grid;grid-template-columns:280px 1fr 360px;gap:16px}.evaluator-panel{background:#fff;border-radius:18px;padding:16px;box-shadow:0 14px 40px #171e3614;display:flex;flex-direction:column;gap:12px}.evaluator-panel label{font-weight:700;color:#1f2a44}.evaluator-panel input,.evaluator-panel select,.evaluator-panel textarea{width:100%;border:1px solid #dce3fb;border-radius:12px;padding:12px;font:inherit;background:#fff}.run-list,.result-list,.preview-block{display:flex;flex-direction:column;gap:10px}.run-choice{display:flex;justify-content:space-between;align-items:center;text-align:left;border:1px solid #edf1fb;background:#fbfcff;border-radius:12px;padding:10px 12px;cursor:pointer}.run-choice.active{border-color:#667eea;background:#eef2ff}.mini-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;color:#667085;font-size:.9rem}.criteria-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.criteria-item{display:flex;gap:10px;align-items:center;padding:10px 12px;border:1px solid #edf1fb;border-radius:12px;background:#fbfcff}.panel-actions{display:flex;gap:10px;flex-wrap:wrap}.btn-primary,.btn-secondary{border:none;border-radius:10px;padding:10px 14px;cursor:pointer;font-weight:600}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-secondary{background:#eef2ff;color:#3242a8}.result-card,.preview-block,.empty-state{border:1px solid #edf1fb;border-radius:14px;background:#fbfcff;padding:14px}.result-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.result-head p{margin:6px 0 0;color:#667085}.grade-badge{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:72px;padding:10px 12px;border-radius:12px;background:linear-gradient(135deg,#667eea1f,#764ba21f);color:#243067}.metric-row{display:flex;gap:10px;flex-wrap:wrap;color:#667085;font-size:.9rem;margin-top:10px}.result-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.result-columns ul{margin:8px 0 0;padding-left:18px}.preview-block pre{white-space:pre-wrap;word-break:break-word;margin:10px 0 0}.preview-block.subtle{background:linear-gradient(180deg,#fbfcff,#f7faff)}.empty-state{color:#667085}@media (max-width: 1200px){.evaluator-layout,.criteria-grid,.result-columns{grid-template-columns:1fr}.evaluator-header{flex-direction:column;align-items:flex-start}}.lp{font-family:Inter,Times New Roman,Arial,sans-serif;color:#0f172a;background:#f8fafc;min-height:100vh}.lp-nav{position:sticky;top:0;z-index:50;background:#f8fafce0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid rgba(226,232,240,.7)}.lp-nav-inner{max-width:1180px;margin:auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.lp-brand{display:flex;align-items:center;gap:10px}.lp-logo{width:38px;height:auto}.lp-brand-name{font-size:20px;font-weight:800;color:#0f172a}.lp-brand-vn{color:#4f46e5}.lp-nav-links{display:flex;gap:28px}.lp-nav-links a{font-size:14px;font-weight:600;color:#475569;text-decoration:none}.lp-nav-links a:hover{color:#4f46e5}.lp-nav-cta{display:flex;gap:10px}.lp-btn-ghost{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:9px 16px;font-weight:700;font-size:14px;cursor:pointer;color:#0f172a}.lp-btn-primary{background:linear-gradient(135deg,#4f46e5,#2563eb);color:#fff;border:none;border-radius:10px;padding:9px 18px;font-weight:700;font-size:14px;cursor:pointer}.lp-btn-primary:hover{opacity:.92;transform:translateY(-1px)}.lp-btn-outline{background:#fff;color:#4f46e5;border:1.5px solid #c7d2fe;border-radius:10px;padding:9px 18px;font-weight:700;font-size:14px;cursor:pointer}.lp-btn-outline:hover{background:#eef2ff}.lp-btn-white{background:#fff;color:#4f46e5;border:2px solid #fff;border-radius:10px;padding:9px 18px;font-weight:700;font-size:14px;cursor:pointer}.lp-btn-lg{padding:14px 28px;font-size:15px;border-radius:12px}.lp-hero{background:radial-gradient(ellipse at top right,#eef2ff,#f8fafc 50%);padding:70px 24px 60px;text-align:center}.lp-hero-inner{max-width:900px;margin:auto}.lp-hero-badge{display:inline-block;background:#eef2ff;color:#4f46e5;border:1px solid #c7d2fe;border-radius:999px;padding:6px 16px;font-size:13px;font-weight:700;margin-bottom:24px}.lp-hero-title{font-size:clamp(28px,5vw,52px);font-weight:900;line-height:1.15;letter-spacing:-.02em;margin-bottom:20px;background:linear-gradient(135deg,#0f172a,#4f46e5);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.lp-hero-sub{font-size:18px;color:#475569;line-height:1.7;max-width:680px;margin:0 auto 32px}.lp-hero-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-bottom:48px}.lp-hero-cards{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}.lp-preview-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:18px 20px;width:220px;box-shadow:0 8px 24px #4f46e514;text-align:left}.lp-preview-label{font-size:13px;font-weight:700;color:#334155;margin-bottom:12px}.lp-preview-bar{height:8px;background:#e2e8f0;border-radius:4px;margin-bottom:8px}.lp-preview-bar.short{width:60%}.lp-preview-chips{display:flex;gap:6px;margin-top:12px;flex-wrap:wrap}.lp-chip{font-size:11px;font-weight:700;padding:3px 8px;border-radius:999px}.lp-chip.green{background:#dcfce7;color:#166534}.lp-chip.blue{background:#dbeafe;color:#1e40af}.lp-chip.purple{background:#ede9fe;color:#6d28d9}.lp-preview-compare{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.lp-compare-col .lp-preview-bar{width:100%}.lp-section{padding:72px 24px}.lp-section-alt{background:linear-gradient(180deg,#f1f5f9,#f8fafc)}.lp-section-inner{max-width:1100px;margin:auto}.lp-section-label{display:inline-block;background:#eef2ff;color:#4f46e5;border-radius:999px;padding:5px 14px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;margin-bottom:14px}.lp-section-title{font-size:clamp(22px,3.5vw,36px);font-weight:800;letter-spacing:-.02em;margin-bottom:42px;color:#0f172a}.lp-features-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}.lp-feature-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:22px;box-shadow:0 4px 14px #0f172a0a;transition:.2s}.lp-feature-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px #4f46e51a;border-color:#c7d2fe}.lp-feature-icon{font-size:28px;margin-bottom:12px}.lp-feature-title{font-size:15px;font-weight:700;margin-bottom:8px;color:#0f172a}.lp-feature-desc{font-size:13px;color:#64748b;line-height:1.6}.lp-steps{display:flex;flex-direction:column;gap:0}.lp-step{display:flex;gap:20px;align-items:flex-start;padding:22px 0;border-bottom:1px solid #e2e8f0}.lp-step:last-child{border-bottom:none}.lp-step-num{min-width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#4f46e5,#2563eb);color:#fff;font-size:18px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}.lp-step-title{font-size:16px;font-weight:700;color:#0f172a;margin-bottom:6px}.lp-step-desc{font-size:14px;color:#64748b;line-height:1.6}.lp-usecase-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.lp-usecase-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px;display:flex;gap:14px;align-items:flex-start;transition:.2s}.lp-usecase-card:hover{border-color:#c7d2fe;background:#fafbff}.lp-usecase-icon{font-size:26px;flex-shrink:0}.lp-usecase-title{font-size:14px;font-weight:700;margin-bottom:5px;color:#0f172a}.lp-usecase-desc{font-size:13px;color:#64748b;line-height:1.55}.lp-plans{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;align-items:stretch}.lp-plan-card{background:#fff;border:1.5px solid #e2e8f0;border-radius:20px;padding:28px 24px;width:280px;display:flex;flex-direction:column;box-shadow:0 4px 16px #0f172a0d;position:relative}.lp-plan-card.lp-plan-highlight{border-color:#4f46e5;box-shadow:0 8px 30px #4f46e526;background:linear-gradient(180deg,#fafbff,#fff)}.lp-plan-badge{position:absolute;top:-12px;left:50%;transform:translate(-50%);background:#4f46e5;color:#fff;padding:4px 14px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.lp-plan-name{font-size:18px;font-weight:800;margin-bottom:8px}.lp-plan-price{font-size:30px;font-weight:900;color:#0f172a}.lp-plan-period{font-size:14px;font-weight:500;color:#64748b}.lp-plan-features{list-style:none;margin:18px 0;flex:1;display:flex;flex-direction:column;gap:8px}.lp-plan-features li{font-size:14px;color:#334155}.lp-plan-cta{width:100%;padding:12px;font-size:14px;font-weight:700;border-radius:10px;cursor:pointer}.lp-cta-section{background:linear-gradient(135deg,#4f46e5,#2563eb);padding:80px 24px;text-align:center}.lp-cta-inner{max-width:680px;margin:auto}.lp-cta-title{font-size:clamp(22px,4vw,36px);font-weight:800;color:#fff;margin-bottom:14px}.lp-cta-sub{font-size:16px;color:#fffc;margin-bottom:32px}.lp-cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}.lp-footer{background:#0f172a;padding:32px 24px}.lp-footer-inner{max-width:1100px;margin:auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}.lp-footer-brand{display:flex;align-items:center;gap:8px;color:#fff;font-weight:700;font-size:16px}.lp-footer-logo{width:28px}.lp-footer-copy{font-size:13px;color:#64748b}.lp-footer-links{display:flex;gap:20px}.lp-footer-links a{font-size:13px;color:#64748b;text-decoration:none}.lp-footer-links a:hover{color:#94a3b8}@media (max-width: 768px){.lp-nav-links{display:none}.lp-hero-cards{flex-direction:column;align-items:center}.lp-preview-card{width:100%;max-width:340px}.lp-plan-card{width:100%}.lp-plans{flex-direction:column;align-items:center}.lp-footer-inner{flex-direction:column;text-align:center}}.adm-shell{display:flex;height:100vh;background:#f1f5f9;font-family:inherit;color:#0f172a}.adm-side{width:230px;min-width:230px;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;overflow-y:auto;padding-bottom:20px}.adm-logo{display:flex;align-items:center;gap:10px;padding:18px 16px 14px;border-bottom:1px solid #e2e8f0}.adm-logo img{width:32px;height:32px;object-fit:contain}.adm-logo span{font-weight:800;font-size:16px;color:#4f46e5}.adm-group{padding:16px 10px 4px}.adm-group-label{font-size:10px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.8px;padding:0 6px;margin-bottom:4px}.adm-menu-btn{display:block;width:100%;text-align:left;padding:8px 10px;border-radius:8px;font-size:13px;font-weight:600;color:#475569;background:transparent;border:none;cursor:pointer;transition:.15s}.adm-menu-btn:hover{background:#f1f5f9;color:#0f172a}.adm-menu-btn.active{background:#eef2ff;color:#4f46e5}.adm-back{margin-top:auto;padding:16px 10px 4px}.adm-back button{background:none;border:1px solid #e2e8f0;border-radius:8px;padding:8px 12px;font-size:12px;font-weight:600;color:#64748b;cursor:pointer;width:100%}.adm-back button:hover{background:#f8fafc}.adm-main{flex:1;min-width:0;overflow-y:auto}.adm-content{padding:28px 32px}.adm-title{font-size:22px;font-weight:800;margin:0 0 20px;color:#0f172a}.adm-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.adm-header-row .adm-title{margin:0}.adm-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;margin-bottom:24px}.adm-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px;text-align:center;box-shadow:0 2px 8px #0f172a0a}.adm-card-icon{font-size:24px;margin-bottom:8px}.adm-card-value{font-size:22px;font-weight:800;color:#4f46e5}.adm-card-label{font-size:12px;color:#64748b;margin-top:4px}.adm-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.adm-panel{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px}.adm-panel h3{margin:0 0 12px;font-size:14px;font-weight:700}.adm-row-item{display:flex;justify-content:space-between;align-items:center;padding:7px 0;border-bottom:1px solid #f1f5f9}.adm-item-title{font-size:13px;color:#334155}.adm-muted{color:#94a3b8;font-size:13px}.adm-loading{padding:40px;text-align:center;color:#64748b}.adm-empty{padding:40px;text-align:center;color:#94a3b8;font-style:italic}.adm-badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700}.badge-completed,.badge-pro,.badge-business{background:#dcfce7;color:#166534}.badge-failed{background:#fee2e2;color:#991b1b}.badge-draft,.badge-pending{background:#fef9c3;color:#854d0e}.badge-free{background:#f1f5f9;color:#475569}.badge-running{background:#dbeafe;color:#1e40af}.adm-toolbar{display:flex;gap:10px;margin-bottom:16px}.adm-input{border:1px solid #cbd5e1;border-radius:8px;padding:8px 12px;font:inherit;font-size:14px;background:#fff;color:#0f172a;width:100%}.adm-input:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51f}.adm-input[readonly]{background:#f8fafc;color:#94a3b8}.adm-select-sm{border:1px solid #cbd5e1;border-radius:6px;padding:4px 8px;font-size:12px;background:#fff;cursor:pointer}.adm-btn-primary{background:#4f46e5;color:#fff;border:none;border-radius:8px;padding:9px 16px;font-weight:700;font-size:13px;cursor:pointer;white-space:nowrap;flex-shrink:0}.adm-btn-primary:hover{background:#4338ca}.adm-btn-ghost{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:8px;padding:9px 16px;font-weight:700;font-size:13px;cursor:pointer}.adm-btn-sm{background:#f1f5f9;color:#334155;border:1px solid #e2e8f0;border-radius:6px;padding:4px 10px;font-size:12px;font-weight:600;cursor:pointer}.adm-btn-sm:hover{background:#e2e8f0}.adm-btn-sm.danger{color:#b91c1c}.adm-btn-sm.danger:hover{background:#fee2e2;border-color:#fca5a5}.adm-btn-sm:disabled{opacity:.45;cursor:not-allowed}.adm-actions{display:flex;gap:6px;flex-wrap:wrap}.adm-table{width:100%;border-collapse:collapse;font-size:13px;background:#fff;border-radius:14px;overflow:hidden;border:1px solid #e2e8f0}.adm-table th{background:#f8fafc;padding:11px 14px;text-align:left;font-size:11px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.4px;border-bottom:1px solid #e2e8f0}.adm-table td{padding:11px 14px;border-bottom:1px solid #f1f5f9;vertical-align:middle}.adm-table tr:last-child td{border-bottom:none}.adm-table tr:hover td{background:#f8fafc}.adm-table code{font-size:11px;background:#f1f5f9;padding:2px 5px;border-radius:4px}.adm-toast{background:#0f172a;color:#fff;padding:10px 16px;border-radius:10px;font-size:13px;font-weight:600;margin-bottom:14px;display:inline-block}.adm-form-card{background:#fff;border:1px solid #c7d2fe;border-radius:14px;padding:20px;margin-bottom:20px;box-shadow:0 4px 14px #4f46e514}.adm-form-card h3{margin:0 0 16px;font-size:16px;font-weight:700}.adm-form-row{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}.adm-checkbox-row{align-items:center}.adm-label{min-width:130px;font-size:12px;font-weight:700;color:#475569;padding-top:9px}.adm-form-actions{display:flex;gap:10px;margin-top:16px}.adm-config-layout{display:grid;grid-template-columns:180px 1fr;gap:20px}.adm-config-nav{display:flex;flex-direction:column;gap:4px}.adm-config-nav-btn{text-align:left;padding:8px 12px;border-radius:8px;font-size:13px;font-weight:600;color:#475569;background:transparent;border:none;cursor:pointer}.adm-config-nav-btn:hover{background:#f1f5f9}.adm-config-nav-btn.active{background:#eef2ff;color:#4f46e5}.adm-config-body{display:flex;flex-direction:column;gap:0}.adm-setting-row{display:grid;grid-template-columns:240px 1fr;gap:16px;align-items:center;padding:12px 16px;background:#fff;border-bottom:1px solid #f1f5f9}.adm-setting-row:first-child{border-radius:12px 12px 0 0;border-top:1px solid #e2e8f0}.adm-setting-row:last-child{border-radius:0 0 12px 12px}.adm-setting-row:only-child{border-radius:12px;border:1px solid #e2e8f0}.adm-setting-label{font-size:13px;font-weight:700;color:#0f172a}.adm-setting-key code{font-size:11px;color:#64748b}.adm-setting-desc{font-size:11px;color:#94a3b8;margin-top:2px}.adm-setting-control{display:flex;gap:8px;align-items:center}.adm-setting-control .adm-input{flex:1}.adm-plan-group{margin-bottom:24px}.adm-plan-group-title{font-size:15px;font-weight:700;color:#334155;margin:0 0 12px;padding-bottom:8px;border-bottom:2px solid #e2e8f0}.adm-plan-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.adm-plan-field{display:flex;flex-direction:column;gap:4px}.adm-plan-field .adm-label{padding-top:0;min-width:0}@media (max-width: 900px){.adm-side{display:none}.adm-config-layout,.adm-row,.adm-setting-row{grid-template-columns:1fr}.adm-cards{grid-template-columns:repeat(2,1fr)}}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
  Theme: StackOverflow Light
  Description: Light theme as used on stackoverflow.com
  Author: stackoverflow.com
  Maintainer: @Hirse
  Website: https://github.com/StackExchange/Stacks
  License: MIT
  Updated: 2021-05-15

  Updated for @stackoverflow/stacks v0.64.0
  Code Blocks: /blob/v0.64.0/lib/css/components/_stacks-code-blocks.less
  Colors: /blob/v0.64.0/lib/css/exports/_stacks-constants-colors.less
*/.hljs{color:#2f3337;background:#f6f6f6}.hljs-subst{color:#2f3337}.hljs-comment{color:#656e77}.hljs-keyword,.hljs-selector-tag,.hljs-meta .hljs-keyword,.hljs-doctag,.hljs-section,.hljs-attr{color:#015692}.hljs-attribute{color:#803378}.hljs-name,.hljs-type,.hljs-number,.hljs-selector-id,.hljs-quote,.hljs-template-tag{color:#b75501}.hljs-selector-class{color:#015692}.hljs-string,.hljs-regexp,.hljs-symbol,.hljs-variable,.hljs-template-variable,.hljs-link,.hljs-selector-attr{color:#54790d}.hljs-meta,.hljs-selector-pseudo{color:#015692}.hljs-built_in,.hljs-title,.hljs-literal{color:#b75501}.hljs-bullet,.hljs-code{color:#535a60}.hljs-meta .hljs-string{color:#54790d}.hljs-deletion{color:#c02d2e}.hljs-addition{color:#2f6f44}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}body{font-family:Inter,Arial,sans-serif;background:#fff;color:#111}.authWrap{min-height:100vh;display:flex;justify-content:center;align-items:center;padding:24px}.authBox{width:100%;max-width:420px;border:1px solid #ececec;border-radius:24px;padding:34px;background:#fff}.authBox h1{font-size:42px;margin-bottom:10px}.authBox p{color:#777;margin-bottom:24px}.authBox input{width:100%;height:50px;border:1px solid #e6e6e6;border-radius:14px;padding:0 16px;margin-bottom:12px}.authBox button{width:100%;height:50px;border:none;border-radius:14px;background:#f2f2f2}.authBox span{display:block;text-align:center;margin-top:14px;color:#666}.errorBox{background:#fff4f4;color:#d11;padding:12px;border-radius:12px;margin-bottom:12px}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%}body{font-family:Times New Roman,Inter,Arial,sans-serif;background:#f8fafc;color:#0f172a}.app{display:flex;height:100dvh;overflow:hidden}.main{flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:auto;background:radial-gradient(circle at top right,#eef4ff 0,#f8fafc 40%,#f8fafc);padding:12px 16px 12px 14px}.shellModuleWrap{flex:1;min-height:0;overflow-y:auto;padding-bottom:32px}.sidebar{width:290px;min-width:290px;height:100%;display:flex;flex-direction:column;background:#ffffffe0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-right:1px solid rgba(226,232,240,.9)}.sidebar-top{padding:2px}.brandWrap{display:flex;align-items:center;gap:12px;margin-bottom:18px}.brandLogo{width:42px;height:42px;object-fit:contain}.brandName{font-size:18px;font-weight:800;color:#0f172a}.brandSub{font-size:12px;color:#64748b;margin-top:2px}.sidebar-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:0 14px}.history{flex:1;overflow:auto;padding-right:4px}.history::-webkit-scrollbar{width:6px}.history::-webkit-scrollbar-thumb{background:#dbe3ef;border-radius:10px}button{border:none;cursor:pointer;transition:.18s ease}button:hover{transform:translateY(-1px)}.newBtn{width:100%;padding:15px;border-radius:18px;font-weight:700}.newBtn.premium{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;box-shadow:0 10px 24px #2563eb2e}.newBtn.premium:hover{opacity:.95}.sideTabs{display:flex;gap:10px;margin-top:14px}.premiumTabs button{flex:1;padding:11px;border-radius:14px;background:#f1f5f9;color:#334155;font-weight:700}.premiumTabs button.active{background:#dbeafe;color:#1d4ed8}.recentTitle{font-size:11px;font-weight:800;color:#94a3b8;letter-spacing:.8px;margin:18px 6px 10px}.chatRow{position:relative;display:flex;align-items:center;gap:8px;padding:11px 12px;border-radius:14px;margin-bottom:6px}.premiumRow:hover{background:#f1f5f9}.chatTitle{flex:1;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.moreBtn{width:28px;height:28px;border-radius:10px;background:transparent;opacity:0}.chatRow:hover .moreBtn{opacity:1}.moreBtn:hover{background:#e2e8f0}.menuBox{position:absolute;top:42px;right:8px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 18px 40px #0f172a14;overflow:hidden;z-index:99}.menuBox button{width:170px;padding:12px 14px;text-align:left;background:#fff}.menuBox button:hover{background:#f8fafc}.sidebar-footer{padding:14px;border-top:1px solid #e2e8f0}.planCard{background:linear-gradient(135deg,#eff6ff,#eef2ff);border:1px solid #dbeafe;border-radius:18px;padding:14px;margin-bottom:12px}.planTop{display:flex;justify-content:space-between;font-size:13px;font-weight:700;margin-bottom:10px}.planBar{height:8px;border-radius:99px;background:#dbeafe;overflow:hidden;margin-bottom:12px}.planFill{width:42%;height:100%;background:linear-gradient(90deg,#2563eb,#4f46e5)}.upgradeBtn{width:100%;padding:10px;border-radius:14px;background:#fff;font-weight:700;color:#1d4ed8}.moduleShortcuts{display:flex;gap:6px;margin:8px 0 2px}.moduleBtn{flex:1;padding:7px 4px;border-radius:12px;background:#eef4ff;color:#1d4ed8;font-size:11px;font-weight:700;line-height:1.3;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.moduleBtn:hover{background:#dbeafe;transform:translateY(-1px)}.logoutBtn{width:100%;padding:13px;border-radius:16px;background:#f8fafc;font-weight:700}.logoutBtn:hover{background:#fee2e2;color:#dc2626}.topbar{height:64px;display:flex;align-items:center;padding:0 28px;border-bottom:1px solid #e2e8f0;background:#fffc;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);font-weight:800;font-size:18px}.chatArea{flex:1;overflow:auto;max-width:920px;width:100%;margin:auto;padding:34px 24px 140px}.row{display:flex;margin-bottom:18px}.row.user{justify-content:flex-end}.bubble{max-width:76%;padding:16px 18px;border-radius:22px;line-height:1.6;font-size:15px}.bubble.user{background:linear-gradient(135deg,#dbeafe,#eff6ff)}.bubble.assistant{background:#fff;border:1px solid #e2e8f0;box-shadow:0 8px 24px #0f172a0a}.chatImg,.resultImg{width:100%;max-width:560px;border-radius:24px;display:block;box-shadow:0 20px 50px #00000014}.composerWrap{position:fixed;left:290px;right:0;bottom:0;padding:18px;background:linear-gradient(to top,#f8fafc 72%,transparent)}.composer{max-width:920px;margin:auto;display:flex;gap:10px;align-items:flex-end;padding:12px;border-radius:24px;background:#ffffffeb;border:1px solid #e2e8f0;box-shadow:0 18px 50px #0f172a0f}.iconBtn,.sendBtn{width:42px;height:42px;border-radius:50%}.iconBtn{background:#f1f5f9}.iconBtn.active{background:#dbeafe;color:#2563eb}.sendBtn{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff}.sendBtn:disabled{opacity:.5}.inputArea{flex:1;display:flex;flex-direction:column;justify-content:center;gap:8px}.composer textarea{width:100%;border:none;outline:none;resize:none;background:transparent;font-size:15px;line-height:24px;padding:14px 4px;min-height:52px;max-height:240px;overflow-y:auto}.uploadPreview,.filePreview{display:flex;align-items:center;gap:8px;background:#f3f4f6;border-radius:14px;padding:6px 10px;font-size:13px;position:relative}.uploadPreview img{width:72px;height:72px;object-fit:cover;border-radius:12px}.removePreview{position:absolute;top:-6px;right:-6px;width:22px;height:22px;border-radius:50%;background:#0f172a;color:#fff;font-size:11px}.imagePage{height:100vh;overflow-y:auto;max-width:760px;width:100%;margin:60px auto;padding:0 24px}.resultWrap img{max-width:100%;height:auto;display:block;margin:auto}.imagePage textarea{width:100%;min-height:180px;border:1px solid #e2e8f0;border-radius:24px;padding:18px;font-size:15px;resize:vertical;outline:none;background:#fff}.imagePage button{margin-top:14px;padding:13px 18px;border-radius:16px;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;font-weight:700}@media (max-width:768px){.sidebar{display:none}.composerWrap{left:0}.chatArea{padding:20px 16px 120px}.topbar{padding:0 16px}.bubble{max-width:92%}}.premiumTopbar{display:flex;justify-content:space-between;align-items:center}.topTitle{font-size:18px;font-weight:800;color:#0f172a}.topSub{font-size:12px;color:#64748b;margin-top:2px}.topRight{display:flex;align-items:center;gap:12px}.ghostBtn{padding:10px 14px;border-radius:14px;background:#eff6ff;color:#1d4ed8;font-weight:700}.avatar{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;font-weight:800}.emptyWrap{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:30px 30px 180px}.heroTitle{font-size:34px;font-weight:900;color:#0f172a;text-align:center}.heroSub{margin-top:10px;color:#64748b;text-align:center;max-width:520px;line-height:1.6}.quickGrid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;width:100%;max-width:620px;margin:30px auto 0}.quickCard{width:100%;min-height:84px}.quickCard:hover{transform:translateY(-2px);box-shadow:0 12px 22px #0000000f}.msgRole{font-size:11px;font-weight:800;color:#94a3b8;margin-bottom:8px;letter-spacing:.4px}.inlineCode{background:#eff6ff;color:#1d4ed8;padding:2px 7px;border-radius:8px;font-size:13px}.typingBubble{min-width:110px}.premiumComposer{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.glowBtn{box-shadow:0 10px 24px #2563eb3d}.glowBtn:hover{opacity:.95}.miniPreview{width:34px;height:34px;border-radius:10px;object-fit:cover;margin-right:8px}@media (max-width:768px){.quickGrid{grid-template-columns:1fr}.heroTitle{font-size:28px}.topSub,.ghostBtn{display:none}}.topTitle{font-family:Times New Roman,serif;font-size:28px;font-weight:700}.topSub{font-size:14px;color:#6b7280}.brandLogo{width:30px;height:30px}.brandName,.newBtn,.quickCard,.logoutBtn,.ghostBtn{font-family:Times New Roman,Arial,sans-serif}.bubble{font-family:Times New Roman,serif;font-size:18px;line-height:1.7}.heroTitle{font-family:Times New Roman,serif;font-size:54px;font-weight:700}.composer{border-radius:28px;box-shadow:0 20px 50px #0f172a14}.sidebar-top{padding:6px 14px 12px}.brandOnly{display:flex;justify-content:center;align-items:center;height:52px;margin-bottom:10px;overflow:hidden}.bigLogo{width:245px;max-width:100%;height:auto;display:block;object-fit:contain;transform:none;transition:.25s ease;filter:drop-shadow(0 8px 18px rgba(37,99,235,.1))}.bigLogo:hover{transform:scale(1.02);filter:drop-shadow(0 12px 28px rgba(37,99,235,.18))}.brandWrap,.brandName,.brandSub,.brandLogo{display:none!important}body.dark{background:#0b1120;color:#e5e7eb}body.dark .main{background:radial-gradient(circle at top right,#111827 0,#0b1120 40%,#0b1120)}body.dark .sidebar{background:#0f172aeb;border-right:1px solid rgba(51,65,85,.7)}body.dark .topbar{background:#0f172ac7;border-bottom:1px solid #243041}body.dark .topTitle,body.dark .heroTitle,body.dark .brandName{color:#f8fafc}body.dark .topSub,body.dark .heroSub,body.dark .recentTitle{color:#94a3b8}body.dark .premiumTabs button,body.dark .iconBtn,body.dark .logoutBtn{background:#1e293b;color:#e5e7eb}body.dark .premiumTabs button.active{background:#1d4ed8;color:#fff}body.dark .chatRow:hover{background:#111827}body.dark .chatTitle{color:#e5e7eb}body.dark .bubble.assistant,body.dark .quickCard,body.dark .composer{background:#111827;border:1px solid #243041;color:#e5e7eb}body.dark .bubble.user{background:linear-gradient(135deg,#1d4ed8,#1e40af);color:#fff}body.dark textarea{color:#f8fafc}body.dark textarea::placeholder{color:#94a3b8}body.dark .composerWrap{background:linear-gradient(to top,#0b1120 72%,transparent)}body.dark .ghostBtn{background:#1e293b;color:#e5e7eb}body.dark .planCard{background:#111827;border:1px solid #243041}body.dark .upgradeBtn{background:#1e293b;color:#93c5fd}body{background:#f8fafc;color:#111827}.modeSelect{width:100%;height:46px;padding:0 14px;border-radius:14px;border:1px solid #e5e7eb;background:#fff;color:#111827;font-size:14px;outline:none;transition:.2s}.modeSelect:hover{border-color:#cbd5e1}.modeSelect:focus{border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f61f}.quickGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;width:100%;max-width:1080px;margin:28px auto 0;padding-bottom:180px}.quickCard{width:100%;min-height:86px;padding:18px;border-radius:20px;display:flex;align-items:center;justify-content:flex-start;font-size:15px;font-weight:700;line-height:1.45;text-align:left}.quickCard:hover{transform:translateY(-2px)}@media (max-width:1100px){.quickGrid{grid-template-columns:repeat(2,1fr)!important;max-width:760px}}@media (max-width:640px){.quickGrid{grid-template-columns:1fr!important;max-width:100%;gap:12px!important;padding-bottom:160px}.quickCard{min-height:72px;font-size:14px;border-radius:18px}}.topbar{background:#fff;border-bottom:1px solid #eef2f7}@media (max-width:900px){.quickGrid{grid-template-columns:repeat(2,1fr)}}@media (max-width:640px){.quickGrid{grid-template-columns:1fr}}.contentBox{margin:16px 20px;padding:18px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 8px 24px #0000000a;display:grid;grid-template-columns:2fr 1.5fr 1.2fr auto;gap:12px;align-items:center}.contentInput{height:44px;border:1px solid #e5e7eb;border-radius:12px;padding:0 14px;background:#fff;font-size:14px;outline:none}.contentInput:focus{border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f61a}.contentBtn{height:44px;border:none;border-radius:12px;padding:0 18px;background:#2563eb;color:#fff;font-weight:600;cursor:pointer}.contentBtn:hover{opacity:.92}@media (max-width:900px){.contentBox{grid-template-columns:1fr}.contentBtn,.contentInput{width:100%}}.bubble img,.chatImg,.resultImg{width:100%;max-width:560px;display:block;border-radius:22px;margin-top:10px;object-fit:cover;box-shadow:0 18px 40px #00000014}.quickCard:nth-last-child(-n+4){background:linear-gradient(135deg,#fff,#f8fbff);border-color:#dbeafe}.quickCard:disabled{opacity:.6}@media (max-width:768px){.bubble img,.chatImg,.resultImg{max-width:100%;border-radius:18px}}.quickGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;max-width:860px;margin:28px auto 0;padding-bottom:180px}.quickCard{min-height:86px;padding:18px;border-radius:20px;border:1px solid #e5e7eb;background:#fff;color:#111827;text-align:left;cursor:pointer;transition:.18s ease;box-shadow:0 8px 20px #0000000a;display:flex;align-items:center;justify-content:flex-start;font-size:15px;font-weight:700;line-height:1.45}.quickCard:hover{transform:translateY(-2px);border-color:#dbeafe;box-shadow:0 14px 28px #3b82f614}.quickCard:nth-child(5),.quickCard:nth-child(6),.quickCard:nth-child(7),.quickCard:nth-child(8),.quickCard:nth-child(9){background:linear-gradient(135deg,#fff,#f8fafc)}.quickCard:nth-child(n+10){background:linear-gradient(135deg,#fff,#f8fbff);border-color:#dbeafe}.heroTitle{font-size:34px;font-weight:800;letter-spacing:-.02em;margin-bottom:10px;text-align:center}.heroSub{font-size:15px;color:#6b7280;text-align:center;max-width:640px;margin:0 auto 10px}@media (max-width:768px){.quickGrid{grid-template-columns:1fr;max-width:100%;gap:12px;padding-bottom:160px}.quickCard{min-height:72px;border-radius:18px;font-size:14px}.heroTitle{font-size:28px}}.bubble{font-size:16px;line-height:1.75;font-weight:400;color:#111827;letter-spacing:0;word-break:break-word}.bubble p{margin:0 0 14px}.bubble h1,.bubble h2,.bubble h3{line-height:1.35;margin:0 0 14px}.userBubble{font-size:16px;line-height:1.6}.imagePage{flex:1;height:calc(100vh - 64px);overflow-y:auto;overflow-x:hidden;padding:26px 24px 160px;max-width:920px;width:100%;margin:0 auto;scroll-behavior:smooth}.imagePage::-webkit-scrollbar{width:8px}.imagePage::-webkit-scrollbar-thumb{background:#dbeafe;border-radius:20px}.imgTools{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.toolBtn{padding:13px 18px;border:none;border-radius:16px;background:#eef2ff;color:#334155;font-weight:800;cursor:pointer;transition:.18s ease}.toolBtn:hover{transform:translateY(-1px);background:#e0e7ff}.toolBtn.active{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;box-shadow:0 12px 26px #2563eb2e}.imagePage textarea{width:100%;min-height:180px;padding:18px;border-radius:22px;border:1px solid #e2e8f0;background:#fff;font-size:16px;line-height:1.6;resize:vertical;outline:none;margin-bottom:10px}.imagePage textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 4px #3b82f61a}.fileTag{margin-top:10px;margin-bottom:6px;padding:10px 14px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;font-size:14px;color:#334155;word-break:break-all}.imagePage button{margin-top:10px;margin-right:10px;padding:13px 18px;border:none;border-radius:16px;font-weight:800;cursor:pointer}.imagePage button:disabled{opacity:.6;cursor:not-allowed}.resultWrap{margin-top:24px;padding-top:8px}.resultImg{width:100%;max-width:720px;display:block;margin:0 auto;border-radius:24px;box-shadow:0 24px 60px #0000001f;object-fit:contain}@media (max-width:768px){.imagePage{padding:18px 14px 140px}.imgTools{gap:8px}.toolBtn{flex:1;min-width:calc(50% - 8px);font-size:14px;padding:12px}.resultImg{max-width:100%;border-radius:18px}}.searchHistory{width:100%;height:42px;margin-top:12px;padding:0 14px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;font-size:14px;outline:none}.searchHistory:focus{border-color:#93c5fd;box-shadow:0 0 0 4px #3b82f61a}.premiumRow,.upgradeBtn{transition:.18s ease}.upgradeBtn:hover{transform:translateY(-1px);box-shadow:0 10px 22px #2563eb1a}.menuBox{min-width:170px}.typingBubble{min-width:92px}.typingDots{display:flex;gap:6px}.typingDots span{width:8px;height:8px;border-radius:50%;background:#94a3b8;animation:blink 1.2s infinite}.typingDots span:nth-child(2){animation-delay:.2s}.typingDots span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.filePreview{display:flex;align-items:center;gap:8px}.miniPreview{width:34px;height:34px;border-radius:10px;object-fit:cover}.emptyWrap{padding-bottom:180px}.codeWrap{margin-top:12px;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 6px 20px #0f172a0d;width:100%;max-width:100%}.codeTop{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e5e7eb}.codeLang{font-size:12px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.4px}.codeBtn{border:none;background:#2563eb;color:#fff;font-size:12px;font-weight:700;padding:6px 10px;border-radius:10px;cursor:pointer;transition:.2s}.codeBtn:hover{transform:translateY(-1px);opacity:.95}.codeWrap pre{margin:0;padding:16px;overflow:auto;font-size:14px;line-height:1.75;color:#0f172a;font-family:Times New Roman,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap;word-break:break-word;background:#fff}.codeWrap code{background:none;padding:0;color:inherit}.inlineCode{display:inline-block;padding:2px 7px;border-radius:8px;background:#eef2ff;color:#1d4ed8;font-size:13px;font-family:Times New Roman,ui-monospace,monospace;margin:0 2px}.typingBubble:after{content:"";position:absolute;left:-40%;top:0;width:40%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);animation:fileShine 1.8s linear infinite}@keyframes fileShine{to{left:140%}}.bubble.user{background:#eef4ff;border:1px solid #dbeafe}.bubble.assistant{line-height:1.75}.fileProTag{display:inline-block;font-size:11px;font-weight:700;padding:4px 8px;border-radius:999px;background:#2563eb;color:#fff;margin-bottom:8px}.toolsPage{flex:1;overflow:auto;padding:34px 28px 140px}.toolsPage::-webkit-scrollbar{width:8px}.toolsPage::-webkit-scrollbar-thumb{background:#dbeafe;border-radius:999px}.toolsHero{max-width:980px;margin:0 auto 28px}.toolsHero h1{font-size:38px;line-height:1.1;font-weight:800;letter-spacing:-.03em;margin-bottom:8px;color:#0f172a}.toolsHero p{font-size:15px;color:#64748b;margin-bottom:18px}.toolsSearch{width:100%;height:52px;border:1px solid #e5e7eb;border-radius:18px;padding:0 16px;background:#fff;font-size:15px;outline:none;transition:.18s ease}.toolsSearch:focus{border-color:#93c5fd;box-shadow:0 0 0 4px #3b82f61a}.toolGroup{max-width:980px;margin:0 auto 28px}.toolGroup h2{font-size:20px;font-weight:800;color:#111827;margin-bottom:14px}.toolCard{border:none;cursor:pointer;text-align:left;padding:18px;border-radius:22px;background:linear-gradient(135deg,#fff,#fbfdff);border:1px solid #e8edf5;box-shadow:0 10px 24px #0f172a0b;transition:.18s ease}.toolCard:hover{transform:translateY(-3px);border-color:#dbeafe;box-shadow:0 18px 34px #3b82f617}.toolIcon{width:46px;height:46px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#eef4ff;font-size:22px;margin-bottom:14px}.toolTitle{font-size:16px;font-weight:800;color:#111827;line-height:1.35;margin-bottom:8px}.toolDesc{font-size:14px;line-height:1.55;color:#6b7280}body.dark .toolsHero h1,body.dark .toolGroup h2,body.dark .toolTitle{color:#f8fafc}body.dark .toolsHero p,body.dark .toolDesc{color:#94a3b8}body.dark .toolsSearch{background:#111827;border-color:#243041;color:#f8fafc}body.dark .toolCard{background:linear-gradient(135deg,#111827,#0f172a);border-color:#243041}body.dark .toolIcon{background:#1e293b}@media (max-width:768px){.toolsPage{padding:22px 14px 120px}.toolsHero h1{font-size:30px}.toolGrid{grid-template-columns:1fr;gap:12px}.toolCard{border-radius:18px;padding:16px}}.toolsPage{height:100vh;overflow:auto;padding:34px 28px 40px!important}.toolsPage{padding-bottom:90px!important}.main{min-width:0}.toolsHero{position:sticky;top:0;z-index:5;padding-bottom:18px;background:linear-gradient(to bottom,rgba(248,250,252,.96),rgba(248,250,252,.9),transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.toolsSearch{box-shadow:0 8px 18px #0f172a0a}.toolGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.toolCard{min-height:168px;display:flex;flex-direction:column;justify-content:flex-start}.toolCard:active{transform:translateY(-1px)}.toolGroup{margin-bottom:34px!important}.emptyWrap{display:flex;flex-direction:column;justify-content:center;align-items:center}body.dark .toolsHero{background:linear-gradient(to bottom,rgba(15,23,42,.96),rgba(15,23,42,.9),transparent)}@media (max-width:1100px){.toolGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:768px){.toolsPage{height:100%;padding:18px 14px 100px!important}.toolGrid{grid-template-columns:1fr;gap:12px}.toolCard{min-height:unset}.toolsHero{position:static;padding-bottom:14px;background:transparent}}.toolsHero{position:relative!important;top:auto!important;z-index:auto!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:transparent!important;padding-bottom:18px!important}.toolGroup h2{position:relative;z-index:1;margin-bottom:14px!important}.toolsPage{padding-top:28px!important}@media (max-width:768px){.toolsHero{position:relative!important}}.chatArea{scroll-behavior:smooth}.bubble{position:relative;border-radius:24px!important;padding:16px 18px!important}.bubble.assistant{background:#fff!important;border:1px solid #e8edf5!important;box-shadow:0 10px 26px #0f172a0b}.bubble.user{background:linear-gradient(135deg,#dbeafe,#eef4ff)!important}.bubble.assistant:has(p){overflow:hidden}@keyframes progressRun{0%{left:-20%;width:20%}50%{width:42%}to{left:100%;width:18%}}.typingBubble{min-width:120px}.typingDots{display:flex;gap:6px;padding-top:2px}.typingDots span{width:8px;height:8px;border-radius:999px;background:#94a3b8;animation:bounce 1s infinite}.typingDots span:nth-child(2){animation-delay:.15s}.typingDots span:nth-child(3){animation-delay:.3s}@keyframes bounce{0%,80%,to{transform:translateY(0);opacity:.45}40%{transform:translateY(-6px);opacity:1}}.composer{transition:.18s ease}.composer:focus-within{border-color:#bfdbfe!important;box-shadow:0 22px 50px #3b82f61a!important}.filePreview{border:1px solid #e8edf5;background:#f8fafc;border-radius:16px;padding:8px 10px;gap:10px}.miniPreview{border-radius:10px}.chatImg{max-width:100%;border-radius:18px;border:1px solid #e5e7eb;box-shadow:0 12px 28px #0f172a0f}.toolCard{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.toolCard:hover{transform:translateY(-4px)}.chatArea::-webkit-scrollbar,.toolsPage::-webkit-scrollbar,.history::-webkit-scrollbar{width:8px}.chatArea::-webkit-scrollbar-thumb,.toolsPage::-webkit-scrollbar-thumb,.history::-webkit-scrollbar-thumb{background:#dbeafe;border-radius:999px}body.dark .bubble.assistant{background:#111827!important;border-color:#243041!important}body.dark .typingBubble:after{content:"";position:absolute;left:0;bottom:0;height:3px;width:42%;border-radius:999px;background:linear-gradient(90deg,#3b82f6,#60a5fa);animation:progressRun 1.8s linear infinite}body.dark .filePreview{background:#0f172a;border-color:#243041}.typingBubble{position:relative;overflow:hidden}.typingBubble:after{content:"";position:absolute;left:-30%;bottom:0;height:3px;width:30%;border-radius:999px;background:linear-gradient(90deg,#3b82f6,#60a5fa);animation:progressRun 1.6s linear infinite}.modalWrap{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:9999;padding:20px}.upgradeModal{width:100%;max-width:420px;background:#fff;border-radius:22px;padding:26px;box-shadow:0 25px 70px #0000002e;animation:popUp .18s ease}@keyframes popUp{0%{transform:scale(.96);opacity:0}to{transform:scale(1);opacity:1}}.upgradeTitle{font-size:28px;font-weight:800;color:#111827}.upgradePrice{margin-top:6px;font-size:18px;font-weight:700;color:#2563eb}.upgradeList{margin-top:18px;line-height:1.9;color:#374151;font-size:15px}.payBox{margin-top:18px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:16px;line-height:1.8;color:#111827;font-size:14px}.note{margin-top:10px;color:#6b7280;font-size:13px}.pendingBox{margin-top:14px;background:#fff7ed;color:#9a3412;border:1px solid #fdba74;padding:12px;border-radius:14px;font-size:14px}.successBox{margin-top:14px;background:#ecfdf5;color:#065f46;border:1px solid #6ee7b7;padding:12px;border-radius:14px;font-size:14px}.upgradeBtn.big{width:100%;margin-top:18px;height:48px;border:none;border-radius:14px;background:#2563eb;color:#fff;font-weight:700;cursor:pointer}.upgradeBtn.big:hover{opacity:.95}.closeBtn{width:100%;margin-top:12px;height:44px;border:none;border-radius:14px;background:#f3f4f6;color:#111827;font-weight:700;cursor:pointer}.closeBtn:hover{background:#e5e7eb}.adminPage{padding:32px;min-height:100vh;background:#f8fafc}.adminTop{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.adminTop h1{font-size:28px;font-weight:800;color:#111827;margin:0}.adminTop button{border:none;background:#2563eb;color:#fff;padding:12px 18px;border-radius:14px;font-weight:700;cursor:pointer}.adminTop button:hover{opacity:.95}.adminTable{background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 10px 30px #0000000f}.thead,.trow{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1.4fr 1fr;gap:14px;align-items:center}.thead{background:#eff6ff;color:#1e3a8a;font-weight:800;padding:16px 18px}.trow{padding:16px 18px;border-top:1px solid #f1f5f9;color:#111827}.trow:hover{background:#f8fafc}.okBtn{border:none;background:#16a34a;color:#fff;padding:10px 14px;border-radius:12px;font-weight:700;cursor:pointer}.okBtn:hover{opacity:.95}@media (max-width:900px){.thead,.trow{grid-template-columns:1.6fr .8fr .8fr .8fr 1fr .8fr;font-size:13px}.adminPage{padding:16px}}@media (max-width:700px){.adminTable{overflow:auto}.thead,.trow{min-width:760px}}.adminFilters{display:flex;gap:12px;align-items:center;margin-bottom:18px;flex-wrap:wrap}.adminFilters input,.adminFilters select{height:44px;padding:0 14px;border:1px solid #dbe2ea;border-radius:14px;background:#fff;font-size:14px;min-width:220px;outline:none}.adminFilters input:focus,.adminFilters select:focus{border-color:#2563eb}.adminFilters button{height:44px;padding:0 18px;border:none;border-radius:14px;background:#111827;color:#fff;font-weight:700;cursor:pointer}.adminFilters button:hover{opacity:.95}.forbiddenBox{max-width:520px;margin:80px auto;background:#fff7ed;color:#9a3412;border:1px solid #fdba74;border-radius:18px;padding:24px;text-align:center;font-weight:700;box-shadow:0 10px 30px #0000000d}@media (max-width:700px){.adminFilters{flex-direction:column;align-items:stretch}.adminFilters input,.adminFilters select,.adminFilters button{width:100%;min-width:unset}}.statsGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}.statCard{background:#fff;border-radius:22px;padding:20px;box-shadow:0 10px 30px #0000000d}.statLabel{font-size:14px;color:#64748b;font-weight:700}.statValue{margin-top:8px;font-size:28px;font-weight:800;color:#111827}@media (max-width:900px){.statsGrid{grid-template-columns:1fr}}.rejectBtn{border:none;background:#dc2626;color:#fff;padding:10px 14px;border-radius:12px;font-weight:700;cursor:pointer}.rejectBtn:hover{opacity:.95}.actionCell{display:flex;gap:8px;flex-wrap:wrap}.actionCell .okBtn{min-width:68px}.trow .actionCell{justify-content:flex-start}@media (max-width:900px){.actionCell{gap:6px}.actionCell .okBtn{min-width:60px;padding:9px 12px;font-size:13px}}@media (max-width:700px){.adminTable{overflow:auto}.thead,.trow{min-width:900px}}.adminNav{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.adminNav button{border:none;background:#111827;color:#fff;padding:12px 18px;border-radius:14px;font-weight:700;cursor:pointer}.adminNav button:hover{opacity:.95}@media (max-width:700px){.adminTop{flex-direction:column;align-items:stretch}.adminNav{width:100%}.adminNav button{flex:1}}.payBox{font-size:15px;line-height:2}.payBox b{color:#111827}.upgradeTitle{word-break:break-word}@media (max-width:700px){.upgradeModal{max-width:100%;padding:20px}.upgradeTitle{font-size:20px}.upgradePrice{font-size:16px}}.adminStats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin-bottom:24px}.statCard{background:#fff;border-radius:18px;padding:18px;box-shadow:0 10px 30px #0000000d}.statCard span{font-size:13px;color:#64748b}.statCard strong{display:block;margin-top:6px;font-size:22px;color:#111827}.chartWrap{margin-top:24px;background:#fff;border-radius:20px;padding:20px;box-shadow:0 10px 30px #0000000d}.chartTitle{font-weight:800;margin-bottom:16px}.chartRow{display:flex;align-items:flex-end;gap:14px;height:140px}.barCol{flex:1;text-align:center}.bar{width:100%;border-radius:8px 8px 0 0}.bar.users{background:#3b82f6}.bar.chat{background:#22c55e}.bar.revenue{background:#f59e0b}.barCol span{font-size:12px;color:#64748b}.adminStats{margin-bottom:20px}.chartWrap{margin-bottom:24px}.adminTop{margin-top:20px}.payBox{width:100%;max-width:260px;margin:0 auto;text-align:center}.modalOverlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#0006;display:flex;align-items:center;justify-content:center;z-index:999}.modalBox{background:#fff;padding:20px;border-radius:12px;width:350px;max-width:90%;box-shadow:0 10px 30px #0003}.upgradeBox{margin-top:12px;padding:14px;border-radius:16px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 26px #0000000f}.planSelect{display:flex;gap:10px}.planSelect button{flex:1;padding:10px;border-radius:12px;border:none;font-weight:700;cursor:pointer;background:#eef2ff;transition:.2s}.planSelect button:hover{background:#dbeafe}.qrBox{margin-top:14px;text-align:center}.qrBox img{max-width:180px;border-radius:12px;box-shadow:0 10px 24px #00000014}.payInfo{margin-top:10px;font-size:13px;color:#334155;line-height:1.6}.pendingBox{margin-top:10px;padding:8px 10px;border-radius:10px;background:#fff7ed;color:#c2410c;font-size:13px;font-weight:600;text-align:center}.limit-banner{position:fixed;top:80px;right:20px;width:260px;padding:16px;background:#fff;border-radius:12px;box-shadow:0 8px 24px #0000001f;z-index:9999}.paywallWrap{position:fixed;top:0;left:0;width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;background:#0006;z-index:9999}.paywallBox{width:360px;max-width:90%;background:#fff;border-radius:16px;padding:24px;box-shadow:0 20px 60px #0003;text-align:center}.paywallWrap{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.paywallBtn,.paywallClose{flex:1}.paywallActions{display:flex;gap:12px;margin-top:20px}.paywallBtn,.paywallClose{flex:1;padding:10px;border-radius:8px;cursor:pointer}.paywallBtn{background:#4f46e5;color:#fff;border:none}.paywallClose{background:#f1f5f9;border:none}.profilePage{min-height:100vh;background:#f8fafc;padding:40px}.profileBox{max-width:1200px;margin:auto}.profileBox h1{font-size:36px;margin-bottom:30px;color:#0f172a}.profileGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}.profileCard{background:#fff;border-radius:24px;padding:24px;box-shadow:0 10px 30px #0000000f}.profileCard h3{margin-bottom:20px;font-size:22px;color:#0f172a}.profileCard input{width:100%;height:48px;border:none;background:#f1f5f9;border-radius:14px;padding:0 16px;margin-bottom:14px;font-size:15px}.profileCard input:focus{outline:none;background:#e2e8f0}.profileCard button{width:100%;height:48px;border:none;border-radius:14px;background:#2563eb;color:#fff;font-weight:700;cursor:pointer;transition:.2s}.profileCard button:hover{background:#1d4ed8}.planBox{background:#dbeafe;color:#1e3a8a;padding:18px;border-radius:16px;font-size:28px;font-weight:800;margin-bottom:18px;text-transform:capitalize}.expireBox{margin-top:10px;background:#f1f5f9;padding:14px;border-radius:12px}.successBox{margin-top:20px;background:#dcfce7;color:#166534;padding:16px;border-radius:14px;font-weight:600}.errorBox{margin-top:20px;background:#fee2e2;color:#991b1b;padding:16px;border-radius:14px;font-weight:600}.profileHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:40px;gap:20px}.headerLeft{display:flex;align-items:center;gap:22px}.backBtn{border:none;background:#fff;height:44px;padding:0 18px;border-radius:14px;cursor:pointer;font-weight:700;box-shadow:0 4px 14px #0000000f;transition:.2s}.backBtn:hover{transform:translateY(-1px);background:#f8fafc}.usageItem{margin-bottom:18px}.usageHead{display:flex;justify-content:space-between;margin-bottom:8px;font-weight:600}.usageBar{height:12px;background:#e2e8f0;border-radius:999px;overflow:hidden}.usageFill{height:100%;background:#2563eb;border-radius:999px}.usageFill.orange{background:#f59e0b}.usageFill.red{background:#ef4444}.billingItem{background:#f8fafc;border-radius:16px;padding:14px;margin-bottom:14px}.billingTop{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.billingStatus{padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;text-transform:uppercase;background:#e2e8f0}.billingStatus.ok{background:#dcfce7;color:#166534}.billingStatus.pending{background:#fef3c7;color:#92400e}.billingPrice{font-size:22px;font-weight:800;margin-bottom:6px}.billingDate{font-size:13px;color:#64748b}.emptyBilling{color:#64748b;text-align:center;padding:20px 0}.avatarWrap{margin-bottom:30px}.avatarLabel{width:120px;height:120px;display:block;position:relative;cursor:pointer}.avatarImg{width:120px;height:120px;border-radius:50%;object-fit:contain;background:#fff;padding:8px;border:4px solid #fff;box-shadow:0 8px 24px #0000001f}.avatarOverlay{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;background:#00000073;color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;transition:.2s;font-size:14px;font-weight:700}.avatarLabel:hover .avatarOverlay{opacity:1}.headerUser{display:flex;align-items:center;gap:20px}.headerMail{color:#64748b;margin-top:6px}.plusWrap{position:relative;flex-shrink:0;display:flex;align-items:center;height:52px}.plusBtn{width:38px;height:38px;border:none;border-radius:50%;background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-size:24px;cursor:pointer;transition:.18s ease}.plusBtn:hover{background:#e5e7eb}.plusMenu{position:absolute;bottom:48px;left:0;min-width:220px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 10px 30px #00000014;padding:8px;z-index:100}.plusMenu button{width:100%;border:none;background:none;padding:12px 14px;border-radius:12px;text-align:left;cursor:pointer;font-size:14px}.plusMenu button:hover{background:#f3f4f6}.multiPreview{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}.composer{display:flex!important;align-items:flex-end!important;gap:12px;min-height:72px}.plusWrap{position:relative;width:42px;height:42px;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0}.plusBtn{width:38px;height:38px;border:none;border-radius:50%;background:#f3f4f6;display:flex;align-items:center;justify-content:center;padding:0;line-height:1;font-size:24px;font-weight:400;cursor:pointer}.inputArea{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}.composer textarea{width:100%;border:none;outline:none;resize:none;background:transparent;font-size:15px;line-height:24px;padding:14px 0;min-height:52px;max-height:240px;overflow-y:auto}.multiPreview{display:flex!important;flex-direction:row!important;align-items:center;flex-wrap:wrap;gap:8px;width:100%}.filePreview{display:inline-flex!important;align-items:center;gap:8px;max-width:240px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:14px;padding:8px 10px;font-size:13px;white-space:nowrap}.filePreview span{overflow:hidden;text-overflow:ellipsis}.removePreview{position:static!important;width:18px;height:18px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:10px}.sendBtn{width:42px;height:42px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center}.streamRaw{margin:0;white-space:pre-wrap;word-break:break-word;font-size:14px;line-height:1.7;font-family:inherit}.streamBox{white-space:pre-wrap;word-break:break-word;line-height:1.7;font-size:15px;font-family:Inter,sans-serif}.bubble.assistant p{margin:0}.bubble.assistant pre{margin:0;overflow-x:auto}.bubble.assistant code{white-space:pre-wrap}.codePre{margin:0;white-space:pre-wrap;word-break:break-word;overflow-x:auto;white-space:pre}.codePre code{white-space:pre-wrap}.markdown{line-height:1.7;font-size:15px}.markdown p{margin:0 0 14px}.markdown :not(pre)>code{background:#e2e8f0;padding:2px 6px;border-radius:6px;font-size:13px}.markdown table{border-collapse:collapse;width:100%}.markdown th,.markdown td{border:1px solid #cbd5e1;padding:8px}.streamText{margin:0;white-space:pre-wrap;word-break:break-word;font-family:Consolas,monospace;line-height:1.7;overflow-x:auto}.codeWrap{margin:10px 0!important;border-radius:14px!important;overflow:hidden!important;border:1px solid #dbe4ee!important;background:#fff!important}.codeTop{height:42px!important;padding:0 12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:#f8fafc!important;border-bottom:1px solid #e5e7eb!important}.codeLang{font-size:12px!important;color:#64748b!important;font-weight:700!important}.codeBtn{border:none!important;background:#2563eb!important;color:#fff!important;height:30px!important;padding:0 12px!important;border-radius:10px!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important}.codePre{margin:0!important;padding:8px 22px!important;background:#fff!important;overflow:auto!important}.codePre code{display:block!important;padding:0!important;margin:0!important;background:none!important;white-space:pre-wrap!important;line-height:1.55!important;font-size:14px!important}.codePre,.codePre code,.hljs{display:block!important;min-height:auto!important;height:auto!important}.bubble.assistant pre{margin:0!important;padding:0!important;background:none!important}.bubble.assistant code{background:none!important}.codePre{padding:0!important}.codePre .hljs{padding:10px 22px!important;margin:0!important;background:#fff!important;border:none!important}.codePre code.hljs{display:block!important;line-height:1.55!important;font-size:14px!important}.chatImg{display:block;max-width:100%;border-radius:16px;margin-bottom:12px}.patchBox{margin-bottom:12px;padding:14px;border-radius:14px;background:#f8fafc;border:1px solid #dbeafe}.patchTitle{font-weight:700;margin-bottom:6px;color:#1e3a8a}.patchDesc{color:#475569;font-size:14px;line-height:1.5}.patchBox:before{content:"🛠️";margin-right:6px}.patchView{margin-top:12px}.patchItem{border:1px solid #e5e7eb;border-radius:14px;padding:16px;margin-bottom:18px;background:#fff;box-shadow:0 1px 2px #0000000a}.patchFile{font-weight:700;margin-bottom:14px;color:#111827;font-size:15px}.patchTitle{margin-top:14px;margin-bottom:8px;font-weight:600;color:#374151}.patchCode{overflow:auto;padding:14px;border-radius:10px;background:#f9fafb;border:1px solid #e5e7eb;white-space:pre-wrap;font-size:13px;line-height:1.6;color:#111827}
