/* TSR Calc Online (/TSRCalc). Builds on function.css. */

.tsr-section-title {
    font-weight: 600;
    margin: 0.5rem 0 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.tsr-table {
    margin-bottom: 0;
}

.tsr-table th,
.tsr-table td {
    vertical-align: middle;
    white-space: nowrap;
}

.tsr-table thead th {
    font-weight: 500;
    font-size: 0.85rem;
}

.tsr-table .tsr-role {
    font-weight: 500;
    width: 1%;
}

.tsr-table input[type=number] {
    min-width: 5.5rem;
}

.tsr-matrix input {
    min-width: 4.5rem;
    text-align: right;
}

.tsr-matrix .tsr-diag,
.tsr-matrix .tsr-mirror {
    background-color: var(--bs-secondary-bg, #e9ecef);
    color: var(--bs-secondary-color, #6c757d);
}

.tsr-matrix .tsr-col-name,
.tsr-matrix .tsr-row-name {
    max-width: 8rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media print {
    .button-section,
    .tsr-section-title .fa-info-circle {
        display: none !important;
    }
}
