.limits-wrapper{
    max-width:100%;
    padding:24px 40px 60px;
}

.limits-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:24px;
}

.limits-title{
    font-size:1.8rem;
    font-weight:700;
    color:#111827;
}

.limits-subtitle{
    margin-top:6px;
    color:#6b7280;
    font-size:.95rem;
    max-width:700px;
}

.limits-tabs{
    display:flex;
    justify-content:center;
    gap:14px;
    margin:28px 0 32px;
}

.limits-tab{
    border:none;
    background:#f3f4f6;
    color:#374151;

    min-width:170px;

    padding:12px 22px;

    border-radius:999px;

    font-size:.92rem;
    font-weight:600;

    cursor:pointer;

    transition:all .2s ease;
}

.limits-tab:hover{
    background:#e5e7eb;
}

.limits-tab.active{
    background:#111827;
    color:#fff;
}

.limits-section{
    display:none;
}

.limits-section.active{
    display:block;
}

.limits-summary-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:18px;
    margin-bottom:28px;
}

.limit-stat-card{
    background:#fff;

    border:1px solid #eef2f7;

    border-radius:18px;

    padding:22px;

    box-shadow:
        0 1px 2px rgba(0,0,0,.03);
}

.limit-stat-label{
    display:block;

    font-size:.82rem;
    font-weight:600;

    color:#6b7280;

    margin-bottom:12px;

    text-transform:uppercase;
    letter-spacing:.04em;
}

.limit-stat-value{
    font-size:2rem;
    line-height:1;
    font-weight:700;
    color:#111827;
}

.limits-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:20px;
}

.limits-block{
    background:#fff;

    border:1px solid #eef2f7;

    border-radius:20px;

    padding:24px;

    box-shadow:
        0 1px 2px rgba(0,0,0,.03);
}

.limits-block-header{
    margin-bottom:18px;
}

.limits-block-header h3{
    font-size:1rem;
    font-weight:700;
    color:#111827;
}

.limits-list{
    display:flex;
    flex-direction:column;
}

.limits-row{
    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:20px;

    padding:.75rem 0;

    border-bottom:1px solid #f1f5f9;

    font-size:.92rem;
}

.limits-row:last-child{
    border-bottom:none;
    padding-bottom:0;
}

.limits-row span{
    color:#64748b;
}

.limits-row strong{
    color:#111827;
    font-weight:600;
}

@media (max-width:768px){

    .limits-wrapper{
        padding:20px 18px 40px;
    }

    .limits-tabs{
        flex-wrap:wrap;
    }

    .limits-tab{
        width:100%;
    }

    .limits-grid{
        grid-template-columns:1fr;
    }

    .limits-row{
        flex-direction:column;
        align-items:flex-start;
    }

}
