.data-content {
  padding-top: 22px;
}

/* ⋮ 행 메뉴 버튼 + 팝오버 */
.row-actions {
  text-align: center;
}

.row-menu {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.row-menu:hover {
  background: #eef1f6;
  color: #1f2937;
}

.row-pop {
  position: absolute;
  z-index: 120;
  display: flex;
  flex-direction: column;
  min-width: 130px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.row-pop[hidden] {
  display: none;
}

.row-pop button {
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #334155;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.row-pop button:hover {
  background: #f3f6fb;
}

.row-pop button[data-act="delete"] {
  color: var(--red);
}

.preview-body .field.row {
  border-bottom: 1px solid #eef2f6;
  padding-bottom: 8px;
}

.data-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.data-stats article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 0 18px;
}

.data-stats strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.data-stats p {
  margin: 4px 0 0;
  color: #7a869b;
  font-weight: 800;
}

.table-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-upload {
  display: flex;
  gap: 10px;
}

.search-upload input {
  width: 230px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.table-card {
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5ebf4;
  color: #334155;
  text-align: left;
  vertical-align: middle;
}

th {
  background: #f5f7fb;
  color: #718097;
  font-weight: 900;
}

td b {
  color: #1f2937;
}

.name-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.name-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  background: #eef1f6;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

td small {
  display: block;
  margin-top: 4px;
  color: #9aa6ba;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

tbody tr:hover {
  background: #f8fbff;
}

@media (max-width: 1300px) {
  .data-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-tools {
    align-items: flex-start;
    flex-direction: column;
  }
}
