.title {
	font-weight:bold;
	color:gray;
}

.btnWidth{
	width:100px;	
}

#wrap { height: 100%; display: grid; grid-template-rows: auto 1fr; }
header { padding: 8px 12px; border-bottom: 1px solid #ddd; display: flex; gap: 12px; align-items: center; }
#graph { width: 100%; height: 100%; background: #fafafa; }
.tooltip {
  position: fixed; pointer-events: none; z-index: 10;
  background: rgba(20,20,20,0.92); color: #fff; padding: 8px 10px;
  border-radius: 8px; font-size: 12px; line-height: 1.4;
  max-width: 360px;
  transform: translate(10px, 10px);
  opacity: 0;
  transition: opacity 80ms linear;
  white-space: nowrap;
}
.hint { color: #666; font-size: 12px; }

.relation-legend {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 2px 0 6px 0;
	padding: 0 8px;
	font-size: 12px;
	color: #555;
}

.relation-company-title {
	font-weight: 600;
}

.relation-marks-title {
	display: grid;
	grid-template-columns: repeat(7, 52px);
	gap: 6px;
	align-items: center;
}

.relation-marks-title span {
	text-align: center;
	font-weight: 600;
}

.relation-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 4px 0;
	padding: 6px 8px;
	border: 1px solid #999999;
	background-color: #f0f0f0;
	border-radius: 4px;
	box-shadow: 1px 1px 1px #cccccc;
}

.relation-company {
	flex: 1 1 auto;
	min-width: 0;
}

.relation-marks {
	display: grid;
	grid-template-columns: repeat(7, 52px);
	gap: 6px;
	align-items: center;
	flex: 0 0 auto;
	margin-left: 12px;
}

.relation-check {
	width: 14px;
	height: 14px;
	justify-self: center;
}
