:root {
	--apple-blue: #0071e3;
	--apple-light-gray: #f5f5f7;
	--apple-dark-gray: #1d1d1f;
	--apple-card-bg: #ffffff;
	--apple-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	--apple-border-radius: 18px;
	--apple-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
	background-color: var(--apple-light-gray);
	font-family: var(--apple-font);
	color: var(--apple-dark-gray);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

.report {
	max-width: 1200px;
	margin: 1rem auto;
	padding: 0.5rem;
}

.title {
	background: linear-gradient(135deg, #0071e3 0%, #5e9ce6 100%);
	color: white;
	padding: 1.5rem;
	border-radius: var(--apple-border-radius);
	text-align: center;
	box-shadow: var(--apple-card-shadow);
	margin-bottom: 1rem;
}

.title h1 {
	font-weight: 600;
	letter-spacing: -0.5px;
	margin: 0;
	font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.card {
	border: none;
	border-radius: var(--apple-border-radius);
	box-shadow: var(--apple-card-shadow);
	margin-bottom: 1rem;
	background: var(--apple-card-bg);
	transition: transform 0.3s ease;
}

.card:hover {
	transform: translateY(-3px);
}

.card-body {
	padding: 1rem;
}

.card-title {
	font-weight: 600;
	margin-bottom: 0.8rem;
	font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.increase {
	color: #ff3b30;
	font-weight: 500;
}

.decrease {
	color: #34c759;
	font-weight: 500;
}

.toggle-table {
	color: var(--apple-blue);
	cursor: pointer;
	font-weight: 500;
	margin: 0.5rem 0;
	display: inline-block;
}

.toggle-table:hover {
	opacity: 0.8;
}

.table-wrapper {
	display: none;
	overflow-x: auto;
	padding: 0.5rem 0;
}

.table-wrapper.show {
	display: block;
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

th {
	background-color: var(--apple-blue);
	color: white;
	padding: 0.5rem;
	text-align: left;
	white-space: nowrap;
}

td {
	padding: 0.5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	white-space: nowrap;
	    white-space: pre-wrap; /* 保留空格和换行符，允许自动换行 */
    word-break: break-all; /* 允许在单词内换行 */
}

tr:hover {
	background-color: rgba(0, 113, 227, 0.03);
}

.chart-container {
	position: relative;
	height: 200px;
	margin: 1rem 0;
}

.btn-primary {
	background-color: var(--apple-blue);
	border: none;
	border-radius: 12px;
	padding: 0.6rem 1.2rem;
	font-weight: 500;
	transition: all 0.2s ease;
}

.btn-primary:hover {
	background-color: #0062c4;
	transform: translateY(-1px);
}

.form-control {
	border-radius: 12px;
	padding: 0.6rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-control:focus {
	border-color: var(--apple-blue);
	box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
}

.progress-container {
	margin: 1rem 0;
}

.progress-label {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.3rem;
	font-size: 0.85rem;
}

.progress-bar {
	height: 6px;
	border-radius: 3px;
	background-color: rgba(0, 0, 0, 0.05);
}

.progress-fill {
	height: 100%;
	border-radius: 3px;
	background: linear-gradient(90deg, #0071e3 0%, #5e9ce6 100%);
	transition: width 0.6s ease;
}

@media (max-width:768px) {
	.report {
		padding: 0.5rem;
	}

	.card-body {
		padding: 0.8rem;
	}

	.chart-container {
		height: 200px;
	}

	.row>.col-md-6 {
		margin-bottom: 1rem;
	}

	table {
		font-size: 0.8rem;
	}

	th,
	td {
		padding: 0.4rem;
	}
}

@media (max-width:480px) {
	.title {
		padding: 1rem;
	}

	.card-title {
		margin-bottom: 0.5rem;
	}

	.chart-container {
		height: 180px;
	}

	.progress-label {
		font-size: 0.75rem;
	}
}

#concerns-content table {
	min-width: 100%;
	white-space: nowrap;
}

#concerns-content {
	overflow-x: auto;
}

#table-wrapper table {
	min-width: 100%;
	white-space: nowrap;
}

#table-wrapper {
	overflow-x: auto;
}

.score-box-container {
	display: flex;
	justify-content: space-between;
}

.score-box {
	width: calc(33.333% - 10px);
}

.project-link {
	color: #000000;
	text-decoration: none;
}

.project-link:hover {
	color: #000000;
	text-decoration: none;
}

.chart-container {
	position: relative;
	height: 400px;
	width: 100%;
}

.company-link {
    color: #007bff;
    text-decoration: none;
}
.company-link:hover {
	text-decoration: none;
    color: #0056b3;
}