/**
 * Пустые состояния — единый вид во всех кабинетах (кроме кастомных блоков).
 */
.nd54-empty-state {
    text-align: center;
    padding: var(--nd54-space-3, 24px) var(--nd54-space-2, 16px);
    color: var(--nd54-text-muted, #64748b);
    max-width: 420px;
    margin: 0 auto;
}

.nd54-empty-state-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--nd54-space-2, 16px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nd54-primary-soft, #eff6ff);
    color: var(--nd54-primary, #2279bd);
    font-size: 1.35rem;
}

.nd54-empty-state h4 {
    font-family: var(--nd54-font-display, inherit);
    font-size: 1.05rem;
    color: var(--nd54-text, #1e293b);
    margin: 0 0 8px;
}

.nd54-empty-state p {
    margin: 0 0 var(--nd54-space-2, 16px);
    font-size: 0.9rem;
    line-height: 1.5;
}

.nd54-skeleton-line {
    display: block;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #edf2fb 0%, #dde7f9 50%, #edf2fb 100%);
    background-size: 220% 100%;
    animation: nd54SkeletonFlow 1.2s linear infinite;
    margin-bottom: 8px;
}

.nd54-skeleton-line.short { width: 42%; }
.nd54-skeleton-line.mid { width: 68%; }
.nd54-skeleton-line.long { width: 90%; }

@keyframes nd54SkeletonFlow {
    0% { background-position: 200% 0; }
    100% { background-position: -20% 0; }
}

.nd54-empty-state--action .nd54-empty-state-icon {
    background: rgba(34, 121, 189, 0.14);
}

.nd54-empty-state--muted {
    opacity: 0.92;
}

.nd54-empty-state--site {
    max-width: 480px;
    padding: var(--nd54-space-3, 24px);
    background: var(--nd54-surface-muted, #f8fafc);
    border-radius: var(--nd54-radius-xl, 16px);
    border: 1px dashed var(--nd54-border, rgba(148, 163, 184, 0.35));
}

.nd54-empty-state__action {
    margin-top: 0.5rem;
}

.nd54-empty-state-illus {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--nd54-space-2, 16px);
}

.nd54-empty-state-illus img {
    display: block;
    width: 100%;
    height: auto;
}
