.sales-quote-analytics-dashboard {
	display: grid;
	gap: 20px;
	margin: 0 0 20px;
}

.sales-quote-analytics-dashboard[hidden] {
	display: none;
}

.sales-quote-trend-commentary {
	position: relative;
	margin-bottom: 26px;
	padding: 22px;
	border: solid #c9d9e6 1px;
	border-radius: 12px;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(31, 79, 122, 0.07) 0%, rgba(255, 255, 255, 0.96) 48%, rgba(209, 154, 35, 0.08) 100%);
	box-shadow: 0 7px 22px rgba(35, 62, 84, 0.08);
}

.sales-quote-trend-commentary::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--ops-home-color, #1f4f7a) 0%, #4f8fc5 58%, var(--ops-accent-color, #d19a23) 100%);
	content: "";
}

.sales-quote-trend-intro {
	display: flex;
	margin-bottom: 12px;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px 12px;
}

.sales-quote-trend-eyebrow {
	width: 100%;
	color: var(--ops-home-color, #1f4f7a);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.sales-quote-trend-intro h3 {
	margin: 0;
	color: #243b4d;
	font-size: 21px;
	letter-spacing: -0.015em;
}

.sales-quote-trend-intro p {
	margin: 0;
	color: #687581;
	font-size: 12px;
}

.sales-quote-management-commentary {
	margin: 0;
	padding: 15px 17px;
	border: solid rgba(151, 174, 192, 0.52) 1px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.84);
	box-shadow: 0 2px 8px rgba(44, 67, 84, 0.05);
	color: #53636f;
	font-size: 12.5px;
	line-height: 1.68;
}

.sales-quote-dashboard-heading {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 18px;
	margin-bottom: 14px;
}

.sales-quote-dashboard-heading h3 {
	margin-bottom: 5px;
}

.sales-quote-dashboard-heading p {
	max-width: 930px;
	margin: 0;
	color: #5f6b76;
	line-height: 1.45;
}

.sales-quote-dashboard-badges {
	display: flex;
	flex: 0 0 auto;
	gap: 7px;
	align-items: center;
}

.sales-quote-dashboard-badges span,
.sales-quote-week-badge {
	display: inline-flex;
	padding: 7px 10px;
	border: solid #cbd7e2 1px;
	border-radius: 999px;
	background: #eef3f7;
	color: #344a5d;
	font-size: 12px;
	white-space: nowrap;
}

.sales-quote-dashboard-note {
	margin-bottom: 12px;
	padding: 10px 12px;
	border: solid #d9c575 1px;
	border-left: solid #d09a20 4px;
	border-radius: 5px;
	background: #fff8dc;
	color: #5f5124;
	font-size: 12px;
	line-height: 1.45;
}

.sales-quote-summary-tables {
	display: grid;
	width: 100%;
	gap: 14px;
}

.sales-quote-summary-scroll {
	max-height: 420px;
	border: solid #cbd5dd 1px;
	border-radius: 7px;
	overflow: auto;
	box-shadow: 0 2px 7px rgba(39, 61, 79, 0.05);
}

.sales-quote-summary-table {
	width: 100%;
	min-width: 1950px;
	table-layout: fixed;
	font-size: 11px;
}

.sales-quote-summary-table th,
.sales-quote-summary-table td {
	padding: 6px 7px;
	white-space: nowrap;
}

.sales-quote-summary-table thead th {
	position: sticky;
	top: 27px;
	z-index: 4;
	background: #dce7ef;
	box-shadow: inset 0 -1px 0 #afbecb;
	white-space: normal;
	vertical-align: bottom;
}

.sales-quote-summary-table thead .sales-quote-summary-groups th {
	top: 0;
	height: 27px;
	padding: 5px 7px;
	background: var(--ops-home-color, #1f4f7a);
	color: #ffffff;
	font-size: 11px;
	text-align: center;
	vertical-align: middle;
}

.sales-quote-summary-table tbody tr:nth-child(even) td {
	background: #f8fafc;
}

.sales-quote-summary-table tbody tr:hover td {
	background: #fff7da;
}

.sales-quote-summary-table .sales-quote-summary-quarter-cell {
	position: sticky;
	left: 0;
	z-index: 3;
	width: 105px;
	min-width: 105px;
	max-width: 105px;
	background: #ffffff;
	box-shadow: 2px 0 3px rgba(53, 73, 89, 0.10);
}

.sales-quote-summary-table thead .sales-quote-summary-quarter-cell {
	z-index: 7;
	background: #dce7ef;
}

.sales-quote-summary-table tbody tr:nth-child(even) .sales-quote-summary-quarter-cell {
	background: #f8fafc;
}

.sales-quote-summary-table tbody tr:hover .sales-quote-summary-quarter-cell {
	background: #fff7da;
}

.sales-quote-summary-table .sales-quote-current-quarter-row td,
.sales-quote-summary-table .sales-quote-current-quarter-row .sales-quote-summary-quarter-cell {
	background: #fff3a8;
	border-top: solid #d6a100 2px;
}

.sales-quote-summary-number {
	font-variant-numeric: tabular-nums;
	text-align: right !important;
}

.sales-quote-projected-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 5px;
	border-radius: 999px;
	background: #8a6c00;
	color: #ffffff;
	font-size: 9px;
	font-weight: normal;
	text-transform: uppercase;
}

.sales-quote-dashboard-footnote {
	margin: 9px 0 0;
	color: #66717c;
	font-size: 11px;
	line-height: 1.45;
}

.sales-quote-dashboard-chart-grid {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.sales-quote-dashboard-chart {
	display: flex;
	min-width: 0;
	padding: 12px 12px 10px;
	border: solid #cedae4 1px;
	border-radius: 11px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
	box-shadow: 0 5px 16px rgba(39, 61, 79, 0.07);
	flex-direction: column;
}


.sales-quote-dashboard-chart h4 {
	margin: 0 0 7px;
	color: #2a4357;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.005em;
	line-height: 1.35;
	text-align: center;
}

.sales-quote-dashboard-chart h4::after {
	display: block;
	width: 42px;
	height: 3px;
	margin: 6px auto 0;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--ops-home-color, #1f4f7a), #72a5ce);
	content: "";
}

.sales-quote-chart-canvas {
	min-width: 0;
	overflow-x: auto;
}

.sales-quote-chart-canvas svg {
	display: block;
	width: 100%;
	min-width: 420px;
	height: auto;
}


.sales-quote-chart-plot {
	fill: #fbfdff;
	stroke: #dfe7ed;
	stroke-width: 1;
}

.sales-quote-chart-grid {
	stroke: #e5ebf0;
	stroke-width: 1;
}

.sales-quote-chart-axis {
	fill: #5b6b78;
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.sales-quote-chart-x-label {
	fill: #405464;
	font-weight: 650;
}

.sales-quote-chart-axis-right {
	fill: #934646;
}

.sales-quote-chart-line,
.sales-quote-chart-point,
.sales-quote-chart-bar {
	vector-effect: non-scaling-stroke;
}

.sales-quote-chart-point {
	stroke: #ffffff;
	stroke-width: 2;
}

.sales-quote-chart-bar {
	opacity: 0.9;
}

.sales-quote-chart-legend {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 5px 6px;
	margin-top: 6px;
	color: #485a68;
	font-size: 10px;
	line-height: 1.3;
}

.sales-quote-chart-legend span {
	display: inline-flex;
	padding: 3px 6px;
	border: solid #e0e7ed 1px;
	border-radius: 999px;
	background: #f6f8fa;
	align-items: center;
	gap: 6px;
}

.sales-quote-chart-legend i {
	display: inline-block;
	width: 19px;
	height: 0;
	border-top: solid var(--sales-quote-series-color) 3px;
}

.sales-quote-chart-legend i.is-dashed {
	border-top-style: dashed;
}

.sales-quote-chart-empty {
	padding: 32px 14px;
	border: dashed #cbd7e2 1px;
	border-radius: 5px;
	background: #f8fafc;
	color: #66717c;
	text-align: center;
}

.sales-quote-new-inquiries-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.sales-quote-weekly-scroll {
	max-height: 520px;
	border: solid #cbd5dd 1px;
	border-radius: 6px;
	overflow: auto;
}

.sales-quote-weekly-table {
	min-width: 900px;
	font-size: 11px;
}

.sales-quote-weekly-table th,
.sales-quote-weekly-table td {
	padding: 6px 7px;
	white-space: nowrap;
}

.sales-quote-weekly-table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #dce7ef;
}

.sales-quote-weekly-table tbody tr:nth-child(even) {
	background: #f8fafc;
}

.sales-quote-weekly-table .sales-quote-latest-week-row td {
	background: #e8f3e9;
	border-top: solid #6d9f75 2px;
}

@media (max-width: 1080px) {
	.sales-quote-new-inquiries-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 920px) {
	.sales-quote-dashboard-chart-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.sales-quote-trend-commentary {
		padding: 18px 15px;
	}

	.sales-quote-trend-intro {
		align-items: flex-start;
		flex-direction: column;
	}

	.sales-quote-management-commentary {
		padding: 13px;
	}

	.sales-quote-dashboard-chart {
		padding: 14px 10px 12px;
	}

	.sales-quote-chart-canvas svg {
		min-width: 420px;
	}

	.sales-quote-dashboard-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.sales-quote-dashboard-badges {
		align-items: flex-start;
		flex-direction: column;
	}

	.sales-quote-week-badge {
		align-self: flex-start;
	}
}
