
.upsd-wrap {
	max-width: 1120px;
	margin-top: 20px;
}

.upsd-hero {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	background: #ffffff;
	border: 1px solid #dcdcde;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	margin: 20px 0 28px;
}

.upsd-hero h1 {
	margin: 0 0 8px;
	font-size: 30px;
	line-height: 1.2;
}

.upsd-hero p {
	margin: 0;
	font-size: 15px;
	color: #50575e;
	max-width: 720px;
}

.upsd-section-head {
	margin: 26px 0 14px;
}

.upsd-section-head h2 {
	margin: 0 0 6px;
	font-size: 20px;
}

.upsd-section-head p {
	margin: 0;
	color: #50575e;
	font-size: 14px;
}

.upsd-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.upsd-stat {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.upsd-stat span {
	display: block;
	font-size: 13px;
	color: #50575e;
	margin-bottom: 6px;
}

.upsd-stat strong {
	font-size: 26px;
	line-height: 1.2;
}

.upsd-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 20px;
	margin-bottom: 24px;
}

.upsd-card {
	background: #ffffff;
	border: 1px solid #dcdcde;
	border-radius: 16px;
	padding: 22px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.upsd-card h2 {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.35;
}

.upsd-card p {
	margin: 0 0 12px;
	font-size: 14px;
	color: #50575e;
}

.upsd-badge {
	display: inline-block;
	margin-bottom: 14px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #e7f5ea;
	color: #166534;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.upsd-badge-warn {
	background: #fff4e5;
	color: #9a4d00;
}

.upsd-result {
	padding-top: 6px;
	border-top: 1px solid #f0f0f1;
}

.upsd-toggle,
.upsd-radio {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #1d2327;
	margin: 12px 0 0;
}

.upsd-inline-field {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.upsd-inline-field label {
	font-weight: 600;
}

.upsd-inline-field input[type="number"] {
	width: 90px;
}

.upsd-footer-actions {
	margin-top: 10px;
	margin-bottom: 10px;
}

.upsd-cleanup-card form {
	margin-top: 14px;
}

.upsd-recommended-form {
	flex-shrink: 0;
}

@media (max-width: 782px) {
	.upsd-hero {
		flex-direction: column;
		align-items: flex-start;
	}

	.upsd-recommended-form {
		width: 100%;
	}

	.upsd-recommended-form .button {
		width: 100%;
		text-align: center;
		justify-content: center;
	}
}

.upsd-hero-subtext {
	margin-top: 10px;
	font-size: 14px;
	color: #50575e;
	max-width: 760px;
}

.upsd-note {
	margin-top: 12px;
	padding: 10px 12px;
	background: #f8f9fb;
	border: 1px solid #e2e4e7;
	border-radius: 10px;
	font-size: 13px;
	color: #50575e;
}

.upsd-cleanup-subtext {
	margin-top: 8px;
	font-size: 14px;
	color: #50575e;
}

.upsd-hero-brand {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.upsd-logo {
	width: 190px;
	height: auto;
	display: block;
	flex-shrink: 0;
}

.upsd-hero-copy {
	min-width: 0;
}
