
.tsc-wrap {
    --tsc-border: #e5e7eb;
    --tsc-text: #172033;
    --tsc-muted: #667085;
    --tsc-bg: #f7f9fc;
    --tsc-primary: #1f5fbf;
    --tsc-primary-dark: #174b97;
    max-width: 880px;
    margin: 30px auto;
    font-family: inherit;
    color: var(--tsc-text);
}

.tsc-card {
    background: #fff;
    border: 1px solid var(--tsc-border);
    border-radius: 22px;
    box-shadow: 0 12px 38px rgba(17, 24, 39, .08);
    overflow: hidden;
}

.tsc-screen {
    display: none;
    padding: 34px;
}

.tsc-screen.is-active {
    display: block;
}

.tsc-badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef4ff;
    font-weight: 700;
    font-size: .92rem;
    margin-bottom: 16px;
}

.tsc-card h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    line-height: 1.15;
    margin: 0 0 14px;
}

.tsc-card h3 {
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    line-height: 1.25;
    margin: 0 0 10px;
}

.tsc-lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--tsc-muted);
    margin-bottom: 26px;
}

.tsc-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 22px 0;
}

.tsc-info-grid > div {
    background: var(--tsc-bg);
    border-radius: 14px;
    padding: 16px;
}

.tsc-info-grid strong,
.tsc-info-grid span {
    display: block;
}

.tsc-info-grid span {
    margin-top: 4px;
    color: var(--tsc-muted);
    font-size: .92rem;
}

.tsc-note {
    background: #fff9e8;
    border: 1px solid #f2df9d;
    border-radius: 14px;
    padding: 16px;
    margin: 22px 0;
    line-height: 1.55;
}

.tsc-btn {
    appearance: none;
    border: 0;
    border-radius: 12px;
    padding: 13px 20px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: .2s ease;
}

.tsc-btn-primary {
    background: var(--tsc-primary);
    color: #fff;
}

.tsc-btn-primary:hover {
    background: var(--tsc-primary-dark);
}

.tsc-btn-secondary {
    background: #eef1f6;
    color: #28344a;
}

.tsc-progress-head {
    display: flex;
    justify-content: space-between;
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tsc-progress {
    height: 8px;
    background: #edf0f5;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 32px;
}

.tsc-progress-bar {
    height: 100%;
    width: 0;
    background: var(--tsc-primary);
    transition: width .25s ease;
}

.tsc-question-text {
    margin-bottom: 8px;
}

.tsc-help {
    color: var(--tsc-muted);
    line-height: 1.55;
    margin-bottom: 18px;
}

.tsc-options {
    display: grid;
    gap: 10px;
}

.tsc-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid var(--tsc-border);
    border-radius: 13px;
    padding: 14px 15px;
    cursor: pointer;
    background: #fff;
}

.tsc-option:hover {
    background: #f8fafc;
}

.tsc-option input {
    margin-top: 4px;
}

.tsc-option.is-selected {
    border-color: var(--tsc-primary);
    background: #f3f7ff;
}

.tsc-nav,
.tsc-result-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
}

.tsc-result-head {
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 24px;
}

.tsc-result-head.green {
    background: #ecf8f1;
    border: 1px solid #b9e3c8;
}

.tsc-result-head.yellow {
    background: #fff8e5;
    border: 1px solid #efd98b;
}

.tsc-result-head.red {
    background: #fff0f0;
    border: 1px solid #edbcbc;
}

.tsc-result-head .tsc-result-icon {
    font-size: 2.4rem;
    margin-bottom: 6px;
}

.tsc-result-section {
    margin-top: 26px;
}

.tsc-result-list {
    padding-left: 20px;
}

.tsc-result-list li {
    margin: 9px 0;
    line-height: 1.55;
}

.tsc-disclaimer {
    margin-top: 28px;
    padding: 16px;
    background: var(--tsc-bg);
    border-radius: 13px;
    color: var(--tsc-muted);
    font-size: .92rem;
    line-height: 1.55;
}

.tsc-error {
    margin-top: 14px;
    color: #a61b1b;
    font-weight: 700;
}

@media (max-width: 700px) {
    .tsc-screen {
        padding: 22px 18px;
    }

    .tsc-info-grid {
        grid-template-columns: 1fr;
    }

    .tsc-nav {
        flex-direction: column-reverse;
    }

    .tsc-nav .tsc-btn,
    .tsc-result-actions .tsc-btn,
    .tsc-start .tsc-btn {
        width: 100%;
    }
}
