.soil-two-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 2px;  /* 进一步减小上下区域间距 */
    height: 100%;
}

.soil-grid-top {
    width: 100%;
}

.soil-grid-bottom {
    width: 100%;
}

/* 进一步压缩Land-use区域 */
.soil-group-content.compact-header {
    padding: 0;  /* 移除内边距 */
}

.soil-group-content.compact-header .el-form-item {
    margin-bottom: 0;
}

/* 压缩Land-use的select样式 */
.soil-group-content.compact-header :deep(.el-form-item__label) {
    line-height: 24px;  /* 压缩行高 */
    height: 24px;  /* 固定高度 */
    font-size: 12px;
    padding-right: 8px;
}

.soil-group-content.compact-header :deep(.el-select) {
    height: 24px;  /* 固定高度 */
}

.soil-group-content.compact-header :deep(.el-select .el-input__inner) {
    height: 24px;  /* 进一步减小高度 */
    line-height: 24px;  /* 压缩行高 */
    font-size: 12px;
    padding: 0 8px;  /* 减小内边距 */
}

.soil-group-content.compact-header :deep(.el-select .el-input__suffix) {
    top: -2px;  /* 调整图标位置 */
}

.soil-group-content.compact-header :deep(.el-select .el-input__icon) {
    line-height: 24px;  /* 压缩图标行高 */
    height: 24px;  /* 固定高度 */
}

/* 进一步压缩tabs样式 */
.soil-tabs.compact-tabs {
    width: 100%;
}

.soil-tabs.compact-tabs :deep(.el-tabs__header) {
    margin-bottom: 1px;  /* 最小化tab底部间距 */
}

.soil-tabs.compact-tabs :deep(.el-tabs__nav) {
    border-radius: 3px 3px 0 0;
}

.soil-tabs.compact-tabs :deep(.el-tabs__item) {
    height: 24px;  /* 进一步减小tab高度 */
    line-height: 24px;  /* 压缩行高 */
    padding: 0 8px;  /* 进一步减小tab内边距 */
    font-size: 12px;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    margin-right: 2px;  /* 减小tab之间的间距 */
}

.soil-tabs.compact-tabs :deep(.el-tabs__item:first-child) {
    border-top-left-radius: 3px;
}

.soil-tabs.compact-tabs :deep(.el-tabs__item:last-child) {
    border-top-right-radius: 3px;
}

.soil-tabs.compact-tabs :deep(.el-tabs__item.is-active) {
    background-color: #f5f7fa;
    border-bottom-color: #f5f7fa;
    font-weight: normal;  /* 移除加粗 */
}

/* 进一步压缩组样式 */
.soil-group.no-border.compact-group {
    border: none;
    border-radius: 0;
}

.soil-group-header.compact-header {
    background-color: #f5f7fa;
    padding: 2px 8px;  /* 最小化头部内边距 */
    border-bottom: 1px solid #e0e0e0;
    line-height: 22px;  /* 进一步压缩头部行高 */
    min-height: 26px;  /* 设置最小高度 */
}

/* 进一步压缩组标题 */
.soil-group-title {
    font-weight: bold;
    font-size: 12px;
    line-height: 22px;  /* 进一步压缩行高 */
    display: inline-block;
}

/* 压缩内容区域顶部边距 */
.soil-group.no-border.compact-group .soil-group-content.compact-content {
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding: 4px;  /* 进一步减小内边距 */
}

/* 压缩所有表单项 */
.compact-form-item {
    margin-bottom: 0 !important;
}

.compact-form-item :deep(.el-form-item__label) {
    padding-right: 4px;
    line-height: 22px;  /* 进一步压缩行高 */
    font-size: 12px;
    height: 22px;  /* 进一步压缩高度 */
    white-space: nowrap;
}

.compact-form-item :deep(.el-form-item__content) {
    line-height: 22px;  /* 进一步压缩行高 */
}



/* 压缩model init params */
.soil-compact-total.compact-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1px;  /* 最小化底部间距 */
    line-height: 20px;  /* 进一步压缩行高 */
    min-height: 22px;  /* 最小高度 */
}

.soil-compact-total-label {
    font-size: 12px;
    line-height: 20px;  /* 进一步压缩行高 */
    white-space: nowrap;
}

.soil-compact-line.compact-line {
    border-bottom: 1px dashed #e0e0e0;
    margin: 2px 0;  /* 最小化上下间距 */
}

.soil-compact-four.compact-four {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;  /* 最小化列间距 */
}

.soil-compact-col {
    display: flex;
    flex-direction: column;
    gap: 1px;  /* 最小化间距 */
}

.soil-compact-label {
    font-size: 11px;
    color: #666;
    line-height: 18px;  /* 进一步压缩行高 */
    white-space: nowrap;
}

/* 压缩radio组 */
.soil-radio-container {
    display: flex;
    flex-direction: column;
    gap: 1px;  /* 最小化间距 */
    margin-top: 2px;  /* 最小化上边距 */
}

.soil-vertical-radio {
    display: block;
    margin: 0;  /* 移除边距 */
    line-height: 22px;  /* 压缩行高 */
}

.soil-vertical-radio :deep(.el-radio__label) {
    font-size: 12px;
    line-height: 22px;  /* 压缩行高 */
    padding-left: 4px;  /* 减小左侧间距 */
}

.soil-vertical-radio :deep(.el-radio__input) {
    line-height: 22px;  /* 压缩行高 */
}



/* 压缩网格间距 */
.soil-form-grid-3x3.compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;  /* 最小化网格间距 */
}

/* 确保所有元素都紧凑对齐 */
* {
    box-sizing: border-box;
}




/* 最简单的修复方案 */
.soil-group-content.compact-header {
    padding: 0;
}

.landuse-form-item {
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
}

.landuse-form-item :deep(.el-form-item__label) {
    line-height: 1;
    height: auto;
    display: flex;
    align-items: center;
    padding-right: 8px;
}

.landuse-form-item :deep(.el-form-item__content) {
    line-height: 1;
    height: auto;
    display: flex;
    align-items: center;
    margin-left: 0 !important;
}

.landuse-select :deep(.el-input__inner) {
    height: 28px;
    line-height: 28px;
}