/* ============================================================
   MON GAIN RÉEL — ASF 2026 V1
   ============================================================ */

.asf-section{
    padding:18px;
    border:1px solid rgba(47,99,190,.20);
    border-radius:16px;
    background:linear-gradient(
        180deg,
        rgba(244,248,255,.88),
        rgba(255,255,255,.96)
    );
}

.asf-info,
.asf-no-resource-note,
.asf-procedure-note,
.asf-couple-note,
.asf-input-note,
.asf-warning{
    margin-top:14px;
    padding:11px 13px;
    border-radius:11px;
    font-size:.77rem;
    line-height:1.52;
}

.asf-info{
    background:rgba(47,99,190,.08);
    color:var(--muted);
}

.asf-info strong,
.asf-no-resource-note strong,
.asf-procedure-note strong,
.asf-input-note strong{
    color:var(--blue-950);
}

.asf-no-resource-note{
    border:1px solid rgba(47,99,190,.15);
    background:#fff;
    color:var(--muted);
}

.asf-warning{
    border-left:4px solid var(--orange);
    background:var(--orange-soft);
    color:#76501d;
}

.asf-children{
    display:grid;
    gap:14px;
    margin-top:16px;
}

.asf-child-card{
    padding:15px;
    border:1px solid rgba(47,99,190,.16);
    border-radius:14px;
    background:#fff;
}

.asf-child-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
}

.asf-child-head strong{
    color:var(--blue-950);
}

.asf-child-head span{
    color:var(--muted);
    font-size:.76rem;
    font-weight:650;
}

.asf-pension-field{
    margin-top:12px;
}

.asf-procedure-note{
    border-left:4px solid var(--orange);
    border-radius:0 11px 11px 0;
    background:var(--orange-soft);
    color:#76501d;
}

.asf-couple-note{
    border:1px solid rgba(47,99,190,.14);
    background:rgba(47,99,190,.05);
    color:var(--muted);
}

.asf-input-note{
    background:#fff;
    color:var(--muted);
    border:1px dashed rgba(47,99,190,.20);
}

.asf-result-card .result-card-note{
    display:block;
    width:auto;
    box-sizing:border-box;
    margin:14px 18px 18px !important;
    padding:0 !important;
    line-height:1.55;
}

.asf-result-details{
    display:grid;
    gap:10px;
    margin:14px 18px 4px;
}

.asf-result-child{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:3px 12px;
    align-items:start;
    padding:11px 12px;
    border:1px solid rgba(47,99,190,.13);
    border-radius:11px;
    background:rgba(47,99,190,.035);
}

.asf-result-child > div:first-child{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.asf-result-child span,
.asf-result-child small{
    color:var(--muted);
    font-size:.72rem;
    line-height:1.4;
}

.asf-result-child-amount{
    font-weight:800;
    color:var(--blue-950);
    white-space:nowrap;
}

.asf-result-child > small{
    grid-column:1 / -1;
}

.asf-result-reason{
    color:#875c24 !important;
}

.asf-projection-note{
    margin:0 0 18px;
    padding:13px 15px;
    border:1px solid rgba(47,99,190,.18);
    border-radius:12px;
    background:rgba(47,99,190,.06);
    color:var(--muted);
    font-size:.8rem;
    line-height:1.55;
}

.asf-projection-note strong{
    color:var(--blue-950);
}

@media(max-width:640px){
    .asf-result-card .result-card-note{
        margin:12px 14px 14px !important;
    }

    .asf-result-details{
        margin:12px 14px 4px;
    }

    .asf-child-card{
        padding:13px;
    }

    .asf-child-head{
        align-items:flex-start;
        flex-direction:column;
        gap:4px;
    }
}
