.hct-root,
.hct-root * {
	box-sizing: border-box;
}

.hct-root[hidden],
.hct-root [hidden] {
	display: none !important;
}

.hct-bar {
	position: fixed;
	right: 12px;
	bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	left: 12px;
	z-index: 9997;
	display: flex;
	align-items: stretch;
	min-height: 54px;
	overflow: hidden;
	color: #272326;
	background: #fff;
	border: 1px solid #e7e2e3;
	border-radius: 14px;
	box-shadow: 0 8px 28px rgba(42, 28, 32, 0.18);
	transition: transform 180ms ease, opacity 180ms ease;
}

.hct-bar__open {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 8px;
	align-items: center;
	width: 100%;
	min-width: 0;
	padding: 7px 6px 7px 10px;
	font: inherit;
	color: inherit;
	text-align: left;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.hct-bar__eyebrow {
	display: inline-flex;
	align-items: center;
	align-self: stretch;
	padding-right: 8px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.25;
	color: #695e61;
	letter-spacing: -0.02em;
	white-space: nowrap;
	border-right: 1px solid #ebe6e7;
}

.hct-bar__title {
	grid-column: 2;
	display: flex;
	align-items: center;
	align-self: stretch;
	min-width: 0;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.025em;
	white-space: nowrap;
}

.hct-bar__action {
	grid-column: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	min-height: 38px;
	padding: 0 10px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	background: #cf5566;
	border-radius: 10px;
}

.hct-bar__dismiss {
	flex: 0 0 36px;
	padding: 0;
	font: inherit;
	font-size: 20px;
	line-height: 1;
	color: #72666a;
	background: #faf6f7;
	border: 0;
	border-left: 1px solid #ead9dc;
	cursor: pointer;
}

.hct-root.is-inline-cta-visible:not(.is-open) .hct-bar {
	opacity: 0;
	transform: translateY(calc(100% + 30px));
	pointer-events: none;
}

.hct-root.is-open .hct-bar {
	opacity: 0;
	pointer-events: none;
}

.hct-backdrop {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: rgba(28, 22, 24, 0.36);
}

.hct-sheet {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9999;
	max-height: min(62dvh, 560px);
	padding: 18px 16px calc(14px + env(safe-area-inset-bottom, 0px));
	overflow-y: auto;
	overscroll-behavior: contain;
	color: #272326;
	background: #fff;
	border-radius: 20px 20px 0 0;
	box-shadow: 0 -12px 34px rgba(42, 28, 32, 0.2);
}

.hct-sheet:focus {
	outline: none;
}

.hct-sheet__header {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 12px;
}

.hct-sheet__header h2 {
	margin: 0 0 2px;
	font-size: 18px;
	line-height: 1.35;
}

.hct-sheet__header p {
	margin: 0;
	font-size: 11px;
	line-height: 1.5;
	color: #6d6266;
}

.hct-sheet__close {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	padding: 0;
	font: inherit;
	font-size: 24px;
	line-height: 1;
	color: #62585b;
	background: #f5f1f2;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.hct-service-list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hct-service {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	gap: 9px;
	align-items: center;
	min-height: 82px;
	padding: 9px;
	background: #fff;
	border: 1px solid #eadfe1;
	border-radius: 12px;
}

.hct-service--rank-1 {
	background: #fff9fa;
	border-color: #de8e9b;
}

.hct-service__rank {
	display: inline-flex;
	align-items: baseline;
	justify-content: center;
	font-size: 21px;
	font-weight: 800;
	line-height: 1;
	color: #c64e60;
}

.hct-service__rank small {
	font-size: 10px;
}

.hct-service__body {
	min-width: 0;
}

.hct-service__body h3 {
	margin: 0 0 3px;
	font-size: 14px;
	line-height: 1.35;
}

.hct-service__score {
	display: inline-flex;
	gap: 3px;
	align-items: baseline;
	margin: 0 0 4px;
	padding: 2px 6px;
	font-size: 9px;
	font-weight: 600;
	line-height: 1.3;
	color: #715c61;
	white-space: nowrap;
	background: #f8eff1;
	border-radius: 4px;
}

.hct-service__score strong {
	font-size: 12px;
	font-weight: 800;
	color: #b74758;
}

.hct-service__score small {
	font-size: 9px;
}

.hct-service__body p {
	margin: 0;
	font-size: 11px;
	line-height: 1.45;
	color: #63595c;
}

.hct-service__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	min-height: 40px;
	padding: 7px 10px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff !important;
	text-decoration: none !important;
	background: #cf5566;
	border-radius: 9px;
}

.hct-service--rank-3 .hct-service__cta {
	color: #b74758 !important;
	background: #fff;
	border: 1px solid #d77886;
}

.hct-sheet__footer {
	display: flex;
	gap: 6px 12px;
	align-items: center;
	justify-content: flex-end;
	margin-top: 10px;
}

.hct-sheet__footer a {
	flex: 0 0 auto;
	font-size: 11px;
	color: #9f3547;
}

.hct-bar button:focus-visible,
.hct-sheet button:focus-visible,
.hct-sheet a:focus-visible {
	outline: 3px solid rgba(43, 112, 196, 0.6);
	outline-offset: 2px;
}

html.hct-sheet-open,
html.hct-sheet-open body {
	overflow: hidden;
}

body.hct-comparison-bar-visible .p-fixBtnWrap {
	bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
	transition: bottom 180ms ease;
}

@media (min-width: 769px) {
	.hct-root {
		display: none !important;
	}
}

@media (max-width: 359px) {
	.hct-bar__eyebrow {
		display: none;
	}

	.hct-bar__open {
		grid-template-columns: 1fr auto;
	}

	.hct-bar__title {
		grid-column: 1;
	}

	.hct-bar__action {
		grid-column: 2;
	}

	.hct-service {
		grid-template-columns: 28px minmax(0, 1fr) auto;
		gap: 6px;
	}

	.hct-service__cta {
		min-width: 64px;
		padding-right: 7px;
		padding-left: 7px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hct-bar {
		transition: none;
	}
}

@media print {
	.hct-root {
		display: none !important;
	}
}
