/* 聚焦文件面板 */
.sidebar.right-sidebar {
    display: flex;
    flex-direction: column;
}

.sidebar.right-sidebar .sidebar-header {
    padding: 20px 20px 8px;
    border-bottom: 1px solid var(--claude-border);
    background: var(--claude-panel);
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sidebar.right-sidebar .sidebar-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--claude-text);
    margin: 0;
}

.focused-files {
    flex: 1 1 auto;
    padding: 12px 20px 20px;
    overflow-y: auto;
}

.focus-close-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.08);
    color: var(--claude-text);
    font-size: 20px;
    cursor: pointer;
}

.no-files {
    text-align: center;
    color: var(--claude-text-secondary);
    padding: 60px 20px;
    font-size: 14px;
}

.file-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-tab {
    border: 1px solid var(--claude-border);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 12px 28px rgba(61, 57, 41, 0.08);
}

.tab-header {
    background: rgba(218, 119, 86, 0.08);
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    border-bottom: 1px solid var(--claude-border);
}

.file-name {
    font-weight: 500;
    color: var(--claude-text);
}

.file-size {
    color: var(--claude-text-secondary);
    font-size: 12px;
}

.file-content {
    max-height: 320px;
    overflow-y: auto;
    background: #ffffff;
}

.file-content pre {
    margin: 0;
    padding: 16px;
}

.file-content code {
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #1f2227;
}
