/* Step147: unified knowledge hub, dashboard clarity and reliable UI fallbacks. */
.kb-guides {
    margin: 28px 0 34px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.kb-guides .kb-section-head {
    margin-bottom: 18px;
}

.kb-guide-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
}

.dash-vk-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 22px;
    padding: 18px 20px;
    border: 1px solid #fecaca;
    border-radius: 18px;
    background: #fff1f2;
    color: #881337;
}

.dash-vk-alert div {
    display: grid;
    gap: 5px;
}

.dash-vk-alert span {
    color: #9f1239;
}

.dash-vk-alert a {
    flex: 0 0 auto;
    padding: 11px 16px;
    border-radius: 12px;
    background: #be123c;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.dash-vk-alert--warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.dash-vk-alert--warning span { color: #a16207; }
.dash-vk-alert--warning a { background: #d97706; }

@media (max-width: 700px) {
    .dash-vk-alert {
        align-items: stretch;
        flex-direction: column;
    }

    .dash-vk-alert a {
        text-align: center;
    }
}

.article-share-count {
    display: inline-flex;
    align-items: center;
    margin-left: 7px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef2f7;
    color: #475569;
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
}
