:root {
    --sthc-dark: #232329;
    --sthc-accent: #00b9d0;
    --sthc-accent-soft: rgba(0, 185, 208, 0.10);
    --sthc-border: #e8e8ec;
    --sthc-muted: #6f7078;
    --sthc-bg: #ffffff;
}

.sthc-card {
    font-family: inherit;
    color: var(--sthc-dark);
    background: var(--sthc-bg);
    border: 1px solid var(--sthc-border);
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(35, 35, 41, 0.08);
    overflow: hidden;
    margin: 28px 0;
}

.sthc-header {
    position: relative;
    padding: 32px 34px 26px;
    background: linear-gradient(135deg, #232329 0%, #2d2e35 100%);
    color: #fff;
}

.sthc-header::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -55px;
    top: -70px;
    border-radius: 50%;
    border: 30px solid rgba(0, 185, 208, 0.12);
    pointer-events: none;
}

.sthc-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(0, 185, 208, 0.16);
    border: 1px solid rgba(0, 185, 208, 0.45);
    color: #7fe9f5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sthc-header h2 {
    color: #fff !important;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.15;
    margin: 0 0 12px;
    max-width: 760px;
}

.sthc-header p {
    color: rgba(255,255,255,.78);
    font-size: 15px;
    line-height: 1.65;
    max-width: 760px;
    margin: 0;
}

.sthc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.sthc-meta span {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 12px;
    color: rgba(255,255,255,.85);
}

.sthc-progress-wrap {
    padding: 18px 34px 0;
}

.sthc-progress-text {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 600;
    color: var(--sthc-muted);
}

.sthc-progress {
    height: 6px;
    background: #eff0f2;
    border-radius: 999px;
    overflow: hidden;
}

.sthc-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--sthc-accent);
    border-radius: inherit;
    transition: width .25s ease;
}

.sthc-questions {
    padding: 18px 34px 10px;
}

.sthc-question {
    min-width: 0;
    border: 0;
    border-bottom: 1px solid var(--sthc-border);
    padding: 20px 0 22px;
    margin: 0;
}

.sthc-question:last-child {
    border-bottom: 0;
}

.sthc-question legend {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 0;
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--sthc-dark);
    text-transform: none !important;
    letter-spacing: normal !important;
}

.sthc-number {
    flex: 0 0 auto;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--sthc-accent-soft);
    color: var(--sthc-accent);
    font-size: 12px;
    font-weight: 800;
}

.sthc-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-left: 46px;
}

.sthc-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 8px 9px;
    border: 1px solid var(--sthc-border);
    border-radius: 10px;
    background: #fff;
    color: #55565e;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.sthc-option:hover {
    border-color: rgba(0,185,208,.55);
    background: rgba(0,185,208,.04);
    transform: translateY(-1px);
}

.sthc-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sthc-option-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid #b9bbc1;
    box-sizing: border-box;
    transition: all .18s ease;
}

.sthc-option:has(input:checked) {
    background: var(--sthc-accent-soft);
    border-color: var(--sthc-accent);
    color: var(--sthc-dark);
}

.sthc-option:has(input:checked) .sthc-option-dot {
    border: 4px solid var(--sthc-accent);
    background: #fff;
}

.sthc-option:has(input:focus-visible) {
    outline: 2px solid var(--sthc-accent);
    outline-offset: 2px;
}

.sthc-summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 22px 34px;
    background: #f7f7f9;
    border-top: 1px solid var(--sthc-border);
}

.sthc-score-block {
    display: flex;
    flex-direction: column;
    min-width: 92px;
}

.sthc-score-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--sthc-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.sthc-score {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
    margin-top: 5px;
}

.sthc-score strong {
    font-size: 30px;
    color: var(--sthc-accent);
}

.sthc-score small {
    font-size: 12px;
    color: var(--sthc-muted);
}

.sthc-summary-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sthc-summary-copy strong {
    font-size: 14px;
    color: var(--sthc-dark);
}

.sthc-summary-copy span {
    font-size: 12px;
    color: var(--sthc-muted);
}

.sthc-reset {
    appearance: none;
    border: 1px solid #d9dae0;
    background: #fff;
    color: var(--sthc-dark);
    border-radius: 8px;
    padding: 8px 12px;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.sthc-reset:hover {
    border-color: var(--sthc-accent);
    color: var(--sthc-accent);
}

.sthc-result {
    margin: 0;
    padding: 26px 34px 30px;
    background: linear-gradient(180deg, rgba(0,185,208,.08), rgba(0,185,208,.025));
    border-top: 1px solid rgba(0,185,208,.22);
}

.sthc-result-title {
    color: var(--sthc-accent);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
}

.sthc-result-content {
    font-size: 14px;
    line-height: 1.65;
    color: #44454c;
}

.sthc-result-content p:last-child {
    margin-bottom: 0;
}

.sthc-disclaimer {
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(35,35,41,.08);
    color: #787982;
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .sthc-card {
        border-radius: 14px;
    }

    .sthc-header,
    .sthc-questions,
    .sthc-progress-wrap,
    .sthc-summary,
    .sthc-result {
        padding-left: 18px;
        padding-right: 18px;
    }

    .sthc-options {
        grid-template-columns: 1fr;
        margin-left: 46px;
        gap: 6px;
    }

    .sthc-option {
        justify-content: flex-start;
        text-align: left;
        min-height: 40px;
    }

    .sthc-summary {
        grid-template-columns: auto 1fr;
    }

    .sthc-reset {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .sthc-question legend {
        gap: 9px;
    }

    .sthc-options {
        margin-left: 0;
    }
}
