body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f5f5f5;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header {
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.model-info {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.model-info p {
    margin: 5px 0;
}

.controls {
    margin: 20px 0;
}

button {
    padding: 8px 16px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f8f9fa;
    cursor: pointer;
}

button:hover {
    background: #e9ecef;
}

button.primary {
    background: #007bff;
    color: white;
    border-color: #0056b3;
}

button.primary:hover {
    background: #0056b3;
}

.section {
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.section-header {
    padding: 10px;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.section-header h2 {
    margin: 0;
    font-size: 1.2em;
}

.count {
    color: #666;
    font-size: 0.9em;
}

.content {
    padding: 15px;
}

.file-item {
    margin: 10px 0;
    border: 1px solid #eee;
    border-radius: 4px;
}

.file-header {
    display: flex;
    align-items: center;
    padding: 8px;
    background: #f8f9fa;
}

.file-header h3 {
    margin: 0 10px;
    font-size: 1em;
}

.file-info {
    color: #666;
    font-size: 0.9em;
}

.file-preview {
    width: 100%;
    min-height: 3em;
    max-height: 9em;
    padding: 10px;
    margin: 0;
    border: none;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    font-family: "Consolas", "Monaco", monospace;
    font-size: 0.9em;
    resize: vertical;
}

.message {
    margin: 10px 0;
    border: 1px solid #eee;
    border-radius: 4px;
}

.message-header {
    display: flex;
    align-items: center;
    padding: 8px;
    background: #f8f9fa;
}

.role {
    font-weight: bold;
    margin: 0 10px;
}

.message-content {
    width: 100%;
    min-height: 3em;
    max-height: 9em;
    padding: 10px;
    margin: 0;
    border: none;
    font-family: "Consolas", "Monaco", monospace;
    font-size: 0.9em;
    resize: vertical;
    background: white;
}

.user { border-left: 4px solid #2196f3; }
.assistant { border-left: 4px solid #4caf50; }
.system { border-left: 4px solid #ff9800; }

.git-info {
    margin-top: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 0.9em;
    color: #666;
}