.empty_state.no_data {
  box-sizing: border-box;
  min-width: 0;
  margin: 24px;
  padding: 48px 24px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-panel-radius);
  background: var(--surface-background);
  color: var(--ui-text);
  font-family: system-ui, sans-serif;
  text-align: center;
  box-shadow: var(--ui-shadow);
  overflow-wrap: anywhere;

  .empty_state_heading {
    margin: 20px 0 10px;
    color: var(--ui-text);
    font: 28px/1.2 'Acme';
  }

  .empty_state_description {
    max-width: 420px;
    margin: 0 auto;
    color: var(--ui-muted);
    font: 15px/1.6 system-ui, sans-serif;
  }

  .empty_state_actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;

    a {
      text-decoration: none;
    }
  }

  &.empty_state_compact {
    margin: 12px 0;
    padding: 24px 16px;
    border-radius: 12px;
    box-shadow: none;

    .empty_state_heading { margin-top: 12px; font-size: 21px; }
    .empty_state_description { font-size: 14px; }
    .empty_state_icon { width: 42px; height: 42px; font-size: 19px; }
    .empty_state_actions { margin-top: 16px; }
  }
}

.empty_state_icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border: 1px solid #bdddeb;
  border-radius: 14px;
  background: #e3f3fb;
  color: var(--ui-focus);
  font-size: 24px;
}

.empty_state_tiles {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding-block: 6px;

  span {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 52px;
    border: 1px solid #91cde5;
    border-radius: 8px;
    background: #d8f1fc var(--tile-sheen);
    color: #164c66;
    font: 30px/1 'Acme';
    box-shadow: 0 3px 0 #91b9cb, 0 6px 10px rgba(25, 48, 68, 0.08);
    transform: rotate(-7deg);

    &:nth-child(2) { transform: translateY(-5px) rotate(3deg); }
    &:nth-child(3) {
      border-color: #ddc979;
      background-color: #f9e9aa;
      color: #66501d;
      box-shadow: 0 3px 0 #c7b46a, 0 6px 10px rgba(25, 48, 68, 0.08);
      transform: translateY(-3px) rotate(-3deg);
    }
    &:nth-child(4) { transform: rotate(8deg); }
  }

  small { position: absolute; right: 5px; bottom: 4px; font-size: 10px; }
}

@media (max-width: 600px) {
  .empty_state.no_data {
    margin: 16px;
    padding: 32px 18px;

    .empty_state_heading { font-size: 25px; }
    &.empty_state_compact { margin: 12px 0; padding: 20px 14px; }
  }
}
