:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--color-primary: #000000;--color-primary-dark: #000000;--color-primary-light: #333333;--color-secondary: #000000;--color-background: #ffffff;--color-surface: #f5f5f5;--color-surface-light: #e8e8e8;--color-text: #000000;--color-text-secondary: #666666;--color-text-muted: #999999;--color-border: #e0e0e0;--color-success: #000000;--color-warning: #666666;--color-error: #000000;--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px;--spacing-2xl: 48px;--radius-sm: 2px;--radius-md: 4px;--radius-lg: 6px;--radius-xl: 8px;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);--shadow-glow: 0 0 20px rgba(99, 102, 241, .3)}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#fff;color:var(--color-text)}#root{height:100vh;width:100vw;overflow:hidden}.markdown-content{padding:var(--spacing-md);line-height:1.7}.markdown-content p{margin:0 0 12px}.markdown-content p:last-child{margin-bottom:0}.markdown-content h1,.markdown-content h2,.markdown-content h3,.markdown-content h4,.markdown-content h5,.markdown-content h6{margin:16px 0 8px}.markdown-content h1:first-child,.markdown-content h2:first-child,.markdown-content h3:first-child,.markdown-content h4:first-child,.markdown-content h5:first-child,.markdown-content h6:first-child{margin-top:0}.markdown-content ul,.markdown-content ol{margin:0 0 12px;padding-left:24px}.markdown-content li{margin:4px 0}.markdown-content pre{background:var(--color-surface);padding:var(--spacing-md);border-radius:var(--radius-md);overflow-x:auto;margin:0 0 var(--spacing-md) 0;border:1px solid var(--color-border)}.markdown-content code{background:var(--color-surface);padding:3px 8px;border-radius:var(--radius-sm);font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:.875em;color:var(--color-text);border:1px solid var(--color-border)}.markdown-content pre code{background:none;padding:0}.markdown-content blockquote{margin:0 0 var(--spacing-md) 0;padding:var(--spacing-md) var(--spacing-lg);border-left:3px solid var(--color-primary);background:#f5f5f5;border-radius:var(--radius-sm);color:var(--color-text-secondary)}.sidebar{width:300px;background:#000;border-right:2px solid #000000;display:flex;flex-direction:column;height:100vh;box-shadow:4px 0 10px #0000001a;position:relative;z-index:1}.sidebar-header{padding:var(--spacing-xl) var(--spacing-lg);border-bottom:2px solid #000000;background:#000}.sidebar-header h1{font-size:24px;margin:0 0 var(--spacing-lg) 0;color:#fff;font-weight:800;letter-spacing:-.8px;line-height:1.2}.sidebar-nav{display:flex;gap:var(--spacing-sm);padding:var(--spacing-md) var(--spacing-lg);border-bottom:2px solid #000000;background:#000}.nav-button{flex:1;padding:var(--spacing-sm) var(--spacing-md);background:#fff;border:2px solid #000000;border-radius:var(--radius-sm);color:#000;text-decoration:none;font-size:14px;font-weight:700;cursor:pointer;transition:all .2s ease;box-shadow:2px 2px #000;display:flex;align-items:center;justify-content:center;gap:var(--spacing-xs);font-family:Inter,sans-serif;letter-spacing:.3px}.nav-button:hover{transform:translate(-2px,-2px);box-shadow:4px 4px #000}.nav-button:active{transform:translate(0);box-shadow:1px 1px #000}.nav-button svg{width:16px;height:16px;flex-shrink:0}.new-conversation-btn{width:100%;padding:var(--spacing-md) var(--spacing-lg);background:#fff;border:2px solid #000000;border-radius:var(--radius-sm);color:#000;cursor:pointer;font-size:14px;font-weight:700;transition:all .2s ease;box-shadow:4px 4px #000;font-family:Inter,sans-serif;letter-spacing:.3px;position:relative;z-index:10;pointer-events:auto}.new-conversation-btn:hover{transform:translate(-2px,-2px);box-shadow:6px 6px #000}.new-conversation-btn:active{transform:translate(0);box-shadow:2px 2px #000}.conversation-list{flex:1;overflow-y:auto;padding:var(--spacing-md);scrollbar-width:thin;background:#000}.conversation-list::-webkit-scrollbar{width:6px}.conversation-list::-webkit-scrollbar-track{background:#ffffff1a;border-radius:0}.conversation-list::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:0;transition:background .2s}.conversation-list::-webkit-scrollbar-thumb:hover{background:#ffffff80}.no-conversations{padding:var(--spacing-2xl);text-align:center;color:#ffffff80;font-size:14px;font-weight:500}.conversation-item{padding:var(--spacing-md) var(--spacing-lg);margin-bottom:var(--spacing-sm);border-radius:var(--radius-sm);cursor:pointer;transition:all .2s ease;background:#ffffff0d;border:2px solid rgba(255,255,255,.1)}.conversation-item:hover{background:#ffffff1a;border-color:#ffffff4d;transform:translate(2px)}.conversation-item.active{background:#fff;border:2px solid #000000;color:#000;box-shadow:4px 4px #000;transform:translate(2px)}.conversation-item.active .conversation-title{color:#000;font-weight:700}.conversation-item.active .conversation-meta{color:#666}.conversation-title{color:#fff;font-size:14px;margin-bottom:var(--spacing-xs);font-weight:600;line-height:1.4;letter-spacing:-.2px}.conversation-meta{color:#fff9;font-size:12px;font-weight:500;letter-spacing:.2px}.stage{margin:24px 0;padding:20px;background:#fafafa;border-radius:8px;border:1px solid #e0e0e0}.stage-title{margin:0 0 16px;color:#333;font-size:16px;font-weight:600}.tabs{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.tab{padding:8px 16px;background:#fff;border:1px solid #d0d0d0;border-radius:6px 6px 0 0;color:#666;cursor:pointer;font-size:14px;transition:all .2s}.tab:hover{background:#f0f0f0;color:#333;border-color:#4a90e2}.tab.active{background:#fff;color:#4a90e2;border-color:#4a90e2;border-bottom-color:#fff;font-weight:600}.tab-content{background:#fff;padding:16px;border-radius:6px;border:1px solid #e0e0e0}.model-name{color:#888;font-size:12px;margin-bottom:12px;font-family:monospace}.response-text{color:#333;line-height:1.6}.stage2{background:#fafafa}.stage2 h4{margin:20px 0 8px;color:#333;font-size:14px;font-weight:600}.stage2 h4:first-of-type{margin-top:0}.stage-description{margin:0 0 12px;color:#666;font-size:13px;line-height:1.5}.aggregate-rankings{background:#f0f7ff;padding:16px;border-radius:8px;margin-bottom:20px;border:2px solid #d0e7ff}.aggregate-rankings h4{margin:0 0 12px;color:#2a7ae2;font-size:15px}.aggregate-list{display:flex;flex-direction:column;gap:8px}.aggregate-item{display:flex;align-items:center;gap:12px;padding:10px;background:#fff;border-radius:6px;border:1px solid #d0e7ff}.rank-position{color:#2a7ae2;font-weight:700;font-size:16px;min-width:35px}.rank-model{flex:1;color:#333;font-family:monospace;font-size:14px;font-weight:500}.rank-score{color:#666;font-size:13px;font-family:monospace}.stage2 .tabs{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.stage2 .tab{padding:8px 16px;background:#fff;border:1px solid #d0d0d0;border-radius:6px 6px 0 0;color:#666;cursor:pointer;font-size:14px;transition:all .2s}.stage2 .tab:hover{background:#f0f0f0;color:#333;border-color:#4a90e2}.stage2 .tab.active{background:#fff;color:#4a90e2;border-color:#4a90e2;border-bottom-color:#fff;font-weight:600}.stage2 .tab-content{background:#fff;padding:16px;border-radius:6px;border:1px solid #e0e0e0;margin-bottom:20px}.ranking-model{color:#888;font-size:12px;font-family:monospace;margin-bottom:12px}.ranking-content{color:#333;line-height:1.6;font-size:14px}.parsed-ranking{margin-top:16px;padding-top:16px;border-top:2px solid #e0e0e0}.parsed-ranking strong{color:#2a7ae2;font-size:13px}.parsed-ranking ol{margin:8px 0 0;padding-left:24px;color:#333}.parsed-ranking li{margin:4px 0;font-family:monospace;font-size:13px}.rank-count{color:#999;font-size:12px}.stage3{background:#f0fff0;border-color:#c8e6c8}.final-response{background:#fff;padding:20px;border-radius:6px;border:1px solid #c8e6c8}.chairman-label{color:#2d8a2d;font-size:12px;font-family:monospace;margin-bottom:12px;font-weight:600}.final-text{color:#333;line-height:1.7;font-size:15px}.chat-interface{flex:1;display:flex;flex-direction:column;height:100vh;background:#fff;border-left:2px solid #000000;margin:0;overflow:hidden;position:relative;z-index:1}.messages-container{flex:1;overflow-y:auto;padding:var(--spacing-2xl);background:#fff;scrollbar-width:thin}.messages-container::-webkit-scrollbar{width:8px}.messages-container::-webkit-scrollbar-track{background:#f0f0f0;border-radius:0}.messages-container::-webkit-scrollbar-thumb{background:silver;border-radius:0;transition:background .2s}.messages-container::-webkit-scrollbar-thumb:hover{background:#a0a0a0}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--color-text-secondary);text-align:center;padding:var(--spacing-2xl)}.empty-state h2{margin:0 0 var(--spacing-md) 0;font-size:32px;font-weight:800;color:#000;letter-spacing:-1px;line-height:1.2}.empty-state p{margin:0;font-size:16px;color:var(--color-text-muted);font-weight:500;letter-spacing:.2px}.message-group{margin-bottom:var(--spacing-xl)}.user-message,.assistant-message{margin-bottom:var(--spacing-lg)}.user-message{max-width:75%;margin-left:auto}.assistant-message{max-width:85%}.assistant-message .message-content{background:#fff;padding:var(--spacing-lg) var(--spacing-xl);border-radius:var(--radius-sm);border:2px solid #000000;box-shadow:4px 4px #000;transition:all .2s ease}.assistant-message .message-content:hover{box-shadow:6px 6px #000;transform:translate(-2px,-2px)}.message-label{font-size:11px;font-weight:700;color:var(--color-text-secondary);margin-bottom:var(--spacing-sm);text-transform:uppercase;letter-spacing:1.2px;font-family:Inter,sans-serif}.user-message .message-label{text-align:right;color:#000}.assistant-message .message-label{color:#000}.user-message .message-content{background:#000;padding:var(--spacing-md) var(--spacing-lg);border-radius:var(--radius-sm);border:2px solid #000000;color:#fff;line-height:1.7;white-space:pre-wrap;box-shadow:4px 4px #000;font-weight:500;letter-spacing:.1px}.loading-indicator{display:flex;align-items:center;gap:var(--spacing-md);padding:var(--spacing-md) var(--spacing-lg);color:#000;font-size:14px;font-weight:600;background:#f5f5f5;border-radius:var(--radius-sm);margin:var(--spacing-lg) 0;max-width:fit-content;border:2px solid #000000;box-shadow:2px 2px #000;letter-spacing:.3px}.stage-loading{display:flex;align-items:center;gap:var(--spacing-md);padding:var(--spacing-md) var(--spacing-lg);margin:var(--spacing-md) 0;background:#f5f5f5;border-radius:var(--radius-sm);border:2px solid #000000;color:#000;font-size:14px;font-weight:600;font-style:italic;box-shadow:2px 2px #000;letter-spacing:.2px}.spinner{width:20px;height:20px;border:2.5px solid rgba(0,0,0,.2);border-top-color:#000;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.input-form{display:flex;align-items:flex-end;gap:var(--spacing-md);padding:var(--spacing-xl);border-top:2px solid #000000;background:#fff;box-shadow:0 -4px 10px #0000000d}.message-input{flex:1;padding:var(--spacing-md) var(--spacing-lg);background:#fff;border:2px solid #000000;border-radius:var(--radius-sm);color:var(--color-text);font-size:15px;font-family:Inter,sans-serif;line-height:1.6;outline:none;resize:vertical;min-height:80px;max-height:300px;transition:all .2s ease;font-weight:500;letter-spacing:.1px}.message-input::placeholder{color:var(--color-text-muted);font-weight:500}.message-input:focus{border-color:#000;background:#fff;box-shadow:0 0 0 4px #0000001a,4px 4px #000;transform:translate(-2px,-2px)}.message-input:disabled{opacity:.5;cursor:not-allowed;background:#f5f5f5;transform:none}.send-button{padding:var(--spacing-md) var(--spacing-xl);background:#000;border:2px solid #000000;border-radius:var(--radius-sm);color:#fff;font-size:15px;font-weight:700;cursor:pointer;transition:all .2s ease;white-space:nowrap;align-self:flex-end;box-shadow:4px 4px #000;font-family:Inter,sans-serif;letter-spacing:.5px}.send-button:hover:not(:disabled){transform:translate(-2px,-2px);box-shadow:6px 6px #000}.send-button:active:not(:disabled){transform:translate(0);box-shadow:2px 2px #000}.send-button:disabled{opacity:.5;cursor:not-allowed;background:#ccc;border-color:#ccc;transform:none;box-shadow:none}*{box-sizing:border-box}.app{display:flex;height:100vh;width:100vw;overflow:hidden;background:#fff;color:var(--color-text);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;position:relative}
