body {
    font-size: 1rem;
}

/* Классы вместо inline style="..." — inline-стили запрещены нашей
   Content-Security-Policy (см. core.middleware.SecurityHeadersMiddleware). */
.container-narrow {
    max-width: 640px;
}

.container-document {
    max-width: 800px;
}

.scroll-box {
    max-height: 280px;
    overflow-y: auto;
}

.wizard-question {
    font-size: 1.15rem;
}

.wizard-options .form-check {
    padding: 0.75rem 1rem;
    border: 1px solid #adb5bd;
    border-radius: 0.375rem;
    margin-bottom: 0.6rem;
    background: #fff;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.wizard-options .form-check:hover {
    border-color: #0d6efd;
    background: #f4f8ff;
}

.wizard-options .form-check-input {
    margin-top: 0.35rem;
    width: 1.2em;
    height: 1.2em;
}

.wizard-options .form-check-label {
    color: #212529;
    font-size: 1.05rem;
    width: 100%;
    padding-left: 0.25rem;
    cursor: pointer;
}

.wizard-options .form-check-input:checked ~ .form-check-label {
    font-weight: 600;
}

.wizard-options .form-check:has(.form-check-input:checked) {
    border-color: #0d6efd;
    background: #eaf2ff;
}

.wizard-fade {
    animation: wizard-fade-in 0.18s ease;
}

.wizard-nav .btn {
    font-weight: 600;
    padding: 0.65rem 1.75rem;
}

.wizard-nav .btn-primary {
    box-shadow: 0 3px 10px rgba(13, 110, 253, 0.4);
}

.wizard-nav .btn-outline-secondary {
    border-width: 2px;
    color: #495057;
}

@keyframes wizard-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wizard-progress {
    height: 0.5rem;
}

.scale-bar-track {
    background: #e9ecef;
    border-radius: 0.25rem;
    height: 1.5rem;
    position: relative;
    overflow: hidden;
}

.scale-bar-fill {
    background: #0d6efd;
    height: 100%;
}

.scale-bar-fill.is-critical {
    background: #dc3545;
}

@media (max-width: 576px) {
    .wizard-question {
        font-size: 1.05rem;
    }
}
