* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #1e1e2e; color: #cdd6f4; height: 100vh; overflow: hidden; } #root { height: 100%; } .app { display: flex; height: 100vh; } .sidebar { width: 220px; background: #181825; border-right: 1px solid #313244; display: flex; flex-direction: column; flex-shrink: 0; } .sidebar-header { padding: 16px; font-size: 14px; font-weight: 700; color: #cdd6f4; border-bottom: 1px solid #313244; } .sidebar-placeholder { padding: 16px; font-size: 12px; color: #6c7086; flex: 1; } .main { flex: 1; display: flex; flex-direction: column; overflow: hidden; } .header { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid #313244; background: #181825; flex-shrink: 0; } .header h1 { font-size: 16px; font-weight: 600; color: #cdd6f4; } .ws-status { font-size: 11px; padding: 3px 8px; border-radius: 4px; font-weight: 500; } .ws-status[data-status="connected"] { background: #a6e3a1; color: #1e1e2e; } .ws-status[data-status="disconnected"], .ws-status[data-status="error"] { background: #f38ba8; color: #1e1e2e; } .ws-status[data-status="connecting"] { background: #f9e2af; color: #1e1e2e; } .content { flex: 1; overflow-y: auto; padding: 16px; } .message-list { display: flex; flex-direction: column; gap: 8px; } .empty-state { text-align: center; color: #6c7086; padding: 40px; } .message-item { display: flex; gap: 12px; padding: 10px 12px; background: #181825; border-radius: 6px; border: 1px solid #313244; } .message-item.type-deleted { opacity: 0.6; } .message-avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; } .message-body { flex: 1; min-width: 0; } .message-username { font-weight: 600; color: #89b4fa; margin-right: 8px; } .message-time { font-size: 11px; color: #6c7086; } .message-deleted { font-size: 11px; color: #f38ba8; margin-left: 8px; font-style: italic; } .message-content { margin-top: 4px; font-size: 13px; color: #bac2de; white-space: pre-wrap; word-break: break-word; } .review-panel { border-top: 1px solid #313244; background: #181825; flex-shrink: 0; } /* Message Card */ .message-card { display: flex; gap: 12px; padding: 12px; background: #181825; border-radius: 6px; border: 1px solid #313244; } .message-card.type-deleted { opacity: 0.6; } .message-card-avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; } .message-card-body { flex: 1; min-width: 0; } .message-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; } .message-card-username { font-weight: 600; color: #89b4fa; } .message-card-time { font-size: 11px; color: #6c7086; } .badge { font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: 500; color: #1e1e2e; } .badge-edited { background: #fab387; color: #1e1e2e; } .badge-deleted { background: #f38ba8; color: #1e1e2e; } .message-card-content { margin-top: 6px; font-size: 13px; color: #bac2de; white-space: pre-wrap; word-break: break-word; } .message-card-analysis { margin-top: 8px; padding: 8px; background: #1e1e2e; border-radius: 4px; font-size: 12px; color: #a6e3a1; white-space: pre-wrap; } .message-card-error { margin-top: 8px; padding: 8px; background: #1e1e2e; border-radius: 4px; font-size: 12px; color: #f38ba8; } .message-card-actions { margin-top: 8px; } .btn-reanalyze { padding: 4px 10px; font-size: 11px; border: none; border-radius: 4px; background: #313244; color: #cdd6f4; cursor: pointer; } .btn-reanalyze:hover:not(:disabled) { background: #45475a; } .btn-reanalyze:disabled { opacity: 0.5; cursor: not-allowed; } /* Message Feed */ .message-feed { display: flex; flex-direction: column; gap: 8px; } /* Review Panel */ .review-panel { border-top: 1px solid #313244; background: #181825; flex-shrink: 0; max-height: 250px; overflow-y: auto; } .review-header { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #313244; } .review-header h2 { font-size: 13px; font-weight: 600; color: #cdd6f4; } .review-count { font-size: 11px; padding: 2px 6px; border-radius: 10px; background: #f38ba8; color: #1e1e2e; font-weight: 600; } .review-list { display: flex; flex-direction: column; gap: 8px; padding: 12px; } .review-placeholder { padding: 16px; font-size: 12px; color: #6c7086; } .review-panel .empty-state { padding: 16px; } /* Keep existing styles */ .review-placeholder { padding: 16px; font-size: 12px; color: #6c7086; }