* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.c-matter--article .c-matter__body {
    max-width: 1000px;
    width: 100%;
}
@media (max-width: 1200px) {
    .c-matter--article .c-matter__body {
        max-width: 100%;
    }
}

/* Calculator Layout */
.efc-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .efc-calculator {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* Form Section */
.efc-form {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.efc-form h2 {
    margin-bottom: 1rem;
}

.efc-disclaimer {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.efc-field {
    margin-bottom: 1.25rem;
}

.efc-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.efc-input {
    position: relative;
    display: flex;
    align-items: center;
}

.efc-input span {
    position: absolute;
    left: 1rem;
    color: #64748b;
    font-weight: 500;
    pointer-events: none;
}

.efc-input input {
    margin: 5px 0;
}

.efc-field input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
}

/* Results Section */
.efc-results {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.efc-results h2 {
    margin-bottom: 1.5rem;
}

/* Headline Result */
.efc-headline {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 2px solid rgba(16, 185, 129, 0.3);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem;
}

.efc-headline h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.efc-headline .efc-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
}

.efc-headline p {
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
}

/* Monthly Result */
.efc-monthly {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.efc-monthly span:first-child {
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.efc-monthly .efc-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

/* Chart Section */
.efc-chart {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.efc-chart h3 {
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
}

.efc-chart canvas {
    width: auto !important;
    height: 350px !important;
    margin: 0 auto;
}

/* Action Buttons */
.efc-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
}

.efc-actions button {
    flex: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .efc-form,
    .efc-results {
        padding: 1.5rem;
    }

    .efc-headline .efc-value {
        font-size: 2rem;
    }

    .efc-actions {
        flex-direction: column;
    }

    .efc-chart canvas {
        height: 220px !important;
    }
}

@media (max-width: 480px) {
    .efc-calculator {
        padding: 0.75rem;
    }

    .efc-form,
    .efc-results {
        padding: 1rem;
    }

    .efc-headline .efc-value {
        font-size: 1.75rem;
    }

    .efc-monthly {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .efc-chart canvas {
        height: 180px !important;
    }
}

@media (max-width: 768px) {
    .efc-actions button {
        min-height: 44px;
    }
}
