.eprt-wrapper {
  margin-top: 32px;
}

.eprt-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.eprt-filter-input {
  flex: 1 1 280px;
  max-width: 420px;
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 16px;
}

.eprt-count {
  font-size: 14px;
  color: #666;
}

.eprt-table {
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.eprt-row {
  display: grid;
  grid-template-columns: repeat(var(--eprt-cols, 2), minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #efefef;
}

.eprt-row-head {
  border-top: 0;
  background: #f6f7fb;
}

.eprt-cell {
  padding: 14px 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.eprt-row .eprt-cell + .eprt-cell {
  border-left: 1px solid #efefef;
}

.eprt-head-cell {
  font-weight: 700;
}

.eprt-row.is-hidden {
  display: none;
}

.eprt-empty {
  padding: 18px 16px;
  color: #666;
}

@media (max-width: 767px) {
  .eprt-toolbar {
    align-items: stretch;
  }

  .eprt-filter-input {
    max-width: none;
  }

  .eprt-head {
    display: none;
  }

  .eprt-row {
    grid-template-columns: 1fr;
    border-top: 1px solid #eaeaea;
    padding: 8px 0;
  }

  .eprt-row .eprt-cell + .eprt-cell {
    border-left: 0;
  }

  .eprt-cell {
    position: relative;
    padding: 10px 14px 10px 14px;
  }

  .eprt-cell::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
}
