.tools-hub__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}

.tools-hub__tab {
    border: 1px solid var(--apple-border);
    background: var(--apple-surface);
    color: var(--apple-text);
    border-radius: var(--apple-pill);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color var(--ease), background var(--ease), color var(--ease);
}

.tools-hub__tab:hover {
    border-color: rgba(0, 113, 227, 0.4);
}

.tools-hub__tab.is-active {
    background: var(--apple-blue);
    border-color: var(--apple-blue);
    color: #fff;
}

.tools-panel {
    padding: 28px 28px 32px;
    margin-bottom: 16px;
}

.tools-panel__title {
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 8px;
}

.tools-panel__sub {
    color: var(--apple-muted);
    font-size: 14px;
    margin: 0 0 22px;
}

.calc-form__range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--apple-muted);
    margin-top: 4px;
}

.calc-result {
    margin-top: 24px;
    padding: 20px;
    border-radius: var(--apple-radius-sm);
    background: var(--apple-bg-alt);
    border: 1px solid var(--apple-border);
}

.calc-result__sum {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px;
}

.calc-result__meta {
    margin: 0 0 14px;
    color: var(--apple-muted);
    font-size: 14px;
}

.maturity-quiz__progress {
    font-size: 12px;
    color: var(--apple-muted);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.maturity-quiz__q {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 16px;
    line-height: 1.35;
}

.maturity-quiz__opts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.maturity-opt {
    text-align: left;
    border: 1px solid var(--apple-border);
    border-radius: var(--apple-radius-sm);
    background: var(--apple-surface);
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color var(--ease), background var(--ease);
}

.maturity-opt:hover {
    border-color: var(--apple-blue);
    background: rgba(0, 113, 227, 0.05);
}

.maturity-result {
    margin-top: 20px;
    padding: 20px;
    border-radius: var(--apple-radius-sm);
    background: rgba(0, 113, 227, 0.06);
    border: 1px solid rgba(0, 113, 227, 0.2);
}

.maturity-result__level {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
}

.maturity-result__level span {
    font-size: 14px;
    font-weight: 400;
    color: var(--apple-muted);
}

.tool-result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--apple-border);
}

.tool-result__actions .btn {
    min-width: 180px;
    font-weight: 500;
}

.tool-result__actions .btn-primary {
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
}

.maturity-result .tool-result__actions {
    border-top-color: rgba(0, 113, 227, 0.15);
}

@media (max-width: 575px) {
    .tools-panel {
        padding: 22px 18px 26px;
    }

    .tools-hub__tab {
        flex: 1 1 auto;
        text-align: center;
    }
}
