.cd-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cd-result {
    margin-top: 1.5rem;
}

.cd-highlight {
    padding: 1.2rem;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    text-align: center;
}

.cd-highlight-label {
    font-size: 0.9rem;
    color: #2563eb;
    margin-bottom: 0.35rem;
}

.cd-highlight-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1d4ed8;
    line-height: 1.2;
    word-break: break-all;
}

.cd-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.cd-card {
    padding: 1.1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.cd-card-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.45rem;
}

.cd-card-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    word-break: break-all;
}

.cd-profit {
    color: #059669;
}

.cd-note {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-size: 0.92rem;
}

.cd-article p {
    margin: 0 0 1rem;
    color: #4b5563;
    line-height: 1.9;
}

.cd-table-wrap {
    margin-top: 1.25rem;
    overflow-x: auto;
}

.cd-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.cd-table th,
.cd-table td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

.cd-table th {
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
}

.cd-table td {
    color: #475569;
}

.cd-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 640px) {
    .cd-form,
    .cd-result-grid {
        grid-template-columns: 1fr;
    }

    .cd-highlight-value {
        font-size: 1.5rem;
    }
}
