.dd-dashboard {
	background: #fffaf7;
	border: 1px solid #f2d3c4;
	border-radius: 8px;
	color: #19233a;
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
	padding: 24px;
}

.dd-dashboard * {
	box-sizing: border-box;
}

.dd-kicker {
	color: #cf1d1d;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	margin: 0 0 7px;
	text-transform: uppercase;
}

.dd-dashboard h2 {
	color: #172e78;
	font-size: 26px;
	line-height: 1.2;
	margin: 0 0 10px;
}

.dd-subtitle {
	color: #cf1d1d;
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 12px;
}

.dd-description {
	font-size: 15px;
	line-height: 1.55;
	margin: 0 0 16px;
}

.dd-priority {
	background: #fff;
	border-left: 4px solid #f06f18;
	border-radius: 6px;
	margin: 0 0 18px;
	padding: 10px 12px;
}

.dd-priority span,
.dd-priority strong {
	display: block;
}

.dd-priority span {
	color: #566176;
	font-size: 13px;
	margin-bottom: 3px;
}

.dd-button {
	background: #0b8f45;
	border-radius: 6px;
	color: #fff !important;
	display: inline-block;
	font-weight: 700;
	line-height: 1;
	padding: 13px 18px;
	text-decoration: none;
}

.dd-button:focus,
.dd-button:hover {
	background: #077337;
	color: #fff !important;
	text-decoration: none;
}

.dd-meter-panel {
	align-self: center;
	background: #fff;
	border: 1px solid #f3ded2;
	border-radius: 8px;
	padding: 18px;
	text-align: center;
}

.dd-gauge {
	aspect-ratio: 2 / 1.1;
	margin: 0 auto;
	max-width: 320px;
	position: relative;
	width: 100%;
}

.dd-gauge-arc {
	background:
		conic-gradient(from 270deg at 50% 100%,
			#d9362e 0deg 42deg,
			#f08b22 42deg 104deg,
			#18a957 104deg 180deg,
			transparent 180deg 360deg);
	border-radius: 999px 999px 0 0;
	inset: 0 0 auto;
	height: 100%;
	position: absolute;
}

.dd-gauge-arc::after {
	background: #fff;
	border-radius: 999px 999px 0 0;
	content: "";
	inset: 28px 28px 0;
	position: absolute;
}

.dd-needle {
	background: #172e78;
	border-radius: 999px;
	bottom: 10%;
	height: 4px;
	left: 50%;
	position: absolute;
	transform: rotate(var(--dd-angle));
	transform-origin: 0 50%;
	width: 38%;
	z-index: 2;
}

.dd-needle::after {
	background: #172e78;
	border: 4px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(23, 46, 120, .25);
	content: "";
	height: 18px;
	left: -9px;
	position: absolute;
	top: -7px;
	width: 18px;
}

.dd-gauge-center {
	bottom: 10%;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	z-index: 3;
}

.dd-gauge-center strong {
	color: #cf1d1d;
	display: block;
	font-size: 34px;
	line-height: 1;
}

.dd-gauge-center span {
	color: #566176;
	font-weight: 700;
}

.dd-gauge-labels {
	bottom: 0;
	color: #566176;
	display: flex;
	font-size: 12px;
	justify-content: space-between;
	left: 0;
	position: absolute;
	right: 0;
}

.dd-status {
	color: #172e78;
	font-size: 18px;
	font-weight: 700;
	margin: 12px 0;
}

.dd-stats {
	display: flex;
	gap: 8px;
	justify-content: center;
}

.dd-stats span {
	background: #eef7f1;
	border-radius: 6px;
	color: #244032;
	font-size: 13px;
	padding: 7px 9px;
}

.dd-categories {
	display: grid;
	gap: 10px;
	grid-column: 1 / -1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dd-category {
	background: #fff;
	border: 1px solid #e5e9ef;
	border-radius: 6px;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	min-height: 54px;
	padding: 10px;
}

.dd-category-name {
	font-weight: 700;
}

.dd-category-state {
	color: #cf1d1d;
	font-size: 13px;
	font-weight: 700;
	text-align: right;
}

@media (max-width: 780px) {
	.dd-dashboard {
		grid-template-columns: 1fr;
		padding: 18px;
	}

	.dd-categories {
		grid-template-columns: 1fr;
	}

	.dd-stats {
		flex-direction: column;
	}
}
