#nsfas-ma-calculator.nsfas-ma{
    max-width:720px;
    margin:30px auto;
    background:#fff;
    border:1px solid #dce7e1;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(20,80,55,.08);
    color:#17221d;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.nsfas-ma *{box-sizing:border-box}
.nsfas-ma__head{
    padding:28px 30px 24px;
    background:linear-gradient(135deg,#eff9f3,#fff);
    border-bottom:1px solid #dce7e1;
}
.nsfas-ma__badge{
    display:inline-block;
    padding:5px 10px;
    border-radius:999px;
    background:#dff2e7;
    color:#145b39;
    font-size:12px;
    font-weight:700;
}
.nsfas-ma h2{
    margin:10px 0 7px;
    font-size:27px;
    line-height:1.25;
}
.nsfas-ma__head p{
    margin:0;
    color:#66746d;
    line-height:1.6;
}
.nsfas-ma__body{padding:30px}
.nsfas-ma label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    font-weight:700;
}
.nsfas-ma__input{position:relative}
.nsfas-ma__input span{
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    color:#66746d;
    font-weight:700;
}
.nsfas-ma__input input{
    width:100%;
    min-height:52px;
    padding:12px 14px 12px 32px;
    border:1px solid #cbd8d1;
    border-radius:10px;
    font-size:17px;
    outline:none;
}
.nsfas-ma__input input:focus{
    border-color:#176b45;
    box-shadow:0 0 0 3px rgba(23,107,69,.12);
}
.nsfas-ma__actions{
    display:flex;
    gap:10px;
    margin-top:18px;
}
.nsfas-ma__actions button{
    border:0;
    border-radius:10px;
    padding:13px 18px;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
}
.nsfas-ma__calculate{
    flex:1;
    background:#176b45;
    color:#fff;
}
.nsfas-ma__calculate:hover{background:#0f4e33}
.nsfas-ma__reset{
    background:#edf2ef;
    color:#24352d;
}
.nsfas-ma__result{
    margin-top:24px;
    padding:20px;
    border:1px solid #dce7e1;
    border-radius:13px;
    background:#f6faf8;
}
.nsfas-ma__result-row{
    display:flex;
    justify-content:space-between;
    gap:15px;
    padding:12px 0;
}
.nsfas-ma__result-row--total{
    border-top:1px solid #dce7e1;
    margin-top:6px;
    padding-top:16px;
}
.nsfas-ma__result-row--total strong{
    font-size:23px;
    color:#145b39;
}
.nsfas-ma__operator{
    text-align:center;
    color:#68766f;
    font-size:13px;
    font-weight:700;
}
.nsfas-ma__example{
    margin-top:18px;
    padding:14px 16px;
    background:#f3f6f4;
    border-radius:10px;
    line-height:1.5;
}
.nsfas-ma__note{
    margin:16px 0 0;
    color:#68766f;
    font-size:13px;
    line-height:1.55;
}
@media(max-width:600px){
    .nsfas-ma{margin:20px 0!important;border-radius:12px!important}
    .nsfas-ma__head,.nsfas-ma__body{padding:21px 18px}
    .nsfas-ma h2{font-size:23px}
    .nsfas-ma__actions{flex-direction:column}
    .nsfas-ma__actions button{width:100%}
    .nsfas-ma__result-row{flex-direction:column;gap:4px}
}
