/* ── 公积金贷款计算器 ── */

/* 商贷对比区 */
.comm-compare {
    margin-top: 1rem;
    background: #f0f7ff;
    border: 1px solid #c7deff;
    border-radius: 8px;
    overflow: hidden;
}

.comm-compare-title {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2563eb;
    background: #e0edff;
}

.comm-compare-body {
    padding: 0;
}

.comm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
    border-top: 1px solid #d6e8ff;
}

.comm-row:first-child {
    border-top: none;
}

.comm-row span {
    color: #555;
}

.comm-row strong {
    color: #333;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
}

.comm-row.highlight {
    background: #dbeafe;
}

.comm-row.highlight span {
    color: #1e40af;
    font-weight: 600;
}

.comm-row.highlight strong {
    color: #dc2626;
    font-weight: 700;
    font-size: 1rem;
}

/* 额度参考表（Tool Area 内） */
.quota-ref {
    margin-top: 2rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 1.5rem;
}

.quota-ref-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.quota-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.quota-table th,
.quota-table td {
    padding: 0.6rem 1rem;
    text-align: left;
    border: 1px solid #e8eaf0;
}

.quota-table th {
    background: #f8f9fb;
    color: #555;
    font-weight: 600;
    font-size: 0.85rem;
}

.quota-table td {
    color: #333;
}

.quota-table tbody tr:hover {
    background: #fafbfc;
}

.quota-note {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #999;
}

/* 额度详情表（灰色背景区） */
.quota-detail {
    max-width: 860px;
    margin: 0 auto;
}

.quota-detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8eaf0;
}

.quota-detail-table th,
.quota-detail-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.quota-detail-table th {
    background: #f8f9fb;
    color: #555;
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 2px solid #e8eaf0;
}

.quota-detail-table td {
    color: #333;
}

.quota-detail-table tbody tr:hover {
    background: #fafbfc;
}

.quota-detail-table tbody tr:last-child td {
    border-bottom: none;
}

.quota-tips {
    margin-top: 1.5rem;
    background: white;
    border: 1px solid #e8eaf0;
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
}

.quota-tips p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.6rem;
}

.quota-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quota-tips li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.8;
}

.quota-tips li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 5px;
    height: 5px;
    background: #2563eb;
    border-radius: 50%;
}

/* Mobile */
@media (max-width: 640px) {
    .quota-table,
    .quota-detail-table {
        font-size: 0.8rem;
    }

    .quota-table th,
    .quota-table td,
    .quota-detail-table th,
    .quota-detail-table td {
        padding: 0.5rem 0.6rem;
    }

    .comm-row {
        font-size: 0.82rem;
    }
}