.petition-basic-info .form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    gap: 10px;
}
.petition-basic-info .form-col {
    flex: 1 1 auto;
    min-width: 120px;
}
.petition-basic-info .form-col label {
    display: block;
    font-size: 11px;
    color: #666;
    margin-bottom: 2px;
    white-space: nowrap;
}
.petition-basic-info .form-col .form-control {
    width: 100%;
    font-size: 12px;
    padding: 4px 6px;
    height: 30px;
    border: 1px solid #ced4da;
    border-radius: 3px;
}
.petition-basic-info .form-col .form-control[readonly] {
    background-color: #f8f9fa;
}
.company-input-group {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 3px;
    border: 1px solid #dee2e6;
}
.company-input-group .project-tag {
    font-size: 11px;
    color: #0066cc;
    background: #e6f3ff;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
    font-weight: 500;
}
.company-input-group .company-input {
    flex: 1;
    min-width: 150px;
    font-size: 12px;
    padding: 4px 6px;
    height: 28px;
    border: 1px solid #ced4da;
    border-radius: 3px;
}
.company-input-group .company-input[readonly] {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}
.company-inputs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    align-items: center;
}
.company-inputs-row .company-input-wrapper {
    flex: 1 1 200px;
    min-width: 200px;
}
/* 诉求明细水平排列样式 */
.fund-row-horizontal {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.fund-item {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}
.fund-item label {
    font-size: 12px;
    white-space: nowrap;
    margin: 0;
    font-weight: 500;
}
.fund-item .fund-value {
    font-size: 12px;
    padding: 4px 8px;
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 3px;
    min-width: 80px;
    text-align: right;
}
.fund-item .fund-input {
    width: 100px;
    font-size: 12px;
    padding: 4px 8px;
    height: 30px;
    border: 1px solid #ced4da;
    border-radius: 3px;
    display: none;
}
.fund-item .fund-type-select {
    width: 120px;
    font-size: 12px;
    padding: 4px 8px;
    height: 30px;
    border: 1px solid #ced4da;
    border-radius: 3px;
    display: none;
}
.edit-fund-btn {
    padding: 2px 6px;
    font-size: 11px;
    height: 24px;
    margin-left: 5px;
}
.save-fund-btn, .cancel-fund-btn {
    padding: 2px 6px;
    font-size: 11px;
    height: 24px;
    margin-left: 5px;
    display: none;
}
.project-total-display {
    font-size: 12px;
    font-weight: bold;
    color: #0066cc;
    margin-left: 15px;
    white-space: nowrap;
}
/* 附件列表样式优化 */
.attachment-list {
    width: 100%;
    overflow: visible;
}
.attachment-list table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.attachment-list th,
.attachment-list td {
    padding: 8px 6px;
    border: 1px solid #dee2e6;
    vertical-align: middle;
}
.attachment-list th {
    background-color: #f8f9fa;
    font-weight: 600;
}
.attachment-list td:last-child {
    width: 200px;
    white-space: nowrap;
}
.attachment-list .btn-xs {
    padding: 3px 8px;
    font-size: 11px;
    margin: 0 2px;
    display: inline-block;
}
/* 二次回复复选框样式 */
.second-reply-checkbox {
    display: flex;
    align-items: center;
    height: 30px;
    margin: 0;
}
.second-reply-checkbox input {
    width: 18px;
    height: 18px;
    margin-right: 4px;
    cursor: pointer;
}
.second-reply-checkbox label {
    font-size: 12px;
    margin: 0;
    cursor: pointer;
    white-space: nowrap;
}
/* 回复区域项目下拉框样式 */
.project-reference-select {
    width: 200px;
    font-size: 12px;
    padding: 2px 4px;
    height: 24px;
    margin-left: 10px;
    border: 1px solid #ced4da;
    border-radius: 3px;
}