.sf-form {
    max-width: 1200px;
    margin: 0;
    color: #212529;
}

.sf-form-title {
    margin-bottom: .25rem;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: left;
}

.sf-form-subtitle {
    margin-bottom: 1.25rem;
    color: #495057;
    font-size: .9rem;
    text-align: left;
}

.sf-respondent {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: .5rem;
    font-size: 1rem;
}

.sf-part {
    margin-bottom: 1.5rem;
}

.sf-part-header {
    margin: 1.5rem 0 .75rem;
    padding: .55rem .75rem;
    background: #c3d2e3;
    color: #1d4f86;
    font-size: .9rem;
    font-weight: 700;
}

.sf-question {
    margin-bottom: 1.25rem;
}

.sf-question-no {
    margin-right: .4rem;
    font-weight: 700;
}

.sf-question-text {
    font-weight: 600;
}

.sf-note,
.sf-skip {
    margin: .5rem 0;
    font-size: .85rem;
    line-height: 1.45;
}

.sf-skip {
    padding-left: .75rem;
    border-left: 3px solid #6c757d;
    color: #495057;
}

.sf-table,
.sf-ref-table {
    width: 100%;
    margin: .5rem 0 1rem;
    border: 1px solid #9aa1a8;
    border-collapse: collapse;
    font-size: .85rem;
}

.sf-table th,
.sf-table td,
.sf-ref-table th,
.sf-ref-table td {
    padding: .35rem .45rem;
    border: 1px solid #9aa1a8;
}

.sf-table th,
.sf-ref-table th,
.sf-table th.sf-col-group,
.sf-table th.sf-col {
    background: #c3d2e3;
    color: #1d4f86;
    font-size: .8rem;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

.sf-table tbody tr:nth-child(even),
.sf-ref-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.sf-table .sf-row-label {
    width: 55%;
    text-align: left;
}

.sf-col-center {
    text-align: center;
}

.sf-ref-table th:nth-child(1),
.sf-ref-table td:nth-child(1),
.sf-ref-table th:nth-child(3),
.sf-ref-table td:nth-child(3) {
    text-align: center;
}

.sf-subheader {
    background: #ced4da !important;
    color: #212529;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sf-total-row {
    background: #e9ecef !important;
    font-weight: 700;
}

.sf-input-num {
    min-width: 4rem;
    text-align: right;
}

.sf-input-readonly {
    background: #e9ecef;
    text-align: right;
}

.sf-check,
.sf-radio {
    display: block;
    width: 1rem;
    height: 1rem;
    margin: 0 auto;
}

.sf-info {
    margin: 1.5rem 0;
    padding: 1rem;
    border: 1px solid #6c757d;
    background: #f8f9fa;
}

.sf-section-band {
    margin: 1.5rem 0 .75rem;
    padding: .55rem .75rem;
    background: #c3d2e3;
    color: #1d4f86;
    font-size: .9rem;
    font-weight: 700;
}

.sf-definition {
    margin: .75rem 0;
    line-height: 1.45;
}

.sf-footnote {
    background: #f8f9fa;
    font-size: .75rem;
    line-height: 1.35;
}

.sf-nested {
    padding-left: 2rem !important;
}

.sf-colgroup-disabled {
    background: #e9ecef !important;
    opacity: .7;
}

.sf-colgroup-disabled input {
    pointer-events: none;
}

.sf-pct-suffix {
    margin-left: .25rem;
}

.sf-generic-table-responsive {
    width: 100% !important;
}

@media (min-width: 1601px) {
    .sf-generic-table-responsive {
        width: 70% !important;
    }
}

@media print {
    .sf-form .btn,
    .sf-form .alert {
        display: none !important;
    }

    .sf-table,
    .sf-ref-table,
    .sf-question,
    .sf-part {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
