.hch-portal {
	--hch-primary: #3b7ddd;
	--hch-nav: #222e3c;
	--hch-text: #495057;
	--hch-heading: #222e3c;
	--hch-muted: #6c757d;
	--hch-border: #e7eaf0;
	--hch-bg: #f5f7fb;
	--hch-danger: #d9534f;
	margin: 0;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	background: var(--hch-bg);
	color: var(--hch-text);
}

/* Keep uneven extension channels visually balanced on the dashboard. */
.hch-extension-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hch-extension-row { min-width: 0; border-right: 1px solid #edf1f7; }
.hch-extension-row:nth-child(2n) { border-right: 0; }
.hch-extension-row:nth-last-child(-n+2) { border-bottom: 0; }

@media (max-width: 760px) {
	.hch-extension-list { grid-template-columns: 1fr; }
	.hch-extension-row, .hch-extension-row:nth-child(2n), .hch-extension-row:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid #edf1f7; }
	.hch-extension-row:last-child { border-bottom: 0; }
}

.hch-portal a { color: var(--hch-primary); }
.hch-portal a:focus,
.hch-portal button:focus,
.hch-portal input:focus {
	outline: 2px solid var(--hch-primary);
	outline-offset: 2px;
}

.hch-portal-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: #fff;
	border-bottom: 1px solid var(--hch-border);
	position: sticky;
	top: 0;
	z-index: 20;
}

.hch-portal-brand {
	font-weight: 700;
	color: var(--hch-heading);
	text-decoration: none;
}

.hch-portal-header-meta {
	margin-left: auto;
	color: var(--hch-muted);
	font-size: 0.875rem;
	max-width: 50%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hch-portal-menu {
	display: none;
	border: 1px solid var(--hch-border);
	background: #fff;
	border-radius: 0.4rem;
	padding: 8px 12px;
}

.hch-portal-layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	min-height: calc(100vh - 53px);
}

.hch-portal-nav {
	background: var(--hch-nav);
	padding: 16px 0;
	display: flex;
	flex-direction: column;
}

.hch-portal-nav-link {
	color: #fff;
	text-decoration: none;
	padding: 10px 20px;
}

.hch-portal-nav-link.is-current,
.hch-portal-nav-link:hover {
	background: rgba(255, 255, 255, 0.08);
}

.hch-portal-main {
	padding: 24px 20px 48px;
	max-width: 1080px;
}

.hch-page-header h1 {
	margin: 0 0 8px;
	color: var(--hch-heading);
	font-size: 1.6rem;
}

.hch-card {
	background: #fff;
	border: 1px solid var(--hch-border);
	border-radius: 0.5rem;
	padding: 20px;
	margin: 16px 0;
	box-shadow: 0 0 0.875rem 0 rgba(33, 37, 41, 0.05);
}

.hch-stat-grid,
.hch-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	margin: 16px 0;
}

.hch-stat,
.hch-product-card {
	background: #fff;
	border: 1px solid var(--hch-border);
	border-radius: 0.5rem;
	padding: 16px;
}

.hch-stat-value {
	display: block;
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--hch-heading);
}

.hch-stat-label,
.hch-muted { color: var(--hch-muted); }

.hch-badge {
	display: inline-block;
	border-radius: 999px;
	padding: 2px 8px;
	font-size: 0.75rem;
	background: #eef3fb;
	color: var(--hch-heading);
	margin-right: 4px;
}

.hch-badge-active, .hch-badge-eligible, .hch-badge-included { background: #e6f4ea; }
.hch-badge-expired, .hch-badge-revoked, .hch-badge-deactivated, .hch-badge-inactive { background: #fdecea; }
.hch-badge-grace, .hch-badge-cancel_at_period_end, .hch-badge-past_due { background: #fff4e5; }

.hch-table-wrap { overflow-x: auto; }
.hch-table { width: 100%; border-collapse: collapse; }
.hch-table th, .hch-table td {
	text-align: left;
	padding: 10px 8px;
	border-bottom: 1px solid var(--hch-border);
	vertical-align: top;
}

.hch-id {
	overflow-wrap: anywhere;
	word-break: break-all;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.85em;
}

.hch-btn {
	display: inline-block;
	background: var(--hch-primary);
	color: #fff !important;
	border: 0;
	border-radius: 0.4rem;
	padding: 8px 14px;
	text-decoration: none;
	cursor: pointer;
	font: inherit;
}

.hch-btn-secondary { background: #5f6b7a; }
.hch-btn-danger { background: var(--hch-danger); }

.hch-form label { display: block; margin: 12px 0; }
.hch-form input[type="text"],
.hch-form input[type="email"] {
	width: 100%;
	max-width: 420px;
	padding: 8px 10px;
	border: 1px solid var(--hch-border);
	border-radius: 0.4rem;
}

.hch-inline-form { display: inline; }
.hch-dl { display: grid; gap: 10px; }
.hch-dl dt { color: var(--hch-muted); font-size: 0.8rem; }
.hch-notice { padding: 12px 14px; border-radius: 0.4rem; margin: 12px 0; }
.hch-notice-success { background: #e6f4ea; }
.hch-notice-error { background: #fdecea; }
.hch-notice-info { background: #eef3fb; }
.hch-empty { padding: 24px; background: #fff; border: 1px dashed var(--hch-border); border-radius: 0.5rem; }
.hch-changelog { white-space: pre-wrap; background: #f8fafc; padding: 12px; overflow-wrap: anywhere; }
.hch-pager { display: flex; gap: 12px; margin-top: 16px; }
.hch-entitlements { padding-left: 18px; }

@media (max-width: 860px) {
	.hch-portal-menu { display: inline-block; }
	.hch-portal-layout { grid-template-columns: 1fr; }
	.hch-portal-nav {
		display: none;
		position: absolute;
		width: min(280px, 90vw);
		z-index: 30;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	}
	.hch-portal-nav.is-open { display: flex; }
	.hch-table thead { display: none; }
	.hch-table tr {
		display: block;
		border: 1px solid var(--hch-border);
		border-radius: 0.5rem;
		margin: 0 0 12px;
		padding: 8px 12px;
		background: #fff;
	}
	.hch-table td {
		display: block;
		border: 0;
		padding: 6px 0;
	}
	.hch-portal-header-meta { display: none; }
}

/* Marketplace brand marks: skins keep their artwork cover, while channels and
 * connectors use a restrained logo tile instead of a full-bleed crop. */
.hch-store-card-media--logo {
	height: 104px;
	padding: 18px;
	box-sizing: border-box;
	background: #f3f6ff;
}

.hch-store-card-media-image--logo {
	width: 68px !important;
	height: 68px !important;
	max-width: 68px;
	max-height: 68px;
	object-fit: contain !important;
	border-radius: 10px;
}

.hch-store-ph--logo {
	width: 68px;
	height: 68px;
	border-radius: 14px;
	background: #fff;
	color: #5269dd;
	font-size: 20px;
	font-weight: 800;
	box-shadow: 0 8px 20px rgba(49, 70, 145, .12);
}

/* Product-site portal visual system: aligned with Commerce Hub admin UI. */
.hch-portal {
	--hch-primary: #2563eb;
	--hch-primary-dark: #1d4ed8;
	--hch-nav: #172033;
	--hch-heading: #172033;
	--hch-text: #475569;
	--hch-muted: #64748b;
	--hch-border: #e2e8f0;
	--hch-bg: #f6f8fc;
	--hch-surface: #ffffff;
	background: var(--hch-bg);
	color: var(--hch-text);
	font-size: 15px;
	line-height: 1.55;
}

.hch-portal-app { min-height: 100vh; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); }
.hch-portal-header {
	min-height: 68px;
	padding: 0 32px;
	background: rgba(255,255,255,.94);
	box-shadow: 0 1px 0 rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.04);
	backdrop-filter: blur(12px);
}
.hch-portal-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--hch-heading); font-size: 1.05rem; letter-spacing: -.02em; }
.hch-portal-brand::before { content: ""; width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg,#2563eb,#7c3aed); box-shadow: 0 5px 14px rgba(37,99,235,.28); }
.hch-portal-header-meta { padding: 8px 12px; border: 1px solid var(--hch-border); border-radius: 999px; background: #f8fafc; color: #334155; font-weight: 600; }
.hch-portal-layout { grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - 68px); }
.hch-portal-nav { padding: 28px 14px; gap: 5px; background: var(--hch-nav); box-shadow: 8px 0 28px rgba(15,23,42,.08); }
.hch-portal-nav::before { content: "CUSTOMER PORTAL"; padding: 0 14px 12px; color: #94a3b8; font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.hch-portal-nav-link { position: relative; display: flex; align-items: center; min-height: 42px; padding: 10px 14px; border-radius: 9px; color: #cbd5e1; font-weight: 600; transition: background .18s ease, color .18s ease, transform .18s ease; }
.hch-portal-nav-link::before { content: ""; width: 7px; height: 7px; margin-right: 12px; border: 1px solid #64748b; border-radius: 50%; }
.hch-portal-nav-link:hover { background: rgba(148,163,184,.13); color: #fff; transform: translateX(2px); }
.hch-portal-nav-link.is-current { background: linear-gradient(90deg,rgba(37,99,235,.9),rgba(79,70,229,.72)); color: #fff; box-shadow: 0 8px 18px rgba(37,99,235,.22); }
.hch-portal-nav-link.is-current::before { border-color: #fff; background: #fff; }
.hch-portal-main { width: min(1180px, calc(100% - 64px)); max-width: none; margin: 0 auto; padding: 42px 0 72px; }
.hch-page-header { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 26px; padding-bottom: 20px; border-bottom: 1px solid var(--hch-border); }
.hch-page-header::before { content: "HEL SUP · ACCOUNT"; position: absolute; margin-top: -48px; color: var(--hch-primary); font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.hch-page-header h1 { margin: 0; color: var(--hch-heading); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.045em; }
.hch-page-header p { max-width: 680px; margin: 7px 0 0; color: var(--hch-muted); font-size: .98rem; }
.hch-card, .hch-stat, .hch-product-card, .hch-empty { border: 1px solid rgba(226,232,240,.95); border-radius: 14px; background: var(--hch-surface); box-shadow: 0 10px 28px rgba(15,23,42,.045); }
.hch-card { padding: 24px; margin: 20px 0; }
.hch-card h2 { margin: 0 0 16px; color: var(--hch-heading); font-size: 1.05rem; letter-spacing: -.02em; }
.hch-stat-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin: 0 0 26px; }
.hch-stat { position: relative; overflow: hidden; padding: 22px 20px; }
.hch-stat::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg,#2563eb,#7c3aed); }
.hch-stat:nth-child(2)::before { background: linear-gradient(90deg,#06b6d4,#2563eb); }
.hch-stat:nth-child(3)::before { background: linear-gradient(90deg,#10b981,#06b6d4); }
.hch-stat:nth-child(4)::before { background: linear-gradient(90deg,#f59e0b,#ef4444); }
.hch-stat-value { color: var(--hch-heading); font-size: 2rem; line-height: 1; letter-spacing: -.05em; }
.hch-stat-label { display: block; margin-top: 10px; color: var(--hch-muted); font-size: .82rem; font-weight: 700; }
.hch-product-grid { grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 18px; margin: 0; }
.hch-product-card { padding: 24px; transition: transform .18s ease, box-shadow .18s ease; }
.hch-product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(15,23,42,.09); }
.hch-product-card h2 { margin-bottom: 5px; font-size: 1.15rem; }
.hch-table-wrap { overflow: hidden; border: 1px solid var(--hch-border); border-radius: 11px; }
.hch-table { background: #fff; }
.hch-table th { padding: 13px 15px; background: #f8fafc; color: #64748b; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hch-table td { padding: 15px; border-bottom-color: #edf2f7; }
.hch-table tbody tr:last-child td { border-bottom: 0; }
.hch-table tbody tr:hover { background: #f8fbff; }
.hch-table a { font-weight: 700; }
.hch-badge { padding: 4px 9px; border: 1px solid rgba(15,23,42,.05); font-size: .72rem; font-weight: 800; letter-spacing: .01em; }
.hch-btn { border-radius: 8px; padding: 10px 16px; background: var(--hch-primary); box-shadow: 0 6px 14px rgba(37,99,235,.19); font-weight: 700; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.hch-btn:hover { background: var(--hch-primary-dark); transform: translateY(-1px); box-shadow: 0 9px 18px rgba(37,99,235,.25); }
.hch-btn-secondary { background: #475569; box-shadow: 0 6px 14px rgba(71,85,105,.16); }
.hch-form { max-width: 720px; padding: 24px; border: 1px solid var(--hch-border); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(15,23,42,.045); }
.hch-form label { color: #334155; font-weight: 700; }
.hch-form input[type="text"], .hch-form input[type="email"], .hch-form textarea, .hch-form select { box-sizing: border-box; width: 100%; max-width: none; margin-top: 7px; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #1e293b; font: inherit; }
.hch-form textarea { min-height: 130px; resize: vertical; }
.hch-form input:focus, .hch-form textarea:focus, .hch-form select:focus { border-color: var(--hch-primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); outline: 0; }
.hch-dl { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; overflow: hidden; border: 1px solid var(--hch-border); border-radius: 10px; }
.hch-dl > div { padding: 14px 16px; border-bottom: 1px solid var(--hch-border); }
.hch-dl > div:nth-child(odd) { background: #fbfdff; }
.hch-dl dd { margin: 4px 0 0; color: var(--hch-heading); font-weight: 700; }
.hch-notice { border: 1px solid transparent; border-radius: 10px; padding: 13px 16px; }
.hch-empty { padding: 36px 28px; text-align: center; }
.hch-empty h2 { margin-bottom: 7px; }
.hch-empty p { max-width: 520px; margin: 0 auto 18px; color: var(--hch-muted); }
.hch-ticket-thread { padding: 0; overflow: hidden; }
.hch-ticket-message { padding: 20px 24px; border-bottom: 1px solid var(--hch-border); }
.hch-ticket-message:last-child { border-bottom: 0; }
.hch-ticket-message p { margin: 0 0 10px; color: var(--hch-heading); }
.hch-ticket-message div { color: #334155; white-space: normal; }

@media (max-width: 980px) {
	.hch-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.hch-portal-main { width: min(100% - 40px, 760px); }
}

@media (max-width: 860px) {
	.hch-portal-header { min-height: 60px; padding: 0 18px; }
	.hch-portal-layout { min-height: calc(100vh - 60px); }
	.hch-portal-main { width: calc(100% - 32px); padding: 32px 0 52px; }
	.hch-page-header { display: block; }
	.hch-page-header::before { position: static; display: block; margin: 0 0 7px; }
	.hch-menu, .hch-portal-menu { border-radius: 8px; }
	.hch-dl { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
	.hch-stat-grid { grid-template-columns: 1fr; }
	.hch-card, .hch-form { padding: 18px; }
	.hch-table td, .hch-table th { padding: 11px; }
}

/* Commerce Hub customer shell: the same information density and visual rhythm as admin. */
.hch-portal { --hch-primary: #4169e1; --hch-primary-dark: #3457c8; --hch-heading: #17233c; --hch-text: #41506b; --hch-muted: #7d8aa3; --hch-border: #e5eaf3; --hch-bg: #f4f7fc; background: var(--hch-bg); font-size: 14px; }
.hch-portal-app { background: var(--hch-bg); }
.hch-portal-header { position: relative; min-height: 52px; height: 52px; padding: 0 24px; background: #3d55d6; border: 0; border-radius: 0; box-shadow: 0 2px 7px rgba(35,53,139,.18); color: #fff; }
.hch-portal-brand { gap: 9px; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.hch-portal-brand::before { display: none; }
.hch-brand-mark { display: inline-grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; background: rgba(255,255,255,.18); color: #fff; font-size: 13px; }
.hch-portal-search { display: flex; align-items: center; gap: 7px; width: min(450px, 42vw); height: 32px; margin-left: 18px; padding: 0 10px; border-radius: 8px; background: rgba(255,255,255,.18); color: rgba(255,255,255,.76); }
.hch-portal-search span { font-size: 21px; line-height: 1; transform: rotate(-15deg); }
.hch-portal-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 12px; }
.hch-portal-search input::placeholder { color: rgba(255,255,255,.78); }
.hch-portal-tools { display: flex; align-items: center; gap: 17px; margin-left: auto; }
.hch-tool-link { color: rgba(255,255,255,.9) !important; font-size: 12px; font-weight: 700; text-decoration: none; }
.hch-user-chip { display: flex; align-items: center; gap: 8px; color: #fff !important; text-decoration: none; }
.hch-user-chip strong, .hch-user-chip small { display: block; line-height: 1.15; }
.hch-user-chip strong { font-size: 11px; }
.hch-user-chip small { margin-top: 3px; color: rgba(255,255,255,.7); font-size: 10px; }
.hch-avatar { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.24); font-size: 12px; font-weight: 800; }
.hch-portal-layout { grid-template-columns: 184px minmax(0,1fr); min-height: calc(100vh - 52px); }
.hch-portal-nav { padding: 18px 9px; gap: 2px; background: #fff; border-right: 1px solid var(--hch-border); box-shadow: none; }
.hch-portal-nav::before { display: none; }
.hch-nav-group-label { margin: 11px 9px 5px; color: #8490a6; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hch-portal-nav-link { min-height: 35px; padding: 8px 10px; border-radius: 8px; color: #263754; font-size: 12px; font-weight: 600; }
.hch-portal-nav-link::before { display: none; }
.hch-icon { width: 16px; height: 16px; flex: 0 0 16px; margin-right: 10px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }
.hch-portal-nav-link:hover { color: #365ddd; background: #f3f6ff; transform: none; }
.hch-portal-nav-link.is-current { background: #edf3ff; color: #365ddd; box-shadow: none; }
.hch-portal-nav-link.is-current::before { border: 0; background: #dce8ff; box-shadow: inset 0 0 0 1px #b9ceff; }
.hch-portal-main { width: min(1360px, calc(100% - 48px)); margin: 0 auto; padding: 30px 0 60px; }
.hch-page-header { margin-bottom: 18px; padding-bottom: 0; border: 0; }
.hch-page-header::before { display: none; }
.hch-page-header h1 { font-size: 25px; letter-spacing: -.04em; }
.hch-page-header p { margin-top: 3px; font-size: 12px; }
.hch-stat-grid { gap: 14px; margin-bottom: 16px; }
.hch-stat { min-height: 80px; padding: 17px 16px; border-radius: 9px; box-shadow: 0 2px 7px rgba(43,62,105,.05); }
.hch-stat::before { right: auto; width: 4px; height: 100%; border-radius: 9px 0 0 9px; background: #4169e1; }
.hch-stat:nth-child(2)::before { background: #2f9d76; }.hch-stat:nth-child(3)::before { background: #dd8119; }.hch-stat:nth-child(4)::before { background: #8745e8; }
.hch-stat-value { font-size: 22px; }.hch-stat-label { margin-top: 7px; font-size: 11px; font-weight: 600; }
.hch-card, .hch-product-card, .hch-empty { border-radius: 9px; box-shadow: 0 2px 7px rgba(43,62,105,.05); }
.hch-card { padding: 18px; margin: 14px 0; }.hch-card h2 { font-size: 14px; }
.hch-table-wrap { border-radius: 8px; }.hch-table th { padding: 11px 13px; font-size: 10px; }.hch-table td { padding: 12px 13px; font-size: 12px; }
.hch-btn { border-radius: 7px; padding: 8px 13px; box-shadow: 0 3px 7px rgba(65,105,225,.18); font-size: 12px; }
.hch-form { border-radius: 9px; box-shadow: 0 2px 7px rgba(43,62,105,.05); }
.hch-downloads-card { padding: 0; overflow: hidden; }
.hch-downloads-table { min-width: 920px; }
.hch-download-product { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.hch-download-product strong, .hch-download-product small { display: block; }
.hch-download-product strong { color: var(--hch-heading); }
.hch-download-product small { margin-top: 3px; color: var(--hch-muted); font-size: 10px; }
.hch-product-dot { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 8px; background: #edf3ff; color: #4169e1; font-size: 12px; font-weight: 800; }
.hch-download-actions { white-space: nowrap; }
.hch-btn-sm { padding: 6px 9px; font-size: 11px; }
.hch-download-actions form { margin-left: 5px; }
.hch-download-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 18px; }
.hch-download-detail-grid .hch-dl { display: contents; }
.hch-download-detail-grid > div { padding: 13px 15px; border-bottom: 1px solid var(--hch-border); }
.hch-download-hash { display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline; padding: 14px 15px; border: 1px solid var(--hch-border); border-radius: 8px; background: #f8fafc; }
.hch-download-hash span { color: var(--hch-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.hch-download-hash code { overflow-wrap: anywhere; color: #334155; font-size: 11px; }
.hch-download-detail-actions { margin-top: 18px; }
.hch-showcase { margin: 22px 0 26px; }
.hch-showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.hch-showcase-heading h2 { margin: 4px 0 3px; color: var(--hch-heading); font-size: 17px; letter-spacing: -.025em; }.hch-showcase-heading p { margin: 0; color: var(--hch-muted); font-size: 11px; }.hch-eyebrow-blue { color: #4169e1; }
.hch-showcase-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.hch-showcase-card { overflow: hidden; border: 1px solid var(--hch-border); border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(43,62,105,.05); transition: transform .18s ease, box-shadow .18s ease; }.hch-showcase-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(43,62,105,.11); }.hch-showcase-card.is-featured { border-color: #b9caff; }
.hch-showcase-cover { height: 92px; background-position: center; background-size: cover; background-color: #eaf0ff; }.hch-showcase-cover-placeholder { display: grid; place-items: center; background: linear-gradient(135deg,#e8eeff,#f4ecff); }.hch-showcase-cover-placeholder span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #fff; color: #4169e1; font-size: 19px; font-weight: 800; box-shadow: 0 5px 14px rgba(65,105,225,.16); }
.hch-showcase-body { padding: 14px; }.hch-showcase-meta { display: flex; gap: 7px; color: var(--hch-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }.hch-showcase-meta b { color: #25835e; }.hch-showcase-body h3 { margin: 6px 0 4px; color: var(--hch-heading); font-size: 15px; }.hch-showcase-body > p { min-height: 34px; margin: 0; color: var(--hch-muted); font-size: 11px; line-height: 1.5; }.hch-showcase-features { min-height: 37px; margin: 10px 0 13px; padding: 0; list-style: none; color: #52627c; font-size: 10px; }.hch-showcase-features li { display: flex; gap: 6px; margin: 4px 0; }.hch-showcase-features li span { color: #2f9d76; font-weight: 800; }.hch-showcase-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid #edf1f7; }.hch-showcase-footer strong { color: var(--hch-heading); font-size: 13px; }.hch-showcase-footer .hch-btn { white-space: nowrap; }.hch-btn-owned { background: #eaf8f1; color: #25835e !important; box-shadow: none; }.hch-btn-owned:hover { background: #d8f1e5; box-shadow: none; }
.hch-showcase-note { display: block; margin-top: 9px; color: var(--hch-muted); font-size: 9px; }
/* Store pages live inside the customer shell and use the same product surface. */
.hch-store-head { margin: 0 0 18px; }.hch-store-head h1, .hch-store-detail h1, .hch-store-checkout h1 { margin: 0 0 5px; color: var(--hch-heading); font-size: 25px; letter-spacing: -.04em; }.hch-store-lead { margin: 0; color: var(--hch-muted); font-size: 12px; line-height: 1.55; }
.hch-store-filters { display: flex; gap: 8px; margin: 0 0 16px; }.hch-store-filters input, .hch-store-filters select { padding: 9px 11px; border: 1px solid var(--hch-border); border-radius: 7px; background: #fff; color: var(--hch-text); font: inherit; font-size: 12px; }.hch-store-filters input { flex: 1; }.hch-store-filters button { border: 0; border-radius: 7px; background: #4169e1; color: #fff; padding: 0 15px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.hch-store-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }.hch-store-card, .hch-store-detail, .hch-store-checkout, .hch-store-buy { overflow: hidden; border: 1px solid var(--hch-border); border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(43,62,105,.05); }.hch-store-card { transition: transform .18s ease, box-shadow .18s ease; }.hch-store-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(43,62,105,.1); }.hch-store-card-media { height: 126px; background: #edf2ff; }.hch-store-card-media img { width: 100%; height: 100%; object-fit: cover; }.hch-store-ph { display: grid; width: 100%; height: 100%; place-items: center; color: #4169e1; font-size: 22px; font-weight: 800; }.hch-store-card-body { padding: 15px; }.hch-store-kicker { margin: 0 0 5px; color: var(--hch-muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.hch-store-card h2 { margin: 0 0 6px; font-size: 15px; }.hch-store-card h2 a, .hch-store-detail a { color: var(--hch-heading); text-decoration: none; }.hch-store-card-body > p:not(.hch-store-kicker) { min-height: 35px; margin: 0 0 12px; color: var(--hch-muted); font-size: 11px; line-height: 1.5; }.hch-store-card-meta { display: flex; gap: 6px; }.hch-store-badge, .hch-store-pill { display: inline-block; border-radius: 999px; padding: 4px 8px; font-size: 10px; font-weight: 800; }.hch-store-badge.is-free, .hch-store-pill.is-owned { background: #eaf8f1; color: #25835e; }.hch-store-badge.is-premium { background: #fff4e5; color: #b45309; }.hch-store-pill { background: #edf3ff; color: #4169e1; }.hch-store-empty { padding: 26px; border: 1px dashed var(--hch-border); border-radius: 9px; background: #fff; color: var(--hch-muted); }
.hch-store-detail, .hch-store-checkout { padding: 24px; }.hch-store-detail > .hch-store-lead { margin: 10px 0 18px; font-size: 14px; }.hch-store-shots { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 10px; margin: 16px 0; }.hch-store-shots img { width: 100%; height: 125px; border-radius: 8px; object-fit: cover; }.hch-store-split { display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: 24px; }.hch-store-split h2 { margin-top: 22px; color: var(--hch-heading); font-size: 15px; }.hch-store-buy { height: fit-content; padding: 18px; }.hch-store-price { margin: 0 0 10px; color: var(--hch-heading); font-size: 24px; font-weight: 800; }.hch-store-btn { display: inline-block; margin: 6px 6px 0 0; padding: 9px 13px; border: 0; border-radius: 7px; background: #4169e1; color: #fff !important; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }.hch-store-btn-ghost { border: 1px solid var(--hch-border); background: #fff; color: var(--hch-heading) !important; }.hch-store-dl { display: grid; grid-template-columns: 140px 1fr; gap: 7px 12px; color: var(--hch-text); font-size: 12px; }.hch-store-table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--hch-border); border-radius: 9px; background: #fff; }.hch-store-table th, .hch-store-table td { padding: 12px 14px; border-bottom: 1px solid var(--hch-border); text-align: left; font-size: 12px; }.hch-store-table th { background: #f8fafc; color: var(--hch-muted); font-size: 10px; text-transform: uppercase; }.hch-store-notice { padding: 11px 14px; border: 1px solid #fde68a; border-radius: 8px; background: #fff4e5; color: #92400e; font-size: 12px; }
.hch-store-checkout { max-width: 680px; }.hch-store-checkout form { margin-top: 20px; }.hch-store-checkout form button { border: 0; }.hch-store-checkout .hch-store-btn { font-size: 13px; }.hch-store-checkout p { color: var(--hch-muted); }
.hch-partner-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 16px; padding: 23px 25px; border-radius: 10px; background: linear-gradient(110deg,#243b9c,#4169e1 62%,#7046d8); color: #fff; box-shadow: 0 9px 20px rgba(55,75,190,.2); }
.hch-partner-hero h2 { margin: 5px 0 4px; color: #fff; font-size: 19px; }.hch-partner-hero p { max-width: 590px; margin: 0; color: rgba(255,255,255,.8); font-size: 12px; }.hch-eyebrow { color: rgba(255,255,255,.68); font-size: 9px; font-weight: 800; letter-spacing: .13em; }.hch-partner-mark { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: rgba(255,255,255,.14); font-size: 25px; }
.hch-partner-stats { margin-top: 0; }.hch-referral-card { display: flex; align-items: end; justify-content: space-between; gap: 20px; }.hch-referral-card > div { flex: 1; }.hch-referral-card span, .hch-referral-card strong { display: block; }.hch-referral-code { margin: 3px 0 8px; color: var(--hch-heading); font-size: 14px; }.hch-referral-input { box-sizing: border-box; width: 100%; padding: 10px 12px; border: 1px solid var(--hch-border); border-radius: 7px; background: #f8fafc; color: #53627a; font: inherit; font-size: 12px; }.hch-section-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 15px; }.hch-section-heading h2 { margin: 0 0 3px; }.hch-section-heading p { margin: 0; color: var(--hch-muted); font-size: 11px; }.hch-commission-pill { padding: 5px 9px; border-radius: 999px; background: #eaf8f1; color: #25835e; font-size: 10px; font-weight: 800; white-space: nowrap; }.hch-partner-note ol { margin: 0 0 15px; padding-left: 20px; color: var(--hch-text); }.hch-partner-note li { margin: 6px 0; }.hch-partner-note a { font-size: 12px; font-weight: 700; }
.hch-portal-drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.hch-portal-drawer.is-open { visibility: visible; pointer-events: auto; }
.hch-portal-drawer-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.28); opacity: 0; transition: opacity .22s ease; }
.hch-portal-drawer.is-open .hch-portal-drawer-backdrop { opacity: 1; }
.hch-portal-drawer-panel { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; width: min(720px, 88vw); height: 100%; background: #f6f8fc; box-shadow: -18px 0 48px rgba(15,23,42,.18); transform: translateX(100%); transition: transform .24s cubic-bezier(.22,.61,.36,1); }
.hch-portal-drawer.is-open .hch-portal-drawer-panel { transform: translateX(0); }
.hch-portal-drawer-header { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 22px; border-bottom: 1px solid var(--hch-border); background: #fff; color: var(--hch-heading); font-size: 13px; font-weight: 800; }
.hch-portal-drawer-close { width: 30px; height: 30px; border: 0; border-radius: 7px; background: #f1f5f9; color: #64748b; font-size: 22px; line-height: 1; cursor: pointer; }
.hch-portal-drawer-close:hover { background: #e2e8f0; color: #17233c; }
.hch-portal-drawer-content { flex: 1; overflow-y: auto; padding: 28px; }
.hch-portal-drawer-content .hch-page-header { margin-top: 0; }
.hch-portal-drawer-content .hch-card { margin-top: 14px; }
.hch-drawer-loading { padding: 24px 0; }
.hch-drawer-loading span { display: block; width: 100%; height: 12px; margin: 0 0 12px; border-radius: 5px; background: linear-gradient(90deg,#e5eaf3,#fff,#e5eaf3); background-size: 200% 100%; animation: hch-shimmer 1.15s infinite; }
.hch-drawer-loading span:nth-child(2) { width: 74%; }.hch-drawer-loading span:nth-child(3) { width: 88%; }.hch-drawer-loading p { color: var(--hch-muted); font-size: 12px; }
.hch-drawer-error { padding: 24px; border-radius: 9px; background: #fff; text-align: center; }
body.hch-drawer-open { overflow: hidden; }
@keyframes hch-shimmer { to { background-position: -200% 0; } }

.hch-updates-panel { padding: 0; overflow: hidden; }.hch-updates-panel > .hch-section-heading { margin: 0; padding: 18px 20px; border-bottom: 1px solid var(--hch-border); }.hch-main-version { display: flex; align-items: center; gap: 11px; padding: 14px 20px; background: #fafbfe; border-bottom: 1px solid var(--hch-border); }.hch-update-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: #edf3ff; color: #4169e1; font-size: 18px; font-weight: 800; }.hch-main-version div { flex: 1; }.hch-main-version strong, .hch-main-version small { display: block; }.hch-main-version strong { color: var(--hch-heading); font-size: 12px; }.hch-main-version small { margin-top: 3px; color: var(--hch-muted); font-size: 10px; }.hch-main-version > b { color: var(--hch-heading); font-size: 12px; }.hch-update-status { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }.hch-update-status.is-current { background: #eaf8f1; color: #25835e; }.hch-update-status.is-update { background: #fff4e5; color: #b45309; }.hch-update-status.is-muted { background: #f1f5f9; color: #64748b; }.hch-extension-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding: 18px 20px 8px; }.hch-extension-group h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; color: var(--hch-heading); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }.hch-extension-group h3 span { color: var(--hch-muted); font-size: 10px; font-weight: 500; }.hch-extension-list { border: 1px solid var(--hch-border); border-radius: 8px; overflow: hidden; }.hch-extension-row { display: flex; align-items: center; gap: 8px; padding: 10px; border-bottom: 1px solid #edf1f7; background: #fff; }.hch-extension-row:last-child { border-bottom: 0; }.hch-extension-dot { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border-radius: 7px; background: #f0efff; color: #7446d5; font-size: 10px; font-weight: 800; }.hch-extension-name { min-width: 0; flex: 1; }.hch-extension-name strong, .hch-extension-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.hch-extension-name strong { color: var(--hch-heading); font-size: 11px; }.hch-extension-name small { margin-top: 2px; color: var(--hch-muted); font-size: 9px; }.hch-extension-version { color: #52627c; font-size: 10px; }.hch-extension-action { color: #4169e1; font-size: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; }.hch-admin-notices { margin: 10px 20px 20px; padding: 15px; border: 1px solid var(--hch-border); border-radius: 9px; background: #fff; }.hch-admin-notices > h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--hch-heading); font-size: 12px; }.hch-notice-bell { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #fff4e5; color: #b45309; font-size: 11px; }.hch-admin-notices article { display: flex; align-items: start; gap: 9px; padding: 9px 0; border-top: 1px solid #edf1f7; }.hch-notice-dot { width: 7px; height: 7px; flex: 0 0 7px; margin-top: 5px; border-radius: 50%; background: #4169e1; }.hch-notice-dot.is-important { background: #e2712a; }.hch-admin-notices article div { flex: 1; }.hch-admin-notices article strong { color: var(--hch-heading); font-size: 11px; }.hch-admin-notices article p { margin: 3px 0 0; color: var(--hch-muted); font-size: 10px; }.hch-admin-notices time { color: var(--hch-muted); font-size: 9px; white-space: nowrap; }

@media (max-width: 860px) {
	.hch-portal-header { height: auto; min-height: 52px; padding: 10px 15px; flex-wrap: wrap; }
	.hch-portal-search { order: 4; width: 100%; margin: 6px 0 0; }
	.hch-portal-tools { gap: 9px; }.hch-tool-link { display: none; }
	.hch-portal-main { width: calc(100% - 30px); padding-top: 25px; }
	.hch-portal-nav { background: #fff; }.hch-nav-group-label { margin-top: 14px; }
	.hch-downloads-table { min-width: 0; }
	.hch-download-detail-grid { grid-template-columns: 1fr; }
	.hch-portal-drawer-panel { width: min(100%, 560px); }.hch-portal-drawer-content { padding: 20px 16px; }
	.hch-referral-card { display: block; }.hch-referral-card .hch-btn { margin-top: 13px; }.hch-section-heading { display: block; }.hch-commission-pill { display: inline-block; margin-top: 9px; }.hch-partner-hero { padding: 20px; }
	.hch-showcase-heading { display: block; }.hch-showcase-heading .hch-btn { margin-top: 12px; }.hch-showcase-grid { grid-template-columns: 1fr; }
	.hch-store-grid { grid-template-columns: 1fr; }.hch-store-filters { display: grid; grid-template-columns: 1fr; }.hch-store-filters button { min-height: 38px; }.hch-store-split { grid-template-columns: 1fr; }.hch-store-buy { order: -1; }.hch-store-detail, .hch-store-checkout { padding: 18px; }.hch-store-table { display: block; overflow-x: auto; }
	.hch-extension-groups { grid-template-columns: 1fr; padding: 15px; }.hch-main-version { flex-wrap: wrap; padding: 13px 15px; }.hch-main-version > b { margin-left: 41px; }.hch-admin-notices { margin: 10px 15px 15px; }.hch-admin-notices time { display: none; }
}

/* Keep the customer portal navigation visually aligned with the Commerce
 * admin sidebar: same rail width, density, typography and active treatment. */
.hch-portal-layout {
	grid-template-columns: 228px minmax(0, 1fr);
}

.hch-portal-nav {
	min-width: 0;
	padding: 18px 10px 16px;
	gap: 2px;
	background: #fff;
	border-right: 1px solid #e5eaf2;
	box-shadow: none;
}

.hch-nav-group-label {
	margin: 19px 10px 7px;
	padding: 0;
	color: #5b6f91;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
}

.hch-portal-nav > .hch-nav-group-label:first-child {
	margin-top: 0;
}

.hch-portal-nav-link {
	min-height: 36px;
	box-sizing: border-box;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 9px;
	color: #13213b;
	font-size: 14px;
	font-weight: 500;
}

.hch-portal-nav-link:hover {
	background: #f5f8ff;
	color: #315ddd;
}

.hch-portal-nav-link.is-current {
	background: #edf3ff;
	color: #365fe3;
	box-shadow: inset 3px 0 0 #4169e1;
}

.hch-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	margin-right: 0;
	color: inherit;
	stroke-width: 1.55;
}

@media (max-width: 860px) {
	.hch-portal-layout {
		grid-template-columns: 1fr;
	}

	.hch-portal-nav {
		padding: 18px 10px 16px;
	}
}

/* Final marketplace logo sizing override. This comes after the shared card
 * rules so brand artwork cannot be stretched to fill the media panel. */
.hch-store-card-media--logo {
	height: 104px;
	padding: 18px;
	box-sizing: border-box;
}

.hch-store-card-media--logo .hch-store-card-media-image--logo {
	display: block;
	width: 68px !important;
	height: 68px !important;
	max-width: 68px;
	max-height: 68px;
	object-fit: contain !important;
	border-radius: 10px;
}

.hch-store-card-media--logo .hch-store-ph--logo {
	width: 68px;
	height: 68px;
	border-radius: 14px;
	background: #fff;
	color: #5269dd;
	font-size: 20px;
	font-weight: 800;
	box-shadow: 0 8px 20px rgba(49, 70, 145, .12);
}

.hch-store-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	padding: 4px 2px;
	color: #7182a1;
	font-size: 12px;
}

.hch-store-pagination__pages {
	display: flex;
	align-items: center;
	gap: 5px;
}

.hch-store-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	box-sizing: border-box;
	padding: 0 8px;
	border: 1px solid #dfe6f2;
	border-radius: 8px;
	background: #fff;
	color: #365fe3;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.hch-store-pagination a:hover,
.hch-store-pagination a:focus-visible {
	border-color: #4169e1;
	background: #f2f5ff;
	color: #294bc2;
}

.hch-store-pagination a.is-current {
	border-color: #4169e1;
	background: #4169e1;
	color: #fff;
}

.hch-store-pagination a.hch-store-pagination__arrow {
	padding-inline: 11px;
}

@media (max-width: 640px) {
	.hch-store-pagination {
		align-items: flex-start;
		flex-direction: column;
	}
}
/* Checkout pages render inside the customer portal. Give them the same spacious layout
   as the license checkout card instead of the narrow portal content column. */
.hch-portal-layout:has(> .hch-portal-main > .hch-store-checkout:has(form input[name="email"])) {
  grid-template-columns: minmax(0, 1fr);
}
.hch-portal-layout:has(> .hch-portal-main > .hch-store-checkout:has(form input[name="email"])) > .hch-portal-nav {
  display: none;
}
.hch-portal-layout:has(> .hch-portal-main > .hch-store-checkout:has(form input[name="email"])) > .hch-portal-main {
  width: min(1100px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 48px 0 72px;
}
.hch-portal-main > .hch-store-checkout:has(form input[name="email"]) {
  box-sizing: border-box;
  width: min(760px, calc(100vw - 48px)) !important;
  max-width: 760px !important;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid #e6e9ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 50px #2639580d;
}
.hch-portal-main > .hch-store-checkout form {
  display: grid;
  gap: 14px;
}
.hch-portal-main > .hch-store-checkout form > label:not(.hch-checkout-consent) {
  display: grid;
  gap: 8px;
}
.hch-portal-main > .hch-store-checkout input[type="email"],
.hch-portal-main > .hch-store-checkout input[type="text"],
.hch-portal-main > .hch-store-checkout select {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
}
.hch-portal-main > .hch-store-checkout .hch-checkout-billing {
  display: grid;
  gap: 12px;
}
.hch-portal-main > .hch-store-checkout .hch-checkout-billing label {
  display: grid;
  gap: 6px;
}
.hch-portal-main > .hch-store-checkout .hch-checkout-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 640px) {
  .hch-portal-layout:has(> .hch-portal-main > .hch-store-checkout:has(form input[name="email"])) > .hch-portal-main {
    width: calc(100% - 28px);
    padding: 28px 0 44px;
  }
  .hch-portal-main > .hch-store-checkout:has(form input[name="email"]) {
    padding: 22px 18px;
    border-radius: 16px;
  }
}

/* Wide, responsive storefront checkout */
.hch-portal-layout:has(> .hch-portal-main > .hch-store-checkout:has(form input[name="email"])) {
	grid-template-columns: minmax(0, 1fr) !important;
}
.hch-portal-layout:has(> .hch-portal-main > .hch-store-checkout:has(form input[name="email"])) > .hch-portal-main {
	width: min(1360px, calc(100% - 64px)) !important;
	max-width: none !important;
	margin: 0 auto !important;
	padding: 38px 0 72px !important;
}
.hch-portal-layout:has(> .hch-portal-main > .hch-store-checkout:has(form input[name="email"])) > .hch-portal-nav {
	display: none !important;
}
.hch-portal-main > .hch-store-checkout:has(form input[name="email"]) {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 auto;
	padding: clamp(28px, 4vw, 52px);
	overflow: visible;
	border: 1px solid #e5e9f4;
	border-radius: 24px;
	background: linear-gradient(145deg, #fff 20%, #fbfcff 100%);
	box-shadow: 0 22px 70px rgba(39, 57, 105, .09);
}
.hch-store-checkout .hch-store-checkout-head {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 8px;
}
.hch-store-checkout .hch-checkout-icon {
	display: grid;
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
	place-items: center;
	border-radius: 18px;
	background: linear-gradient(145deg, #e9edff, #f1edff);
	color: #4b5fe7;
}
.hch-store-checkout .hch-checkout-icon svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.hch-store-checkout .hch-store-checkout-head .hch-store-kicker {
	margin: 0 0 4px;
	color: #6374da;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .13em;
}
.hch-store-checkout .hch-store-checkout-head h1 {
	margin: 0;
	color: #1d2b49;
	font-size: clamp(25px, 2.5vw, 34px);
	font-weight: 750;
	line-height: 1.18;
	letter-spacing: -.035em;
}
.hch-store-checkout .hch-checkout-description {
	margin: 8px 0 14px 76px;
	color: #758198;
	font-size: 14px;
	line-height: 1.6;
}
.hch-store-checkout .hch-order-summary {
	margin: 28px 0 30px;
	padding: 22px 26px;
	border: 1px solid #e4e8f5;
	border-radius: 18px;
	background: linear-gradient(115deg, #f7f8ff, #f7fbff);
}
.hch-store-checkout .hch-order-summary h2,
.hch-store-checkout .hch-checkout-billing legend,
.hch-store-checkout .hch-checkout-methods legend {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #26365a;
	font-size: 15px;
	font-weight: 750;
}
.hch-store-checkout .hch-order-summary h2 {
	margin: 0 0 12px;
}
.hch-store-checkout .hch-order-summary h2 svg,
.hch-store-checkout .hch-checkout-billing legend svg,
.hch-store-checkout .hch-checkout-methods legend svg {
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
	fill: none;
	stroke: #596de1;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.hch-store-checkout .hch-checkout-totals {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
.hch-store-checkout .hch-checkout-totals > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	padding: 10px 0;
	border-bottom: 1px solid #e9edf5;
}
.hch-store-checkout .hch-checkout-totals > div:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}
.hch-store-checkout .hch-checkout-totals dt {
	color: #687792;
	font-weight: 550;
}
.hch-store-checkout .hch-checkout-totals dd {
	margin: 0;
	color: #27385d;
	font-weight: 650;
	text-align: right;
}
.hch-store-checkout .hch-checkout-totals > div:last-child dd {
	color: #4056d8;
	font-size: 22px;
	font-weight: 800;
}
.hch-store-checkout-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 22px 26px;
	margin-top: 24px;
}
.hch-store-checkout-form > input[type="hidden"] {
	display: none;
}
.hch-store-checkout-form > .hch-field {
	display: grid;
	min-width: 0;
	gap: 9px;
	margin: 0;
	color: #344665;
	font-size: 13px;
	font-weight: 650;
}
.hch-store-checkout-form > .hch-field--email,
.hch-store-checkout-form > .hch-field--coupon {
	grid-column: span 1;
}
.hch-store-checkout-form .hch-field-label {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #364969;
	font-size: 13px;
	font-weight: 700;
}
.hch-store-checkout-form .hch-field-label svg {
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
	fill: none;
	stroke: #6073df;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.hch-store-checkout-form input[type="email"],
.hch-store-checkout-form input[type="text"],
.hch-store-checkout-form select {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid #d9e0ee;
	border-radius: 11px;
	background: #fff;
	color: #243552;
	font: inherit;
	font-size: 14px;
	box-shadow: 0 1px 2px rgba(28, 46, 84, .03);
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.hch-store-checkout-form input::placeholder {
	color: #a0a9b9;
}
.hch-store-checkout-form input[type="email"]:focus,
.hch-store-checkout-form input[type="text"]:focus,
.hch-store-checkout-form select:focus {
	border-color: #7585ee;
	outline: 0;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(91, 109, 225, .13);
}
.hch-store-checkout-form .hch-store-help {
	margin: 0;
	color: #8994a9;
	font-size: 12px;
	font-weight: 450;
	line-height: 1.55;
}
.hch-store-checkout-form .hch-checkout-billing,
.hch-store-checkout-form .hch-checkout-methods {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
	min-width: 0;
	margin: 0;
	padding: 25px;
	border: 1px solid #e3e8f3;
	border-radius: 18px;
	background: rgba(255, 255, 255, .8);
}
.hch-store-checkout-form .hch-checkout-billing {
	grid-column: 1 / -1;
}
.hch-store-checkout-form .hch-checkout-billing legend,
.hch-store-checkout-form .hch-checkout-methods legend {
	grid-column: 1 / -1;
	margin-bottom: 0;
	padding: 0 8px;
}
.hch-store-checkout-form .hch-field--address_line_1 {
	grid-column: 1 / -1;
}
.hch-store-checkout-form .hch-checkout-methods {
	grid-column: 1 / -1;
}
.hch-store-checkout-form .hch-checkout-methods label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid #e0e6f1;
	border-radius: 12px;
	background: #fff;
	color: #344665;
}
.hch-store-checkout-form .hch-checkout-methods input,
.hch-store-checkout-form .hch-checkout-consent input {
	accent-color: #566be0;
}
.hch-store-checkout-form .hch-checkout-consent {
	display: flex;
	grid-column: 1 / -1;
	align-items: flex-start;
	gap: 11px;
	margin: 0;
	padding: 17px 19px;
	border: 1px solid #e5e9f5;
	border-radius: 14px;
	background: #f7f8ff;
	color: #52617a;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.65;
}
.hch-store-checkout-form .hch-checkout-consent > svg {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	fill: none;
	stroke: #6577dc;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.hch-store-checkout-form .hch-checkout-consent input {
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	margin: 3px 0 0;
}
.hch-store-checkout-form .hch-checkout-consent a {
	color: #4c60d9;
	font-weight: 700;
}
.hch-store-checkout-form .hch-store-btn {
	grid-column: 1 / -1;
	display: flex;
	min-height: 56px;
	align-items: center;
	justify-content: center;
	margin: 0;
	border-radius: 13px;
	background: linear-gradient(100deg, #4e63df, #7357d8);
	box-shadow: 0 10px 24px rgba(82, 94, 213, .22);
	font-size: 15px;
	font-weight: 750;
	transition: transform .18s ease, box-shadow .18s ease;
}
.hch-store-checkout-form .hch-store-btn:hover {
	background: linear-gradient(100deg, #4156d1, #6549ce);
	box-shadow: 0 13px 28px rgba(82, 94, 213, .29);
	transform: translateY(-1px);
}
.hch-store-checkout-form > .hch-store-help {
	grid-column: 1 / -1;
	margin: -8px 0 0;
	color: #7c879d;
	font-size: 12px;
	text-align: center;
}
.hch-store-checkout .hch-store-notice {
	padding: 15px 18px;
	border: 1px solid #f4dfaf;
	border-radius: 13px;
	background: #fff9e9;
	color: #79551b;
	line-height: 1.6;
}
@media (max-width: 760px) {
	.hch-portal-layout:has(> .hch-portal-main > .hch-store-checkout:has(form input[name="email"])) > .hch-portal-main {
		width: calc(100% - 32px) !important;
		padding: 24px 0 40px !important;
	}
	.hch-portal-main > .hch-store-checkout:has(form input[name="email"]) {
		padding: 24px 20px;
		border-radius: 20px;
	}
	.hch-store-checkout-form {
		grid-template-columns: minmax(0, 1fr);
		gap: 19px;
	}
	.hch-store-checkout-form > .hch-field--email,
	.hch-store-checkout-form > .hch-field--coupon {
		grid-column: 1;
	}
	.hch-store-checkout-form .hch-checkout-billing,
	.hch-store-checkout-form .hch-checkout-methods {
		grid-template-columns: minmax(0, 1fr);
		gap: 17px;
		padding: 20px 16px;
	}
	.hch-store-checkout-form .hch-field--address_line_1,
	.hch-store-checkout-form .hch-checkout-billing legend,
	.hch-store-checkout-form .hch-checkout-methods legend {
		grid-column: 1;
	}
}
@media (max-width: 480px) {
	.hch-store-checkout .hch-store-checkout-head {
		align-items: flex-start;
		gap: 12px;
	}
	.hch-store-checkout .hch-checkout-icon {
		width: 44px;
		height: 44px;
		flex-basis: 44px;
		border-radius: 14px;
	}
	.hch-store-checkout .hch-checkout-icon svg {
		width: 23px;
		height: 23px;
	}
	.hch-store-checkout .hch-checkout-description {
		margin-left: 0;
	}
	.hch-store-checkout .hch-order-summary {
		padding: 18px 16px;
	}
}


/* The portal main area is itself a grid; checkout must span every content track. */
.hch-portal-main > .hch-store-checkout:has(form input[name="email"]) {
	grid-column: 1 / -1 !important;
	justify-self: stretch;
}

