/* Статистический калькулятор */

.statistical-calculator-tool {
    padding: 1rem 0;
}

.stat-calc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .stat-calc-layout {
        grid-template-columns: 1fr;
    }
}

.stat-calc-tool .service-tool-block {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    background: var(--bg-secondary, #f8fafc);
}

.stat-calc-panel .service-input-wrapper {
    margin-bottom: 1rem;
}

.stat-calc-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-calc-options .service-input-wrapper {
    margin-bottom: 0;
    min-width: 160px;
}

.stat-calc-options #stat-decimals {
    width: 5rem;
}

.stat-calc-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-dl {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
}

.stat-dl dt {
    margin-top: 0.6rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.stat-dl dt:first-child {
    margin-top: 0;
}

.stat-dl dd {
    margin: 0.2rem 0 0 0;
    font-variant-numeric: tabular-nums;
}

.stat-result-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
