/* ── Entity Word Cloud Widget ──────────────────────────────────────────────── */
/* d3-cloud renders inline SVG — no separate library CSS needed. */

.entity-wordcloud-widget {
    display: block;
    box-sizing: border-box;
    min-width: 0;
}

.entity-wordcloud-title  { margin-bottom: 12px; }

.entity-wordcloud-body {
    display: block;
    box-sizing: border-box;
    min-width: 0;
    text-align: center;
}

.entity-wordcloud-canvas {
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}
.entity-wordcloud-body svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Design-mode skeleton */
.entity-wordcloud-skeleton {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; flex-wrap: wrap; padding: 24px 16px;
    min-height: 300px; background: #f5f7fa;
    border: 1px dashed #c0cad8; border-radius: 4px;
}
.entity-wordcloud-skeleton-word {
    background: #dde3ea; border-radius: 3px;
    animation: wc-shimmer 1.4s infinite;
}
@keyframes wc-shimmer { 0%,100%{opacity:1} 50%{opacity:.45} }
