/* ================================================================
   DataHints DS — Empty State Component
   Requires: tokens.css
   ================================================================ */

  /* ============================================================
     EMPTY STATE COMPONENT
  ============================================================ */

  .dh-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--sp-12) var(--sp-6);
    gap: var(--sp-4);
  }

  /* ── Icon shell ──────────────────────────────────────────── */
  .empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-elevated);
    color: var(--fg-3);
    flex-shrink: 0;
    margin-bottom: var(--sp-2);
  }
  .empty-icon svg {
    width: 48px;
    height: 48px;
  }

  /* ── Text ────────────────────────────────────────────────── */
  .empty-heading {
    font-family: var(--font-sans);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--fg);
    margin: 0;
    line-height: 1.3;
  }

  .empty-sub {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--fg-3);
    line-height: 1.6;
    max-width: 380px;
    margin: 0;
  }

  /* ── Actions ─────────────────────────────────────────────── */
  .empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    justify-content: center;
    margin-top: var(--sp-2);
  }

  /* ── SIZE: sm ────────────────────────────────────────────── */
  .dh-empty.is-sm {
    padding: var(--sp-8) var(--sp-5);
    gap: var(--sp-3);
  }
  .dh-empty.is-sm .empty-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0;
  }
  .dh-empty.is-sm .empty-icon svg {
    width: 32px;
    height: 32px;
  }
  .dh-empty.is-sm .empty-heading {
    font-size: 0.9375rem;
    font-weight: 600;
  }
  .dh-empty.is-sm .empty-sub {
    font-size: 0.8125rem;
  }

  /* ── SIZE: inline ────────────────────────────────────────── */
  .dh-empty.is-inline {
    flex-direction: row;
    padding: var(--sp-4) var(--sp-5);
    gap: var(--sp-3);
    text-align: left;
    align-items: center;
  }
  .dh-empty.is-inline .empty-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .dh-empty.is-inline .empty-icon svg {
    width: 20px;
    height: 20px;
  }
  .dh-empty.is-inline .empty-heading {
    font-size: 0.875rem;
    font-weight: 600;
  }
  .dh-empty.is-inline .empty-sub {
    font-size: 0.8125rem;
    margin-top: 2px;
  }
  .dh-empty.is-inline .empty-text { display: flex; flex-direction: column; gap: 2px; }

  /* ── TONE: accent ────────────────────────────────────────── */
  .dh-empty.is-accent {
    background: var(--accent-sub);
    border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card);
  }
  .dh-empty.is-accent .empty-icon {
    background: var(--accent-sub); /* fallback */
    background: color-mix(in srgb, var(--accent) 15%, transparent);
    color: var(--accent-text);
  }
  .dh-empty.is-accent .empty-heading { color: var(--fg-heading); }

  /* ── TONE: insight ───────────────────────────────────────── */
  .dh-empty.is-insight .empty-icon {
    color: var(--insight);
    background: var(--insight-sub); /* fallback */
    background: color-mix(in srgb, var(--insight) 12%, transparent);
  }
  .dh-empty.is-insight .empty-heading { color: var(--fg); }

  /* ── TONE: alert ─────────────────────────────────────────── */
  .dh-empty.is-alert {
    background: var(--micro-coral-sub);
    border: 1px solid color-mix(in srgb, var(--micro-coral) 25%, transparent);
    border-radius: var(--r-lg);
  }
  .dh-empty.is-alert .empty-icon {
    background: var(--micro-coral-sub); /* fallback */
    background: color-mix(in srgb, var(--micro-coral) 15%, transparent);
    color: var(--micro-coral-text);
  }
  .dh-empty.is-alert .empty-heading { color: var(--fg); }
  .dh-empty.is-alert .empty-sub { color: var(--micro-coral-text); opacity: 0.8; }
