.calculator-sticky {
    position: sticky;
    top: 12px;
    z-index: 1;
}

.max-w-760 {
    max-width: 760px;
}

.annuity-note {
    border-left: 4px solid #0d6efd;
}

.annuity-note .fw-semibold {
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.annuity-result-card {
    background: linear-gradient(135deg, #f7fbff 0%, #ffffff 68%);
}

.result-dot {
    width: 0.8rem;
    height: 0.8rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #198754;
    box-shadow: 0 0 0 0.35rem rgba(25, 135, 84, 0.12);
}

.mini-metric {
    min-height: 112px;
}

.formula-box {
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.step-number {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.14);
    color: #0d47a1;
    font-weight: 700;
}

#annuityYearRows td,
#annuityYearRows th {
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .calculator-sticky {
        position: static;
        top: auto;
    }
}
