:root { --primary: #6366f1; --primary-hover: #4f46e5; --bg: #0f172a; --bg-card: #1e293b; --bg-input: #334155; --text: #f1f5f9; --text-muted: #94a3b8; --border: #475569; --claude: #d97706; --chatgpt: #10b981; --gemini: #3b82f6; --perplexity: #8b5cf6; --danger: #ef4444; --success: #22c55e; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }
.login-container { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.login-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 48px; width: 100%; max-width: 420px; }
.login-box h1 { text-align: center; margin-bottom: 4px; font-size: 32px; background: linear-gradient(135deg, var(--primary), #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.login-box .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 36px; font-size: 14px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--text-muted); font-size: 13px; font-weight: 500; }
input[type="text"], input[type="password"], input[type="email"], textarea, select { width: 100%; padding: 12px 16px; background: var(--bg-input); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 15px; outline: none; transition: border-color 0.2s; }
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
textarea { min-height: 200px; resize: vertical; font-family: inherit; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; gap: 8px; }
.btn-primary { background: var(--primary); color: white; width: 100%; } .btn-primary:hover { background: var(--primary-hover); }
.btn-sm { padding: 8px 16px; font-size: 13px; width: auto; }
.btn-danger { background: var(--danger); color: white; } .btn-danger:hover { background: #dc2626; }
.btn-success { background: var(--success); color: white; } .btn-success:hover { background: #16a34a; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); } .btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.app-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 32px; background: var(--bg-card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.app-header h1 { font-size: 20px; background: linear-gradient(135deg, var(--primary), #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; cursor: pointer; }
.app-header h1 a { text-decoration: none; color: inherit; }
.user-info { display: flex; align-items: center; gap: 16px; color: var(--text-muted); font-size: 14px; }
.main-content { max-width: 1200px; margin: 0 auto; padding: 32px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; } .dashboard-header h2 { font-size: 22px; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.project-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; cursor: pointer; transition: all 0.25s; }
.project-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.project-card h3 { margin-bottom: 8px; font-size: 18px; } .project-card .desc { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; line-height: 1.5; } .project-card .meta { color: var(--text-muted); font-size: 12px; display: flex; gap: 16px; padding-top: 12px; border-top: 1px solid var(--border); } .project-card .ai-tags { display: flex; gap: 6px; margin-bottom: 12px; }
.ai-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; } .ai-dot.claude { background: var(--claude); } .ai-dot.chatgpt { background: var(--chatgpt); } .ai-dot.gemini { background: var(--gemini); } .ai-dot.perplexity { background: var(--perplexity); }
.project-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); text-decoration: none; font-size: 14px; margin-bottom: 16px; cursor: pointer; transition: color 0.2s; } .project-back:hover { color: var(--text); }
.tabs { display: flex; gap: 0; margin-bottom: 28px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tab { padding: 14px 24px; cursor: pointer; color: var(--text-muted); border: none; border-bottom: 2px solid transparent; transition: all 0.2s; background: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); } .tab:hover { color: var(--text); }
.tab-content { display: none; } .tab-content.active { display: block; }
.conversation-item { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 10px; transition: all 0.2s; } .conversation-item:hover { border-color: var(--primary); background: rgba(99,102,241,0.05); }
.conv-left { display: flex; align-items: center; gap: 14px; }
.ai-badge { display: inline-flex; align-items: center; justify-content: center; padding: 5px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; color: white; letter-spacing: 0.5px; min-width: 90px; } .ai-badge.claude { background: var(--claude); } .ai-badge.chatgpt { background: var(--chatgpt); } .ai-badge.gemini { background: var(--gemini); } .ai-badge.perplexity { background: var(--perplexity); }
.conv-info strong { font-size: 15px; } .conv-info .conv-meta { color: var(--text-muted); font-size: 12px; margin-top: 4px; }
.handover-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; margin-bottom: 20px; }
.handover-section h3 { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-size: 16px; } .handover-section .section-desc { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--primary); border-radius: 50%; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.copy-feedback { color: var(--success); font-size: 13px; margin-left: 12px; opacity: 0; transition: opacity 0.3s; } .copy-feedback.show { opacity: 1; }
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); z-index: 1000; justify-content: center; align-items: center; backdrop-filter: blur(4px); } .modal-overlay.show { display: flex; }
.modal { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 36px; width: 90%; max-width: 520px; max-height: 80vh; overflow-y: auto; } .modal h2 { margin-bottom: 24px; font-size: 20px; } .modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 28px; }
.toast { position: fixed; bottom: 24px; right: 24px; padding: 14px 24px; border-radius: 10px; color: white; font-weight: 500; font-size: 14px; z-index: 2000; opacity: 0; transform: translateY(20px); transition: all 0.3s; box-shadow: 0 4px 12px rgba(0,0,0,0.3); } .toast.show { opacity: 1; transform: translateY(0); } .toast.success { background: var(--success); } .toast.error { background: var(--danger); }
