*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;line-height:1.5;color:#1e293b;background:#f8fafc;-webkit-font-smoothing:antialiased}button{cursor:pointer;font:inherit}input,textarea,select{font:inherit}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#f0f4f8,#e2e8f0)}.auth-card{width:min(400px,100%);padding:40px 32px;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0f172a1a;text-align:center}.auth-card h1{margin:12px 0 4px;font-size:24px;color:#0f172a}.auth-tagline{margin:0 0 24px;color:#64748b;font-size:13px}.auth-logo{display:inline-block}.auth-logo img{width:48px;height:48px;border-radius:12px}.auth-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#f1f5f9;border-radius:8px;margin-bottom:20px}.auth-mode-switch button{padding:8px;border:none;border-radius:6px;background:transparent;font-weight:600;color:#64748b}.auth-mode-switch button.active{background:#fff;color:#0f172a;box-shadow:0 2px 8px #0000000f}.auth-card form{display:grid;gap:12px;text-align:left}.auth-card input{width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#1e293b}.auth-card input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.auth-submit{padding:12px;border:none;border-radius:8px;background:#1d4ed8;color:#fff;font-weight:700;font-size:14px}.auth-submit:hover{background:#1e40af}.auth-error{margin-top:12px;padding:10px;background:#fef2f2;color:#dc2626;border-radius:8px;font-size:13px}.app-shell.single-page{display:grid;grid-template-rows:auto 1fr;height:100vh;overflow:hidden}.topbar{display:flex;align-items:center;gap:16px;padding:0 20px;height:56px;border-bottom:1px solid #e2e8f0;background:#fff}.topbar-left{display:flex;align-items:center;gap:10px;font-weight:800;font-size:15px;color:#0f172a}.topbar-left .synclave-logo img{width:28px;height:28px;border-radius:6px}.topbar-tabs{display:flex;gap:4px;margin-left:24px}.topbar-tabs button{padding:8px 14px;border:none;border-radius:6px;background:transparent;color:#64748b;font-weight:600;font-size:13px}.topbar-tabs button.active{background:#eff6ff;color:#1d4ed8}.topbar-tabs button:hover:not(.active){background:#f8fafc}.topbar-right{margin-left:auto;display:flex;align-items:center;gap:12px}.user-badge{font-size:12px;color:#64748b}.topbar-right button{padding:6px 12px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;font-size:12px;font-weight:600}.consensus-layout{display:grid;grid-template-columns:260px 1fr;height:100%;overflow:hidden}.content-sidebar{display:flex;flex-direction:column;border-right:1px solid #e2e8f0;background:#fff;overflow:hidden}.sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid #f1f5f9}.sidebar-head h3{margin:0;font-size:13px;font-weight:700;color:#0f172a}.upload-btn{padding:5px 10px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#2563eb;font-size:12px;font-weight:600;cursor:pointer}.upload-btn:hover{background:#eff6ff}.content-list{flex:1;overflow-y:auto;padding:8px}.content-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:8px 10px;border-radius:6px;cursor:pointer;font-size:12px}.content-item:hover{background:#f8fafc}.content-item.selected{background:#eff6ff}.content-item strong{display:block;font-size:12px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.content-item span{display:block;font-size:11px;color:#94a3b8}.content-item input[type=checkbox]{width:14px;height:14px}.remove-btn{border:none;background:none;color:#94a3b8;font-size:16px;padding:2px 6px;border-radius:4px}.remove-btn:hover{color:#dc2626;background:#fef2f2}.selected-count{padding:10px 16px;font-size:11px;font-weight:600;color:#2563eb;background:#eff6ff;border-top:1px solid #e2e8f0}.empty-hint{padding:16px;color:#94a3b8;font-size:12px;text-align:center}.consensus-main{overflow-y:auto;padding:24px 32px;display:flex;flex-direction:column;gap:20px}.prompt-form{display:grid;gap:10px}.prompt-form textarea{width:100%;padding:14px 16px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#1e293b;resize:vertical;min-height:80px;font-size:14px}.prompt-form textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb14}.prompt-actions{display:flex;gap:10px;align-items:center}.context-input{flex:1;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#1e293b;font-size:13px}.context-input:focus{outline:none;border-color:#2563eb}.run-btn{padding:10px 20px;border:none;border-radius:8px;background:#1d4ed8;color:#fff;font-weight:700;white-space:nowrap}.run-btn:hover:not(:disabled){background:#1e40af}.run-btn:disabled{opacity:.5;cursor:not-allowed}.turn-indicator{display:flex;align-items:center;gap:12px;font-size:12px;color:#64748b}.turn-indicator button{padding:4px 10px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;font-size:11px}.inline-error{padding:10px 14px;background:#fef2f2;color:#dc2626;border-radius:8px;font-size:13px}.live-progress{padding:16px;background:#fff;border:1px solid #e2e8f0;border-radius:10px}.stage-bar{display:flex;gap:4px;margin-bottom:12px}.stage-bar span{flex:1;padding:6px 8px;border-radius:6px;background:#f1f5f9;color:#94a3b8;font-size:11px;font-weight:600;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stage-bar span.done{background:#dcfce7;color:#16a34a}.stage-bar span.active{background:#dbeafe;color:#1d4ed8;animation:pulse 1.5s ease infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.provider-status-row{display:flex;gap:6px;flex-wrap:wrap}.prov-chip{padding:4px 10px;border-radius:20px;font-size:11px;font-weight:600}.prov-chip.queued{background:#f1f5f9;color:#94a3b8}.prov-chip.thinking{background:#fef3c7;color:#b45309}.prov-chip.answered{background:#dcfce7;color:#16a34a}.prov-chip.prompted{background:#dbeafe;color:#1d4ed8}.prov-chip.failed{background:#fef2f2;color:#dc2626}.live-event{margin:8px 0 0;font-size:12px;color:#64748b}.result-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.result-header{display:flex;align-items:center;gap:16px;padding:16px 20px;border-bottom:1px solid #f1f5f9}.result-header h3{margin:0;font-size:14px;color:#0f172a}.run-id{font-size:11px;color:#94a3b8;font-family:monospace}.score-ring{text-align:center;min-width:56px}.score-ring strong{display:block;font-size:22px;color:#0f172a}.score-ring span{font-size:10px;color:#64748b;text-transform:uppercase;font-weight:700}.result-tabs{display:flex;gap:2px;padding:8px 12px;background:#f8fafc;border-bottom:1px solid #f1f5f9}.result-tabs button{padding:6px 12px;border:none;border-radius:6px;background:transparent;color:#64748b;font-size:12px;font-weight:600;text-transform:capitalize}.result-tabs button.active{background:#fff;color:#1d4ed8;box-shadow:0 1px 4px #0000000f}.tab-content{padding:20px}.tab-content h4{margin:0 0 8px;color:#0f172a}.tab-content p{color:#475569;line-height:1.6}.verdict{display:inline-block;padding:4px 12px;background:#eff6ff;color:#1d4ed8;border-radius:20px;font-size:12px;font-weight:700;margin-bottom:12px}.exec-summary{margin-top:12px;color:#64748b;font-size:13px}.markdown-panel{color:#334155;line-height:1.7}.markdown-panel h2,.markdown-panel h3{color:#0f172a;margin:16px 0 8px}.markdown-panel ul,.markdown-panel ol{padding-left:20px}.markdown-panel code{background:#f1f5f9;padding:2px 6px;border-radius:4px;font-size:13px}.models-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.model-card{border:1px solid #e2e8f0;border-radius:8px;padding:12px}.model-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.model-card-head strong{font-size:12px;color:#0f172a}.model-card-head .status.ok{color:#16a34a}.model-card-head .status.fail{color:#dc2626}.model-output{font-size:12px;color:#475569;margin:0;line-height:1.5;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical}.model-meta{display:flex;gap:12px;margin-top:8px;font-size:11px;color:#94a3b8}.model-error{font-size:12px;color:#dc2626;margin:0}.evidence-item,.disagreement-item,.action-item{padding:12px 0;border-bottom:1px solid #f1f5f9}.evidence-item strong,.disagreement-item strong,.action-item strong{display:block;color:#0f172a;font-size:13px}.evidence-item span,.disagreement-item span,.action-item span{font-size:11px;color:#64748b}.evidence-item p,.disagreement-item p,.action-item p{margin:6px 0 0;font-size:13px;color:#475569}.result-actions-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.result-actions-bar button{padding:6px 12px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#475569;font-size:12px;font-weight:600}.result-actions-bar button:hover{background:#f8fafc;border-color:#cbd5e1}.feedback-msg{font-size:12px;color:#16a34a;font-weight:600}.run-history h4{margin:0 0 8px;font-size:13px;color:#64748b}.run-list{display:grid;gap:4px}.run-list button{display:flex;align-items:center;gap:12px;width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;text-align:left;color:#334155;font-size:13px}.run-list button:hover{background:#f8fafc}.run-list button span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.run-list button strong{color:#1d4ed8;font-size:13px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:60px 20px;color:#64748b}.empty-state .empty-mark img{width:48px;height:48px;opacity:.4}.empty-state h3{margin:16px 0 8px;color:#0f172a}.empty-state p{max-width:400px;font-size:13px}.page-content{overflow-y:auto;padding:32px}.page-head{margin-bottom:24px}.page-head h2{margin:0 0 4px;font-size:22px;color:#0f172a}.page-head p{margin:0;color:#64748b;font-size:14px}.knowledge-controls{display:flex;gap:10px;margin-bottom:16px}.knowledge-controls select,.knowledge-controls button{padding:8px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#1e293b;font-size:13px}.knowledge-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}.knowledge-card{border:1px solid #e2e8f0;border-radius:10px;padding:16px;background:#fff}.knowledge-card-head{display:flex;justify-content:space-between;margin-bottom:8px}.knowledge-card-head span{font-size:11px;color:#64748b;text-transform:capitalize}.knowledge-card-head strong{font-size:11px;color:#16a34a;text-transform:capitalize}.knowledge-card h4{margin:0 0 6px;font-size:14px;color:#0f172a}.knowledge-card p{margin:0;font-size:13px;color:#475569;line-height:1.5}.knowledge-meta{display:flex;gap:12px;margin-top:10px;font-size:11px;color:#94a3b8}.team-grid{display:grid;grid-template-columns:1fr 320px;gap:24px}.team-list h4{margin:0 0 12px;color:#0f172a;font-size:14px}.team-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #f1f5f9;font-size:13px}.team-row strong{flex:1;color:#0f172a}.team-row span{color:#64748b;font-size:12px}.team-row .active{color:#16a34a}.team-row .inactive{color:#dc2626}.invite-form{display:grid;gap:10px;align-content:start}.invite-form h4{margin:0;font-size:14px;color:#0f172a}.invite-form input,.invite-form select{padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#1e293b}.invite-form button{padding:10px;border:none;border-radius:8px;background:#1d4ed8;color:#fff;font-weight:600}.settings-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.settings-card{border:1px solid #e2e8f0;border-radius:10px;padding:20px;background:#fff}.settings-card h4{margin:0 0 14px;font-size:14px;color:#0f172a}.settings-card label{display:grid;gap:4px;margin-bottom:12px;font-size:12px;font-weight:600;color:#64748b}.settings-card input{padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#1e293b;font-weight:400;font-size:14px}.settings-card button{padding:8px 16px;border:none;border-radius:6px;background:#1d4ed8;color:#fff;font-weight:600;font-size:13px}.settings-card p{margin:6px 0;font-size:13px;color:#475569}.success-msg{font-size:12px;color:#16a34a;margin-left:8px}.ai-panel-list{display:grid;gap:6px}.ai-panel-row{display:flex;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid #f8fafc;font-size:12px}.ai-panel-row strong{color:#0f172a;min-width:80px}.ai-panel-row span{color:#475569}.ai-panel-row em{color:#94a3b8;font-style:normal}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;background:#0f172a80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{width:min(400px,90%);padding:32px;background:#fff;border-radius:16px;text-align:center;box-shadow:0 24px 64px #0f172a33}.modal h3{margin:0 0 8px;color:#0f172a}.modal p{margin:0 0 20px;color:#64748b;font-size:14px}.modal button{padding:10px 24px;border:none;border-radius:8px;background:#1d4ed8;color:#fff;font-weight:700}.modal-close{background:none!important;color:#64748b!important;font-size:13px;margin-top:12px}@media (max-width: 768px){.consensus-layout{grid-template-columns:1fr}.content-sidebar{display:none}.topbar-tabs{overflow-x:auto}.team-grid{grid-template-columns:1fr}}.synclave-logo{display:inline-flex;align-items:center}.synclave-logo img{border-radius:6px}.mode-bar{display:flex;align-items:center;justify-content:space-between;gap:12px}.mode-switch{display:flex;gap:4px;padding:4px;background:#f1f5f9;border-radius:8px}.mode-switch button{padding:8px 16px;border:none;border-radius:6px;background:transparent;color:#64748b;font-weight:600;font-size:13px}.mode-switch button.active{background:#fff;color:#1d4ed8;box-shadow:0 2px 8px #0000000f}.new-session-btn{padding:8px 16px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#1d4ed8;font-weight:700;font-size:13px}.new-session-btn:hover{background:#eff6ff}.config-row{display:flex;gap:12px;flex-wrap:wrap}.config-row label{display:flex;flex-direction:column;gap:4px;min-width:130px}.config-row label span{font-size:11px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.config-row select{padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#1e293b;font-size:13px;cursor:pointer}.config-row select:focus{outline:none;border-color:#2563eb}.boardroom-panel{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#0f172a,#1e293b 60%,#0f766e)}.boardroom-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.1)}.boardroom-chair{display:flex;align-items:center;gap:12px}.boardroom-chair .chair-logo img{width:36px;height:36px;border-radius:8px}.boardroom-chair strong{display:block;color:#fff;font-size:14px}.boardroom-chair span{display:block;color:#fff9;font-size:12px}.boardroom-indicator{padding:6px 12px;border-radius:20px;font-size:12px;font-weight:700}.boardroom-indicator.live{background:#ef444433;color:#fca5a5;animation:pulse 1.5s infinite}.boardroom-indicator.done{background:#22c55e33;color:#86efac}.boardroom-indicator.idle{background:#ffffff1a;color:#ffffff80}.boardroom-seats{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;background:#ffffff0f}.board-seat{padding:16px 14px;background:#0f172a99;display:flex;flex-direction:column;gap:8px;min-height:140px}.board-seat.thinking{background:#1e3a5fcc}.board-seat.answered{background:#0f3c3299}.seat-avatar{width:36px;height:36px;border-radius:8px;background:#ffffff1f;display:grid;place-items:center;color:#fff;font-weight:900;font-size:14px}.seat-info strong{display:block;color:#fff;font-size:13px}.seat-info em{color:#ffffff80;font-style:normal;font-size:11px}.seat-status-badge{margin-top:auto}.badge{display:inline-block;padding:3px 8px;border-radius:12px;font-size:10px;font-weight:700}.badge.thinking{background:#fbbf2433;color:#fcd34d}.badge.queued{background:#ffffff14;color:#fff6}.badge.answered{background:#22c55e33;color:#86efac}.badge.failed{background:#ef444433;color:#fca5a5}.badge.idle{background:#ffffff0f;color:#ffffff59}.seat-excerpt{margin:0;font-size:11px;color:#ffffff80;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.boardroom-progress{height:3px;background:#ffffff0f}.boardroom-progress-bar{height:100%;background:linear-gradient(90deg,#2563eb,#0f766e);border-radius:2px;transition:width .6s ease}.boardroom-footer{display:flex;gap:16px;padding:12px 20px;border-top:1px solid rgba(255,255,255,.08);font-size:12px;color:#fff9;font-weight:600}.seat-latency{font-size:10px;color:#ffffff59;margin-top:4px}@media (max-width: 900px){.boardroom-seats{grid-template-columns:repeat(2,1fr)}.config-row{gap:8px}.config-row label{min-width:100px}}
