.holos-test-app {
    --ht-primary: #1769e0;
    --ht-primary-dark: #0d55bd;
    --ht-border: #e2e8f0;
    --ht-bg: #f7f9fc;
    --ht-text: #172033;
    --ht-muted: #667085;

    box-sizing: border-box;
    width: 100%;
    max-width: 860px;
    margin: 36px auto;
    color: var(--ht-text);
}

.holos-test-app *,
.holos-test-app *::before,
.holos-test-app *::after {
    box-sizing: border-box;
}

.holos-test-card {
    overflow: hidden;
    padding: 34px;
    border: 1px solid var(--ht-border);
    border-radius: 18px;
    background: #fff;
    box-shadow:
        0 12px 38px rgba(15, 23, 42, .07);
}

.holos-test-kicker {
    margin-bottom: 9px;
    color: var(--ht-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.holos-test-start-title,
.holos-test-question-title,
.holos-test-result-title {
    margin: 0;
    color: var(--ht-text);
    font-weight: 700;
    line-height: 1.25;
}

.holos-test-start-title {
    font-size: clamp(28px, 4vw, 40px);
}

.holos-test-question-title {
    margin-top: 26px;
    margin-bottom: 22px;
    font-size: clamp(23px, 3.2vw, 32px);
}

.holos-test-result-title {
    margin-top: 10px;
    font-size: clamp(28px, 4vw, 40px);
}

.holos-test-start-text,
.holos-test-result-text {
    max-width: 700px;
    margin: 16px 0 0;
    color: var(--ht-muted);
    font-size: 17px;
    line-height: 1.7;
}

.holos-test-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.holos-test-meta span {
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--ht-bg);
    color: var(--ht-muted);
    font-size: 14px;
}

.holos-test-primary,
.holos-test-secondary,
.holos-test-answer {
    appearance: none;
    border: 0;
    font: inherit;
    cursor: pointer;
    transition:
        transform .15s ease,
        border-color .15s ease,
        background .15s ease,
        box-shadow .15s ease;
}

.holos-test-primary {
    padding: 13px 22px;
    border-radius: 10px;
    background: var(--ht-primary);
    color: #fff;
    font-weight: 700;
}

.holos-test-primary:hover {
    background: var(--ht-primary-dark);
    transform: translateY(-1px);
}

.holos-test-primary:disabled,
.holos-test-secondary:disabled {
    opacity: .42;
    cursor: not-allowed;
    transform: none;
}

.holos-test-secondary {
    padding: 12px 18px;
    border: 1px solid var(--ht-border);
    border-radius: 10px;
    background: #fff;
    color: var(--ht-text);
    font-weight: 600;
}

.holos-test-progress-info {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
    color: var(--ht-muted);
    font-size: 14px;
    font-weight: 600;
}

.holos-test-progress {
    overflow: hidden;
    height: 7px;
    border-radius: 999px;
    background: #e9eef6;
}

.holos-test-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: var(--ht-primary);
    transition: width .25s ease;
}

.holos-test-hint {
    margin: -10px 0 18px;
    color: var(--ht-muted);
    font-size: 14px;
}

.holos-test-answers {
    display: grid;
    gap: 11px;
}

.holos-test-answer {
    position: relative;
    width: 100%;
    padding: 15px 17px;
    border: 1px solid var(--ht-border);
    border-radius: 12px;
    background: #fff;
    color: var(--ht-text);
    text-align: left;
    line-height: 1.45;
}

.holos-test-answer:hover {
    border-color: #9dbff3;
    background: #f8fbff;
}

.holos-test-answer.is-selected {
    border-color: var(--ht-primary);
    background: #eef5ff;
    box-shadow:
        0 0 0 2px rgba(23, 105, 224, .10);
}

.holos-test-answer.is-correct {
    border-color: #37a26d;
    background: #eefaf3;
}

.holos-test-answer.is-wrong {
    border-color: #d85d5d;
    background: #fff1f1;
}

.holos-test-controls {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
}

.holos-test-feedback {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 12px;
    line-height: 1.55;
}

.holos-test-feedback.is-correct {
    background: #eefaf3;
}

.holos-test-feedback.is-wrong {
    background: #fff5f2;
}

.holos-test-feedback p {
    margin: 8px 0 0;
}

.holos-test-result-card {
    text-align: center;
}

.holos-test-result-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    background: #eef5ff;
    color: var(--ht-primary);
    font-size: 28px;
    font-weight: 800;
}

.holos-test-result-card .holos-test-kicker {
    text-align: center;
}

.holos-test-score {
    margin: 4px 0;
    color: var(--ht-primary);
    font-size: 34px;
    font-weight: 800;
}

.holos-test-result-text {
    margin-right: auto;
    margin-left: auto;
}

.holos-test-result-actions {
    margin-top: 26px;
}

.holos-test-disclaimer {
    max-width: 650px;
    margin: 24px auto 0;
    padding-top: 18px;
    border-top: 1px solid var(--ht-border);
    color: var(--ht-muted);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .holos-test-app {
        margin: 24px auto;
    }

    .holos-test-card {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .holos-test-controls {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .holos-test-primary,
    .holos-test-secondary {
        width: 100%;
    }

    .holos-test-answer {
        padding: 14px;
    }
}
