/**
 * Business archive — Sector performance (30d) sidebar widget.
 */

.cn-sector-performance-widget.sector-widget {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	font-family: "DM Mono", "Courier New", monospace;
	background: #f7f7f7 !important;
	padding: 8px 10px;
	box-sizing: border-box;
	color: #1f2933 !important;
}

body.post-type-archive-business .elementor-element-1e2d6902 .elementor-widget-container,
.elementor-11880 .elementor-element-1e2d6902 .elementor-widget-container {
	min-width: 0;
	max-width: 100%;
}

.cn-sector-performance-widget .sector-title {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1.8px;
	color: #6f7a86 !important;
	margin-bottom: 14px;
}

.cn-sector-performance-widget .sector-row {
	display: grid;
	grid-template-columns: 115px 1fr 55px;
	align-items: center;
	gap: 12px;
	margin-bottom: 13px;
}

.cn-sector-performance-widget .sector-row:last-child {
	margin-bottom: 0;
}

.cn-sector-performance-widget .sector-label {
	font-size: 12px;
	color: #1f2933 !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cn-sector-performance-widget .sector-track {
	width: 100%;
	height: 3px;
	background: #dedede;
	position: relative;
	overflow: hidden;
}

.cn-sector-performance-widget .sector-bar {
	height: 100%;
	background: #c000ff;
	transition: width 0.3s ease-in-out;
}

.cn-sector-performance-widget .sector-bar--negative {
	background: #e05c5c;
}

.cn-sector-performance-widget .sector-value {
	font-size: 12px;
	color: #9b00ff !important;
	text-align: right;
	white-space: nowrap;
}

.cn-sector-performance-widget .sector-value--negative {
	color: #e05c5c !important;
}

.cn-sector-performance-widget .sector-footnote {
	margin-top: 12px;
	font-size: 9px;
	color: #8b95a1 !important;
	line-height: 1.4;
}

@media (max-width: 767px) {
	.cn-sector-performance-widget.sector-widget {
		padding: 8px;
	}

	.cn-sector-performance-widget .sector-row {
		grid-template-columns: 105px 1fr 48px;
		gap: 8px;
	}

	.cn-sector-performance-widget .sector-label,
	.cn-sector-performance-widget .sector-value {
		font-size: 11px;
	}
}
