*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #f9fbfc;--surface: #ffffff;--surface2: #f1f5f9;--border: #e2e8f0;--primary: #0f172a;--primary-light: #334155;--primary-dim: rgba(15, 23, 42, .05);--accent: #3b82f6;--accent-dim: rgba(59, 130, 246, .1);--success: #10b981;--success-dim: rgba(16, 185, 129, .1);--warning: #f59e0b;--warning-dim: rgba(245, 158, 11, .1);--error: #ef4444;--text: #0f172a;--text-muted: #64748b;--text-dim: #94a3b8;--radius: 10px;--radius-sm: 6px;--shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px -2px rgba(0,0,0,.04);--shadow-glow: none}html,body,#root{height:100%;font-family:Inter,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}.app-shell{display:flex;flex-direction:column;min-height:100vh}.navbar{height:56px;background:#ffffffd9;border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 24px;gap:12px;position:sticky;top:0;z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.navbar-logo{font-size:18px;font-weight:700;color:var(--primary);letter-spacing:-.3px}.navbar-tagline{color:var(--text-muted);font-size:13px;border-left:1px solid var(--border);padding-left:12px}.navbar-links{margin-left:auto;display:flex;gap:4px}.nav-link{padding:6px 14px;border-radius:var(--radius-sm);color:var(--text-muted);text-decoration:none;font-size:14px;font-weight:500;transition:all .2s}.nav-link:hover{color:var(--text);background:var(--surface2)}.nav-link.active{color:var(--primary);background:var(--primary-dim)}.page-container{max-width:900px;margin:0 auto;padding:40px 24px;width:100%}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}.card-title{font-size:18px;font-weight:600;margin-bottom:20px;display:flex;align-items:center;gap:10px}.form-grid{display:grid;gap:20px}.form-field{display:flex;flex-direction:column;gap:8px}.form-label{font-size:13px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}.form-input,.form-select,.form-textarea{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px 14px;color:var(--text);font-size:15px;font-family:inherit;transition:border-color .2s,box-shadow .2s;outline:none;width:100%}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-dim)}.form-textarea{resize:vertical;min-height:90px}.form-select{cursor:pointer}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 24px;border-radius:var(--radius-sm);font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;border:none;transition:all .2s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--primary);color:#fff;box-shadow:0 2px 4px #0000001a}.btn-primary:hover:not(:disabled){background:var(--primary-light);transform:translateY(-1px);box-shadow:0 4px 8px #0000001f}.btn-ghost{background:transparent;color:var(--text-muted);border:1px solid var(--border)}.btn-ghost:hover:not(:disabled){background:var(--surface2);color:var(--text)}.btn-sm{padding:7px 14px;font-size:13px}.btn-full{width:100%}.chip-group{display:flex;flex-wrap:wrap;gap:8px}.chip{padding:7px 16px;border-radius:50px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.chip:hover{border-color:var(--primary);color:var(--text)}.chip.selected{background:var(--primary);border-color:var(--primary);color:#fff}.progress-bar-track{height:6px;background:var(--surface2);border-radius:99px;overflow:hidden;margin:12px 0}.progress-bar-fill{height:100%;background:var(--primary);border-radius:99px;transition:width .5s ease}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:50px;font-size:12px;font-weight:600;letter-spacing:.2px}.badge-pending{background:var(--surface2);color:var(--text-muted)}.badge-running{background:var(--warning-dim);color:var(--warning)}.badge-done{background:var(--success-dim);color:var(--success)}.badge-failed{background:var(--accent-dim);color:var(--error)}.content-body{background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:20px;white-space:pre-wrap;font-size:15px;line-height:1.8;max-height:500px;overflow-y:auto;color:var(--text)}.content-list{display:flex;flex-direction:column;gap:12px}.content-list-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:18px 20px;cursor:pointer;transition:all .2s}.content-list-item:hover{border-color:var(--text-dim);box-shadow:var(--shadow)}.content-list-item-title{font-weight:600;margin-bottom:6px;font-size:16px}.content-list-item-meta{display:flex;gap:12px;font-size:12px;color:var(--text-muted)}.content-list-item-preview{margin-top:8px;font-size:14px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a66;display:flex;align-items:center;justify-content:center;z-index:200;padding:24px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);max-width:720px;width:100%;max-height:85vh;box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden}.modal-body{flex:1;overflow-y:auto;padding:0 28px 28px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 28px;border-bottom:1px solid var(--border);flex-shrink:0}.modal-title{font-size:18px;font-weight:700;color:var(--text)}.modal-close{background:none;border:none;color:var(--text-muted);cursor:pointer;font-size:24px;padding:8px 12px;border-radius:6px;transition:background .2s;line-height:1}.modal-close:hover{background:var(--surface2);color:var(--text)}.divider{height:1px;background:var(--border);margin:20px 0}.text-muted{color:var(--text-muted)}.text-sm{font-size:13px}.mt-4{margin-top:16px}.mt-6{margin-top:24px}.flex{display:flex}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-3{gap:12px}.spinner{width:20px;height:20px;border:2px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.page-title{font-size:28px;font-weight:700;margin-bottom:8px;color:var(--primary);letter-spacing:-.5px}.page-desc{color:var(--text-muted);margin-bottom:28px;font-size:15px}.empty-state{text-align:center;padding:60px 20px;color:var(--text-muted)}.empty-state-icon{font-size:48px;margin-bottom:12px}.empty-state-title{font-size:18px;font-weight:600;margin-bottom:8px;color:var(--text)}.tab-bar{display:flex;gap:0;border-bottom:1px solid var(--border);margin-bottom:16px}.tab-item{padding:8px 16px;font-size:14px;font-weight:500;color:var(--text-muted);background:none;border:none;border-bottom:2px solid transparent;cursor:pointer;transition:all .2s;font-family:inherit}.tab-item:hover{color:var(--text)}.tab-item.active{color:var(--primary);border-bottom-color:var(--primary)}.knowledge-layout{display:grid;grid-template-columns:240px 1fr;gap:20px;min-height:500px}.knowledge-sidebar{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.knowledge-file-list{display:flex;flex-direction:column;gap:4px}.knowledge-file-item{padding:10px 12px;border-radius:6px;cursor:pointer;transition:all .15s}.knowledge-file-item:hover{background:var(--surface2)}.knowledge-file-item.active{background:var(--primary-dim);border-left:3px solid var(--primary)}.knowledge-file-name{font-size:13px;font-weight:600;word-break:break-all}.knowledge-file-meta{font-size:11px;color:var(--text-muted);margin-top:2px}.knowledge-editor{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);display:flex;flex-direction:column;min-height:500px}.knowledge-editor-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--border)}.knowledge-textarea{flex:1;padding:20px;font-family:SF Mono,Fira Code,monospace;font-size:13px;line-height:1.7;border:none;outline:none;resize:none;background:transparent;color:var(--text)}.review-card{margin-top:16px;padding:16px;border-radius:8px;border:1px solid var(--border);background:var(--surface2)}.review-card-title{font-weight:600;font-size:14px;margin-bottom:12px}.review-scores{display:grid;grid-template-columns:1fr 1fr;gap:8px}.review-score-item{display:flex;justify-content:space-between;font-size:13px;padding:4px 0}.review-score-label{color:var(--text-muted)}.review-score-value{font-weight:600}.review-issues{margin-top:12px;padding-top:12px;border-top:1px solid var(--border);font-size:13px}.review-issue-item{padding:4px 0;color:var(--error)}.strategy-page{max-width:960px;margin:0 auto;padding:40px 24px}.strategy-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px}.strategy-title{font-size:28px;font-weight:700;color:var(--primary);letter-spacing:-.5px}.strategy-date{font-size:14px;color:var(--text-muted);margin-top:4px}.strategy-time{color:var(--text-dim)}.strategy-actions{display:flex;gap:8px}.btn-outline{background:var(--surface);color:var(--text-muted);border:1px solid var(--border);padding:10px 18px;border-radius:var(--radius-sm);font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;transition:all .2s}.btn-outline:hover:not(:disabled){background:var(--surface2);color:var(--text);border-color:var(--text-dim)}.strategy-empty{text-align:center;padding:80px 20px;color:var(--text-muted);font-size:16px}.strategy-grid{display:flex;flex-direction:column;gap:16px}.strategy-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);transition:all .2s}.strategy-card:hover{border-color:var(--text-dim);box-shadow:0 4px 16px #00000014}.strategy-card.adopted{border-color:var(--success);background:linear-gradient(135deg,var(--surface) 0%,var(--success-dim) 100%)}.strategy-card-header{display:flex;gap:16px;align-items:center;margin-bottom:12px;font-size:13px;color:var(--text-muted)}.strategy-stars{color:#f59e0b}.star-score{color:var(--text-muted);margin-left:4px;font-size:12px}.strategy-card-title{font-size:20px;font-weight:700;color:var(--primary);margin-bottom:8px;line-height:1.4}.strategy-source{font-size:13px;color:var(--text-muted);margin-bottom:12px}.strategy-angle{font-size:14px;color:var(--text);line-height:1.6;margin-bottom:16px;padding:12px 16px;background:var(--surface2);border-radius:var(--radius-sm);border-left:3px solid var(--accent)}.strategy-platforms{display:flex;gap:6px;margin-bottom:16px}.platform-tag{display:inline-block;padding:4px 10px;font-size:12px;font-weight:500;border-radius:50px;background:var(--accent-dim);color:var(--accent)}.strategy-card-actions{display:flex;gap:8px;align-items:center}.btn-adopt{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;padding:10px 20px;border-radius:var(--radius-sm);font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #3b82f64d}.btn-adopt:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #3b82f666}.btn-skip{background:transparent;color:var(--text-dim);border:none;padding:10px 16px;font-size:13px;font-family:inherit;cursor:pointer;transition:color .2s}.btn-skip:hover{color:var(--text-muted)}.adopted-label{color:var(--success);font-weight:600;font-size:14px}.strategy-relevance,.strategy-timeliness,.strategy-reach{white-space:nowrap}
