/* ── Diagnostic block — shared component ──────────────────
   Used on: levels, management, hub pages.
   Loaded via <link> — single source of truth for styles.
   ───────────────────────────────────────────────────────── */

.diagnostic-section {
    margin-bottom: 2.5rem;
    padding: 1.25rem 1.5rem;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}
.diagnostic-section h2 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    margin-top: 0;
    color: #1a1a1a;
}
.diagnostic-section .diagnostic-subtitle {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.diagnostic-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.diagnostic-list li {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
    padding-left: 1.1rem;
    position: relative;
}
.diagnostic-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #bbb;
    font-size: 0.8rem;
}
.diagnostic-list .diagnostic-hint {
    color: #888;
    font-size: 0.8rem;
}

.diagnostic-cta {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e8e8e8;
}
.diagnostic-cta-text {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
.diagnostic-cta .cta-button {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.88rem;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.diagnostic-cta .cta-button:hover {
    background-color: #f0f0f0;
    border-color: #666;
}

@media (max-width: 639px) {
    .diagnostic-section { padding: 1rem; }
}
