.seat-weighted-rate {
	--seat-rate-blue: #1967d2;
	--seat-rate-blue-dark: #174ea6;
	--seat-rate-tint: #e8f0fe;
	color: #202124;
}

.seat-weighted-rate__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
	gap: clamp(24px, 4vw, 52px);
	align-items: start;
}

.seat-weighted-rate__sheet,
.seat-weighted-rate__result {
	min-width: 0;
	padding: clamp(20px, 3vw, 34px);
	border: 1px solid #dfe3eb;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(32, 33, 36, .08);
}

.seat-weighted-rate__heading {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
}

.seat-weighted-rate__heading p,
.seat-weighted-rate__eyebrow {
	margin: 0 0 5px;
	color: var(--seat-rate-blue-dark);
	font-size: .74rem;
	font-weight: 850;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.seat-weighted-rate__heading h3 {
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.seat-weighted-rate__labels,
.seat-weighted-rate__row {
	display: grid;
	grid-template-columns: minmax(120px, 1.4fr) minmax(95px, 1fr) minmax(95px, 1fr) minmax(78px, .7fr) 42px;
	gap: 10px;
	align-items: center;
}

.seat-weighted-rate__labels {
	padding: 0 5px 8px;
	color: #5f6368;
	font-size: .72rem;
	font-weight: 750;
}

.seat-weighted-rate__row {
	margin-bottom: 10px;
	padding: 10px;
	border: 1px solid #e4e7ec;
	border-radius: 14px;
	background: #f8fafd;
}

.seat-weighted-rate__row input {
	width: 100%;
	min-height: 44px;
	padding: 9px 10px;
	border: 1px solid #bdc5d2;
	border-radius: 9px;
	background: #fff;
	color: #202124;
	font: inherit;
}

.seat-weighted-rate__row input:focus {
	border-color: var(--seat-rate-blue);
	box-shadow: 0 0 0 3px rgba(25, 103, 210, .14);
	outline: 0;
}

.seat-weighted-rate__row output {
	font-size: .9rem;
	font-weight: 800;
	text-align: right;
}

.seat-weighted-rate__remove {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid #dadce0;
	border-radius: 50%;
	background: #fff;
	color: #5f6368;
	cursor: pointer;
	font-size: 1.15rem;
}

.seat-weighted-rate__result {
	position: sticky;
	top: 24px;
	border-top: 6px solid var(--seat-rate-blue);
	background: linear-gradient(145deg, #fff 0%, #f1f6ff 100%);
}

.seat-weighted-rate__result > strong {
	display: block;
	margin: 8px 0 10px;
	color: #202124;
	font-size: clamp(3.2rem, 7vw, 5.4rem);
	line-height: 1;
	letter-spacing: -.055em;
}

.seat-weighted-rate__result > p:not(.seat-weighted-rate__eyebrow):not(.seat-native-status) {
	color: #4d5156;
	line-height: 1.6;
}

.seat-weighted-rate__comparison {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 24px 0;
}

.seat-weighted-rate__comparison div {
	padding: 15px;
	border: 1px solid #d9e2f4;
	border-radius: 13px;
	background: #fff;
}

.seat-weighted-rate__comparison span,
.seat-weighted-rate__comparison b {
	display: block;
}

.seat-weighted-rate__comparison span {
	min-height: 2.5em;
	color: #5f6368;
	font-size: .74rem;
	font-weight: 700;
}

.seat-weighted-rate__comparison b {
	margin-top: 8px;
	font-size: 1.4rem;
}

.seat-weighted-rate__warning {
	padding: 14px 16px;
	border-left: 4px solid #f9ab00;
	border-radius: 0 10px 10px 0;
	background: #fef7e0;
	color: #5f4b00;
	font-size: .88rem;
	line-height: 1.55;
}

.seat-weighted-rate__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.seat-weighted-rate__guide {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: clamp(28px, 5vw, 56px);
}

.seat-weighted-rate__guide > div {
	padding: 22px;
	border: 1px solid #dfe3eb;
	border-radius: 18px;
	background: #fff;
}

.seat-weighted-rate__guide span {
	display: inline-grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: var(--seat-rate-tint);
	color: var(--seat-rate-blue-dark);
	font-size: .76rem;
	font-weight: 850;
}

.seat-weighted-rate__guide h3 { margin: 14px 0 8px; font-size: 1.05rem; }
.seat-weighted-rate__guide p { margin: 0; color: #5f6368; font-size: .88rem; line-height: 1.55; }

@media (max-width: 820px) {
	.seat-weighted-rate__layout { grid-template-columns: 1fr; }
	.seat-weighted-rate__result { position: static; }
	.seat-weighted-rate__guide { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
	.seat-weighted-rate__labels { display: none; }
	.seat-weighted-rate__row { grid-template-columns: 1fr 1fr; }
	.seat-weighted-rate__row input:first-child { grid-column: 1 / -1; }
	.seat-weighted-rate__row output { text-align: left; }
}
