/* Multi-State wizard — Design B-compact. Specificity + !important to defeat theme overrides. */
/* Tighten the breadcrumb → card gap by killing default content-area top spacing. */
body .entry-content > #ece-ms-wizard,
body #primary > #ece-ms-wizard { margin-top: 0 !important; }

#ece-ms-wizard {
	max-width: 1140px !important;
	margin: 0 auto 32px !important;
	padding: 32px 40px !important;
	font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif !important;
	color: #111827 !important;
	background: #ffffff !important;
	border: 1px solid #e5e7eb !important;
	border-top: 4px solid #f59e0b !important;
	border-radius: 12px !important;
	box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
}
#ece-ms-wizard .ece-ms-step { margin-top: 44px !important; }
#ece-ms-wizard .ece-ms-step:first-of-type,
#ece-ms-wizard .ece-ms-intro + .ece-ms-step { margin-top: 28px !important; }
#ece-ms-wizard h2 {
	font-size: 20px !important;
	font-weight: 600 !important;
	margin: 0 0 14px !important;
	border-bottom: 2px solid #f59e0b !important;
	padding-bottom: 8px !important;
	color: #111827 !important;
}
#ece-ms-wizard h3 { font-size: 17px !important; margin: 22px 0 10px !important; color: #111827 !important; }
#ece-ms-wizard .ece-ms-hint { color: #6b7280 !important; font-size: 13px !important; margin: 0 0 18px !important; }
#ece-ms-wizard .ece-ms-intro { margin-bottom: 8px !important; }
#ece-ms-wizard .ece-ms-intro p { color: #4b5563 !important; font-size: 15px !important; margin: 0 !important; }

/* ----- Step 1: search + pills ----- */
#ece-ms-wizard .ece-ms-search { margin-bottom: 14px !important; }
#ece-ms-wizard .ece-ms-search input {
	padding: 9px 14px !important;
	border: 1px solid #c3c4c7 !important;
	border-radius: 6px !important;
	width: 320px !important;
	max-width: 100% !important;
	font-size: 14px !important;
	background: #fff !important;
	box-sizing: border-box !important;
}
#ece-ms-wizard #ece-ms-pills-loading { color: #6b7280 !important; font-style: italic !important; padding: 8px 0 !important; }
#ece-ms-wizard .ece-ms-pills {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
#ece-ms-wizard .ece-ms-pill {
	display: inline-block !important;
	padding: 9px 20px !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 22px !important;
	background: #ffffff !important;
	cursor: pointer !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	color: #374151 !important;
	transition: all 120ms ease !important;
	user-select: none !important;
	white-space: nowrap !important;
}
#ece-ms-wizard .ece-ms-pill:hover {
	border-color: #f59e0b !important;
	background: #fffbeb !important;
	color: #92400e !important;
}
#ece-ms-wizard .ece-ms-pill.picked {
	border-color: #f59e0b !important;
	background: #f59e0b !important;
	color: #fff !important;
	font-weight: 600 !important;
}
#ece-ms-wizard .ece-ms-pill.picked:hover {
	background: #d97706 !important;
	border-color: #d97706 !important;
}
#ece-ms-wizard .ece-ms-pill.picked::before { content: '✓ ' !important; font-weight: 700 !important; }
#ece-ms-wizard .ece-ms-pill.unsellable {
	color: #9ca3af !important;
	border: 1px dashed #e5e7eb !important;
	background: #ffffff !important;
	cursor: not-allowed !important;
	opacity: 1 !important;
	font-weight: 400 !important;
}
#ece-ms-wizard .ece-ms-pill.unsellable:hover {
	border-color: #e5e7eb !important;
	background: #ffffff !important;
	color: #9ca3af !important;
}
#ece-ms-wizard .ece-ms-pill[hidden] { display: none !important; }
#ece-ms-wizard .ece-ms-empty-search { color: #6b7280 !important; font-style: italic !important; font-size: 13px !important; padding: 8px 0 !important; width: 100%; }

/* ----- Step 1: "Tap at least 2 states" prominent cue ----- */
#ece-ms-wizard .ece-ms-cue {
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	background: #fffbeb !important;
	border: 1px solid #fde68a !important;
	border-left: 4px solid #f59e0b !important;
	border-radius: 8px !important;
	padding: 16px 18px !important;
	margin: 6px 0 18px !important;
}
#ece-ms-wizard .ece-ms-cue-icon {
	flex: 0 0 36px !important;
	width: 36px !important;
	height: 36px !important;
	background: #f59e0b !important;
	color: #fff !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	line-height: 1 !important;
}
#ece-ms-wizard .ece-ms-cue-body { line-height: 1.4 !important; }
#ece-ms-wizard .ece-ms-cue-title {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #92400e !important;
	letter-spacing: -0.005em !important;
}
#ece-ms-wizard .ece-ms-cue-sub {
	font-size: 13px !important;
	color: #b45309 !important;
	margin-top: 2px !important;
	font-weight: 400 !important;
}

/* ----- Step 2: roles table ----- */
#ece-ms-wizard .ece-ms-roles-table {
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 8px !important;
	padding: 8px 24px !important;
	margin: 0 !important;
}
#ece-ms-wizard .ece-ms-role-row {
	display: grid !important;
	grid-template-columns: 200px 1fr 36px !important;
	gap: 16px !important;
	align-items: center !important;
	padding: 16px 0 !important;
	border-bottom: 1px dashed #e5e7eb !important;
}
#ece-ms-wizard .ece-ms-role-row:last-child { border-bottom: none !important; }
#ece-ms-wizard .ece-ms-role-row .state-name { font-weight: 600 !important; color: #111827 !important; }
#ece-ms-wizard .ece-ms-role-row select {
	padding: 8px 10px !important;
	border: 1px solid #c3c4c7 !important;
	border-radius: 4px !important;
	width: 100% !important;
	font-size: 14px !important;
	background: #fff !important;
}
#ece-ms-wizard .ece-ms-role-row .req { color: #6b7280 !important; font-size: 13px !important; }
#ece-ms-wizard .ece-ms-role-row .req strong { color: #111827 !important; }
#ece-ms-wizard .ece-ms-role-remove {
	width: 30px !important;
	height: 30px !important;
	border-radius: 50% !important;
	border: 1px solid #e5e7eb !important;
	background: #fff !important;
	color: #9ca3af !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: background 0.12s, color 0.12s, border-color 0.12s !important;
	padding: 0 !important;
	justify-self: end !important;
	align-self: center !important;
}
#ece-ms-wizard .ece-ms-role-remove:hover {
	background: #fef2f2 !important;
	color: #dc2626 !important;
	border-color: #fca5a5 !important;
}
@media (max-width: 640px) {
	#ece-ms-wizard { padding: 20px 18px !important; }
	#ece-ms-wizard .ece-ms-role-row { grid-template-columns: 1fr !important; gap: 4px !important; }
	/* On phones, the "Your Selections" heading takes the full width and the
	   Edit / Reset buttons wrap to their own row, right-aligned. Bigger touch
	   targets and slightly larger icons for thumb-friendliness. */
	#ece-ms-wizard .ece-ms-summary-head {
		flex-wrap: wrap !important;
		gap: 10px !important;
	}
	#ece-ms-wizard .ece-ms-summary-head h2 { flex: 1 1 100% !important; }
	#ece-ms-wizard .ece-ms-summary-actions {
		flex: 0 0 100% !important;
		justify-content: flex-end !important;
		gap: 10px !important;
	}
	#ece-ms-wizard .ece-ms-edit-btn,
	#ece-ms-wizard .ece-ms-reset-btn {
		padding: 14px 22px !important;
		font-size: 16px !important;
		min-height: 44px !important;
		gap: 8px !important;
	}
	#ece-ms-wizard .ece-ms-btn-icon {
		width: 18px !important;
		height: 18px !important;
		flex: 0 0 18px !important;
	}
}

/* ----- Secondary card: informational content below the wizard ----- */
.ece-ms-secondary-card {
	max-width: 1140px !important;
	margin: 24px auto 32px !important;
	padding: 28px 36px !important;
	font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif !important;
	color: #1f2937 !important;
	background: #ffffff !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 12px !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}
.ece-ms-secondary-card[hidden] { display: none !important; }
.ece-ms-secondary-card .ece-ms-intro-block { margin-top: 36px !important; }
.ece-ms-secondary-card .ece-ms-intro-block:first-child { margin-top: 0 !important; }
.ece-ms-secondary-card .ece-ms-intro-block h3 {
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	color: #6b7280 !important;
	margin: 0 0 18px !important;
	padding-bottom: 8px !important;
	border-bottom: 1px solid #e5e7eb !important;
}
.ece-ms-secondary-card .ece-ms-howit-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; gap: 22px !important; }
.ece-ms-secondary-card .ece-ms-howit-step { display: flex !important; gap: 14px !important; align-items: flex-start !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; }
.ece-ms-secondary-card .ece-ms-howit-num {
	background: #fef3c7 !important;
	color: #b45309 !important;
	width: 32px !important;
	height: 32px !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	flex-shrink: 0 !important;
}
.ece-ms-secondary-card .ece-ms-howit-body { flex: 1 !important; }
.ece-ms-secondary-card .ece-ms-howit-body strong { display: block !important; color: #111827 !important; font-size: 15px !important; margin-bottom: 4px !important; font-weight: 600 !important; }
.ece-ms-secondary-card .ece-ms-howit-body p { color: #6b7280 !important; font-size: 13.5px !important; margin: 0 !important; line-height: 1.55 !important; }

.ece-ms-secondary-card .ece-ms-why-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; gap: 16px !important; }
.ece-ms-secondary-card .ece-ms-why-card {
	background: #fafafa !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 10px !important;
	padding: 18px 20px !important;
	transition: all 150ms ease !important;
}
.ece-ms-secondary-card .ece-ms-why-card:hover {
	border-color: #f59e0b !important;
	background: #fffbeb !important;
}
.ece-ms-secondary-card .ece-ms-why-icon { font-size: 22px !important; margin-bottom: 6px !important; line-height: 1 !important; opacity: 1 !important; }
.ece-ms-secondary-card .ece-ms-why-card strong { display: block !important; color: #111827 !important; font-size: 14.5px !important; margin-bottom: 4px !important; font-weight: 600 !important; }
.ece-ms-secondary-card .ece-ms-why-card p { color: #6b7280 !important; font-size: 13px !important; margin: 0 !important; line-height: 1.55 !important; }

/* ----- Collapsed summary strip (replaces Steps 1 + 2 once bundle matches) ----- */
#ece-ms-wizard .ece-ms-step-summary {
	background: #fff !important;
	border: 1px solid #e5e7eb !important;
	border-left: 4px solid #f59e0b !important;
	border-radius: 6px 8px 8px 6px !important;
	padding: 16px 22px !important;
}
#ece-ms-wizard .ece-ms-summary-head {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin-bottom: 12px !important;
}
#ece-ms-wizard .ece-ms-summary-head h2 {
	font-size: 14px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	color: #6b7280 !important;
}
#ece-ms-wizard .ece-ms-edit-btn,
#ece-ms-wizard .ece-ms-reset-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	line-height: 1 !important;
	white-space: nowrap !important;
}
#ece-ms-wizard .ece-ms-btn-icon {
	display: inline-block !important;
	width: 14px !important;
	height: 14px !important;
	flex: 0 0 14px !important;
}
#ece-ms-wizard .ece-ms-edit-btn {
	background: #f59e0b !important;
	border: 1px solid #f59e0b !important;
	color: #fff !important;
	padding: 9px 20px !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em !important;
	cursor: pointer !important;
	box-shadow: 0 1px 2px rgba(217, 119, 6, 0.2) !important;
	transition: background 0.12s, box-shadow 0.12s !important;
}
#ece-ms-wizard .ece-ms-edit-btn:hover {
	background: #d97706 !important;
	border-color: #d97706 !important;
	color: #fff !important;
	box-shadow: 0 2px 4px rgba(217, 119, 6, 0.3) !important;
}
#ece-ms-wizard .ece-ms-summary-actions {
	display: flex !important;
	gap: 8px !important;
	align-items: center !important;
}
#ece-ms-wizard .ece-ms-reset-btn {
	background: #fff !important;
	border: 1px solid #ef4444 !important;
	color: #b91c1c !important;
	padding: 9px 20px !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em !important;
	cursor: pointer !important;
	transition: background 0.12s, border-color 0.12s, color 0.12s !important;
}
#ece-ms-wizard .ece-ms-reset-btn:hover {
	background: #fef2f2 !important;
	border-color: #dc2626 !important;
	color: #991b1b !important;
}
#ece-ms-wizard .ece-ms-summary-items {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
	gap: 8px 24px !important;
}
#ece-ms-wizard .ece-ms-summary-item {
	font-size: 14px !important;
	color: #374151 !important;
	padding: 4px 0 !important;
}
#ece-ms-wizard .ece-ms-summary-item strong { color: #111827 !important; font-weight: 600 !important; }

/* ----- Bundle preview — Concept 05 (royal-blue shield) ----- */
#ece-ms-wizard .ece-ms-bundle { padding: 0 !important; background: transparent !important; border: none !important; display: flex !important; flex-direction: column !important; gap: 22px !important; }

/* === 1. HERO CARD === */
#ece-ms-wizard .ece-ms-hero {
	background: #fff !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	border: 1px solid #e2e8f0 !important;
	border-left: 4px solid #1d4ed8 !important;
	box-shadow: 0 4px 14px rgba(15,23,42,0.06) !important;
}
#ece-ms-wizard .ece-ms-hero-top {
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
	padding: 30px 36px !important;
	display: grid !important;
	grid-template-columns: 110px 1fr auto !important;
	gap: 24px !important;
	align-items: center !important;
	border-bottom: 1px solid #e0e7ff !important;
}
#ece-ms-wizard .ece-ms-hero-shield {
	width: 100px !important; height: 110px !important;
	background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%) !important;
	clip-path: polygon(50% 0%, 100% 18%, 100% 70%, 50% 100%, 0% 70%, 0% 18%) !important;
	display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important;
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(29,78,216,0.25) !important;
	position: relative !important;
}
#ece-ms-wizard .ece-ms-hero-shield::before {
	content: '' !important; position: absolute !important; inset: 6px !important;
	clip-path: polygon(50% 0%, 100% 18%, 100% 70%, 50% 100%, 0% 70%, 0% 18%) !important;
	border: 1px solid rgba(255,255,255,0.3) !important;
}
#ece-ms-wizard .ece-ms-hero-shield .shield-check { font-size: 38px !important; font-weight: 900 !important; line-height: 1 !important; margin-bottom: 2px !important; }
#ece-ms-wizard .ece-ms-hero-shield .shield-lbl { font-size: 9px !important; font-weight: 700 !important; letter-spacing: 0.16em !important; text-transform: uppercase !important; opacity: 0.95 !important; }
#ece-ms-wizard .ece-ms-hero-titlewrap { min-width: 0 !important; }
#ece-ms-wizard .ece-ms-hero-kicker { font-size: 11px !important; font-weight: 700 !important; letter-spacing: 0.14em !important; text-transform: uppercase !important; color: #1d4ed8 !important; margin-bottom: 6px !important; }
#ece-ms-wizard .ece-ms-hero-title { font-size: 23px !important; font-weight: 700 !important; color: #0f172a !important; margin: 0 0 4px !important; line-height: 1.25 !important; }
#ece-ms-wizard .ece-ms-hero-sub { font-size: 14px !important; color: #475569 !important; margin: 0 !important; line-height: 1.5 !important; }
#ece-ms-wizard .ece-ms-hero-pill {
	background: #fef3c7 !important; color: #92400e !important;
	font-size: 11px !important; font-weight: 800 !important;
	letter-spacing: 0.12em !important; text-transform: uppercase !important;
	padding: 6px 12px !important; border-radius: 999px !important;
	align-self: flex-start !important; white-space: nowrap !important;
}
#ece-ms-wizard .ece-ms-hero-body { padding: 28px 36px !important; }
#ece-ms-wizard .ece-ms-hero-desc { font-size: 14px !important; color: #475569 !important; line-height: 1.65 !important; margin: 0 0 22px !important; }
#ece-ms-wizard .ece-ms-hero-desc p { margin: 0 0 8px !important; }
#ece-ms-wizard .ece-ms-hero-desc p:last-child { margin-bottom: 0 !important; }
#ece-ms-wizard .ece-ms-hero-desc ul, #ece-ms-wizard .ece-ms-hero-desc ol { margin: 6px 0 6px 22px !important; padding: 0 !important; }

/* 4-up trust checklist inside hero body */
#ece-ms-wizard .ece-ms-checks { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 16px 32px !important; margin-bottom: 22px !important; }
#ece-ms-wizard .ece-ms-check-item { display: flex !important; gap: 12px !important; align-items: flex-start !important; }
#ece-ms-wizard .ece-ms-check-item .check-ico { flex-shrink: 0 !important; width: 30px !important; height: 30px !important; border-radius: 6px !important; background: #dbeafe !important; color: #1d4ed8 !important; display: flex !important; align-items: center !important; justify-content: center !important; font-weight: 800 !important; font-size: 17px !important; }
#ece-ms-wizard .ece-ms-check-item .check-body { min-width: 0 !important; }
#ece-ms-wizard .ece-ms-check-item .check-ti { font-size: 14px !important; font-weight: 700 !important; color: #0f172a !important; margin-bottom: 1px !important; }
#ece-ms-wizard .ece-ms-check-item .check-desc { font-size: 12px !important; color: #64748b !important; line-height: 1.45 !important; }

/* Full-width "Audio + Text" highlight row in the bundle card (spans both grid
   columns) + the shared CSS equalizer icon, borrowed from the single-state cards. */
#ece-ms-wizard .ece-ms-check-full { grid-column: 1 / -1 !important; background: #f0fdfa !important; border: 1px solid #99f6e4 !important; border-radius: 8px !important; padding: 12px 14px !important; }
#ece-ms-wizard .ece-ms-check-full .check-ico { background: #ccfbf1 !important; color: #0d9488 !important; }
#ece-ms-wizard .ece-eq { display: inline-flex !important; gap: 2px !important; align-items: flex-end !important; height: 12px !important; }
#ece-ms-wizard .ece-eq i { width: 2.5px !important; background: currentColor !important; border-radius: 2px !important; animation: eceEq 1s ease-in-out infinite; }
#ece-ms-wizard .ece-eq i:nth-child(1) { height: 5px !important; }
#ece-ms-wizard .ece-eq i:nth-child(2) { height: 11px !important; animation-delay: .2s; }
#ece-ms-wizard .ece-eq i:nth-child(3) { height: 7px !important; animation-delay: .4s; }
#ece-ms-wizard .ece-eq i:nth-child(4) { height: 9px !important; animation-delay: .1s; }
@keyframes eceEq { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { #ece-ms-wizard .ece-eq i { animation: none !important; } }

/* Benefit pills above "Pick your states" (audio + daily reporting). */
#ece-ms-wizard .ece-ms-audio-strip { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; margin-top: 14px !important; }
#ece-ms-wizard .ece-ms-benefit { display: inline-flex !important; align-items: center !important; gap: 7px !important; padding: 8px 14px !important; border-radius: 999px !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1.2 !important; box-shadow: 0 1px 3px rgba(0,0,0,.12) !important; }
#ece-ms-wizard .ece-ms-benefit-audio { background: linear-gradient(135deg,#40e0d0,#2ec4b6) !important; color: #06403c !important; }
#ece-ms-wizard .ece-ms-benefit-report { background: linear-gradient(135deg,#60a5fa,#3b82f6) !important; color: #fff !important; }
#ece-ms-wizard .ece-ms-benefit svg { flex: 0 0 auto !important; }

/* Approved-In states row */
#ece-ms-wizard .ece-ms-states-row { background: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 8px !important; padding: 14px 18px !important; display: flex !important; align-items: center !important; gap: 16px !important; flex-wrap: wrap !important; }
#ece-ms-wizard .ece-ms-states-row .states-lbl { font-size: 11px !important; font-weight: 700 !important; letter-spacing: 0.12em !important; text-transform: uppercase !important; color: #64748b !important; }
#ece-ms-wizard .ece-ms-states-row .states-pills { display: flex !important; gap: 6px !important; flex-wrap: wrap !important; }
#ece-ms-wizard .ece-ms-states-row .state-pill { background: #fff !important; border: 1.5px solid #1d4ed8 !important; color: #1d4ed8 !important; font-weight: 700 !important; padding: 5px 14px !important; border-radius: 999px !important; font-size: 13px !important; }

/* === 1.5 ADD-ON STRIP === */
#ece-ms-wizard .ece-ms-addons-card {
	background: #fff !important;
	border: 1px solid #e2e8f0 !important;
	border-left: 4px solid #1d4ed8 !important;
	border-radius: 12px !important;
	padding: 18px 24px !important;
	box-shadow: 0 2px 6px rgba(15,23,42,0.03) !important;
	display: flex !important; flex-direction: column !important; gap: 12px !important;
}
#ece-ms-wizard .ece-ms-addons-head { display: flex !important; align-items: center !important; gap: 10px !important; flex-wrap: wrap !important; }
#ece-ms-wizard .ece-ms-addons-lbl { font-size: 14px !important; font-weight: 700 !important; color: #0f172a !important; }
#ece-ms-wizard .ece-ms-free-pill { background: #d1fae5 !important; color: #047857 !important; font-size: 10px !important; font-weight: 800 !important; letter-spacing: 0.1em !important; text-transform: uppercase !important; padding: 4px 10px !important; border-radius: 999px !important; border: 1px solid #a7f3d0 !important; }
#ece-ms-wizard .ece-ms-addons-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important; gap: 10px !important; }
#ece-ms-wizard .ece-ms-addon-card { background: #eff6ff !important; border: 1px solid #bfdbfe !important; border-radius: 8px !important; padding: 12px 14px !important; font-size: 13px !important; }
#ece-ms-wizard .ece-ms-addon-card .a-name { font-weight: 700 !important; color: #1e3a8a !important; line-height: 1.35 !important; margin-bottom: 2px !important; font-size: 14px !important; }
#ece-ms-wizard .ece-ms-addon-card .a-meta { color: #64748b !important; font-size: 12px !important; }

/* === 2. CERTIFICATES PANEL === */
#ece-ms-wizard .ece-ms-certs-panel { background: #fff !important; border-radius: 12px !important; border: 1px solid #e2e8f0 !important; border-left: 4px solid #f59e0b !important; padding: 24px 28px !important; margin: 0 !important; box-shadow: 0 2px 6px rgba(15,23,42,0.03) !important; }
#ece-ms-wizard .ece-ms-certs-head { display: flex !important; align-items: center !important; gap: 10px !important; margin-bottom: 18px !important; flex-wrap: wrap !important; }
#ece-ms-wizard .ece-ms-certs-head .certs-badge { width: 28px !important; height: 28px !important; border-radius: 6px !important; background: #1d4ed8 !important; color: #fff !important; display: flex !important; align-items: center !important; justify-content: center !important; font-weight: 800 !important; font-size: 16px !important; }
#ece-ms-wizard .ece-ms-certs-head .certs-ti { font-size: 16px !important; font-weight: 700 !important; color: #0f172a !important; flex: 1 !important; min-width: 0 !important; }
#ece-ms-wizard .ece-ms-certs-head .certs-x { font-size: 13px !important; color: #64748b !important; }
#ece-ms-wizard .ece-ms-certs-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 12px 28px !important; }
#ece-ms-wizard .ece-ms-cert-item { display: flex !important; gap: 12px !important; align-items: flex-start !important; padding: 10px 0 !important; }
#ece-ms-wizard .ece-ms-cert-item .num { flex-shrink: 0 !important; width: 26px !important; height: 26px !important; border-radius: 50% !important; background: #dbeafe !important; color: #1d4ed8 !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; font-weight: 800 !important; font-size: 13px !important; margin-top: 1px !important; }
#ece-ms-wizard .ece-ms-cert-item .cert-meat { flex: 1 !important; min-width: 0 !important; }
#ece-ms-wizard .ece-ms-cert-item .cert-name { font-size: 14px !important; font-weight: 600 !important; color: #0f172a !important; line-height: 1.35 !important; }
#ece-ms-wizard .ece-ms-cert-item .cert-approval { font-size: 12px !important; color: #1d4ed8 !important; font-style: italic !important; margin-top: 2px !important; }

/* === 3. STRICT + SAVINGS NOTES (brand orange) === */
#ece-ms-wizard .ece-ms-strict-note { background: #fef3c7 !important; border-left: 4px solid #f59e0b !important; padding: 14px 18px !important; margin: 0 !important; border-radius: 8px !important; font-size: 13.5px !important; color: #1f2937 !important; line-height: 1.5 !important; }
#ece-ms-wizard .ece-ms-benefits-note { background: #fef9e7 !important; border-left: 4px solid #f59e0b !important; padding: 12px 20px !important; margin: 0 !important; border-radius: 8px !important; font-size: 14px !important; color: #78350f !important; line-height: 1.5 !important; }
#ece-ms-wizard .ece-ms-benefits-note strong { color: #78350f !important; font-weight: 800 !important; }

/* No-timer delight note — green, mirrors the benefits-note shape */
#ece-ms-wizard .ece-ms-timer-note { background: #ecfdf5 !important; border-left: 4px solid #10b981 !important; padding: 12px 20px !important; margin: 0 !important; border-radius: 8px !important; font-size: 14px !important; color: #065f46 !important; line-height: 1.5 !important; }
#ece-ms-wizard .ece-ms-timer-note strong { color: #065f46 !important; font-weight: 800 !important; }
#ece-ms-wizard .ece-ms-timer-note .timer-ico { margin-right: 6px !important; }

/* Cart bar — brand orange (matches the bundle mockup) */
#ece-ms-wizard .ece-ms-cart-bar {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
	border-radius: 12px !important;
	padding: 22px 28px !important;
	margin-top: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	box-shadow: 0 8px 24px rgba(217,119,6,0.25) !important;
	gap: 24px !important;
}
#ece-ms-wizard .ece-ms-cart-bar .total { color: #fff !important; font-size: 22px !important; font-weight: 700 !important; line-height: 1.2 !important; }
#ece-ms-wizard .ece-ms-cart-bar .total > span { display: block !important; font-size: 15px !important; font-weight: 500 !important; opacity: 1 !important; margin-top: 6px !important; color: #ffffff !important; }
/* Sale pricing — MSRP first (struck through), then sale price, then SAVE
   pill. The "strikethrough" is drawn as a slightly angled pseudo-element
   line (not text-decoration: line-through). A pure horizontal line bisects
   digit features (the crossbar of 3 / 8, the middle of 5) and makes them
   hard to read; a 6° angle skips across each digit at a slightly different
   vertical position per character, preserving recognition. Inspired by how
   premium retail (Tiffany, Bonobos) handle sale typography. */
#ece-ms-wizard .ece-ms-cart-bar .total .msrp {
	position: relative !important;
	display: inline-block !important;
	font-size: 20px !important; font-weight: 700 !important;
	color: #dc2626 !important;
	background: transparent !important;
	padding: 0 2px !important;
	text-decoration: none !important;
	margin-right: 14px !important;
	vertical-align: middle !important;
	letter-spacing: 0.01em !important;
}
#ece-ms-wizard .ece-ms-cart-bar .total .msrp::after {
	content: '' !important;
	position: absolute !important;
	left: -1px !important;
	right: -1px !important;
	top: 50% !important;
	height: 1.5px !important;
	background: #dc2626 !important;
	border-radius: 1px !important;
	transform: translateY(-50%) rotate(-6deg) !important;
	transform-origin: center !important;
	pointer-events: none !important;
}
#ece-ms-wizard .ece-ms-cart-bar .total .sale {
	display: inline-block !important;
	font-size: 32px !important; font-weight: 800 !important; color: #ffffff !important;
	line-height: 1 !important; vertical-align: middle !important;
}
#ece-ms-wizard .ece-ms-cart-bar .total .save-pill {
	display: inline-block !important;
	font-size: 13px !important; font-weight: 800 !important;
	background: #ffffff !important; color: #b91c1c !important;
	padding: 5px 12px !important; border-radius: 999px !important;
	margin-left: 12px !important; vertical-align: middle !important;
	letter-spacing: 0.04em !important; text-transform: uppercase !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
}
#ece-ms-wizard .ece-ms-add-to-cart {
	background: #fff !important;
	color: #b45309 !important;
	border: none !important;
	padding: 12px 28px !important;
	border-radius: 6px !important;
	font-weight: 700 !important;
	font-size: 16px !important;
	cursor: pointer !important;
	white-space: nowrap !important;
}
#ece-ms-wizard .ece-ms-add-to-cart:hover { background: #fef3c7 !important; }
#ece-ms-wizard .ece-ms-add-to-cart:disabled { opacity: 0.6 !important; cursor: wait !important; }

/* Info / error / success messages */
#ece-ms-wizard .ece-ms-info { background: #eff6ff !important; border-left: 4px solid #3b82f6 !important; padding: 12px 16px !important; border-radius: 4px !important; color: #1e3a8a !important; }
#ece-ms-wizard .ece-ms-error { color: #b32d2e !important; }
#ece-ms-wizard .ece-ms-success { color: #15803d !important; font-weight: 500 !important; }
#ece-ms-wizard .ece-ms-msg { min-height: 20px !important; margin-top: 8px !important; font-size: 13px !important; }

/* ============================================================
   RESPONSIVE — mobile + tablet adjustments
   ============================================================ */

/* Tablet — 4-up checks become 1 column when room is tight */
@media (max-width: 880px) {
	#ece-ms-wizard .ece-ms-hero-top { grid-template-columns: 88px 1fr !important; grid-template-areas: "shield title" "pill pill" !important; padding: 24px 24px !important; gap: 18px !important; }
	#ece-ms-wizard .ece-ms-hero-shield { grid-area: shield !important; width: 80px !important; height: 88px !important; }
	#ece-ms-wizard .ece-ms-hero-shield .shield-check { font-size: 30px !important; }
	#ece-ms-wizard .ece-ms-hero-titlewrap { grid-area: title !important; }
	#ece-ms-wizard .ece-ms-hero-title { font-size: 20px !important; }
	#ece-ms-wizard .ece-ms-hero-pill { grid-area: pill !important; justify-self: start !important; }
	#ece-ms-wizard .ece-ms-hero-body { padding: 22px 24px !important; }
	#ece-ms-wizard .ece-ms-checks { gap: 14px !important; grid-template-columns: 1fr !important; }
	#ece-ms-wizard .ece-ms-certs-grid { grid-template-columns: 1fr !important; gap: 6px !important; }
	#ece-ms-wizard .ece-ms-certs-panel { padding: 20px 22px !important; }
	#ece-ms-wizard .ece-ms-addons-card { padding: 16px 20px !important; }
}

/* Phone — single column everywhere, smaller paddings, stacked cart */
@media (max-width: 560px) {
	#ece-ms-wizard .ece-ms-bundle { gap: 16px !important; }
	#ece-ms-wizard .ece-ms-hero-top { grid-template-columns: 1fr !important; grid-template-areas: "pill" "shield" "title" !important; padding: 20px 18px !important; gap: 14px !important; text-align: center !important; }
	#ece-ms-wizard .ece-ms-hero-shield { margin: 0 auto !important; }
	#ece-ms-wizard .ece-ms-hero-titlewrap { text-align: center !important; }
	#ece-ms-wizard .ece-ms-hero-pill { justify-self: center !important; }
	#ece-ms-wizard .ece-ms-hero-title { font-size: 19px !important; }
	#ece-ms-wizard .ece-ms-hero-sub { font-size: 13px !important; }
	#ece-ms-wizard .ece-ms-hero-body { padding: 18px 18px !important; }
	#ece-ms-wizard .ece-ms-hero-desc { font-size: 13.5px !important; margin-bottom: 18px !important; }
	#ece-ms-wizard .ece-ms-states-row { padding: 12px 14px !important; gap: 10px !important; }
	#ece-ms-wizard .ece-ms-states-row .state-pill { font-size: 12.5px !important; padding: 4px 12px !important; }
	#ece-ms-wizard .ece-ms-addons-card { padding: 14px 16px !important; }
	#ece-ms-wizard .ece-ms-addons-grid { grid-template-columns: 1fr !important; }
	#ece-ms-wizard .ece-ms-certs-panel { padding: 18px 20px !important; }
	#ece-ms-wizard .ece-ms-certs-head .certs-x { display: none !important; }
	#ece-ms-wizard .ece-ms-cart-bar { flex-direction: column !important; align-items: stretch !important; text-align: center !important; padding: 18px 20px !important; }
	#ece-ms-wizard .ece-ms-cart-bar .total { font-size: 18px !important; }
	#ece-ms-wizard .ece-ms-cart-bar .total .sale { font-size: 28px !important; }
	#ece-ms-wizard .ece-ms-cart-bar .total .msrp { font-size: 18px !important; margin-right: 12px !important; padding: 0 2px !important; }
	#ece-ms-wizard .ece-ms-cart-bar .total .save-pill { font-size: 12px !important; margin-left: 8px !important; }
	#ece-ms-wizard .ece-ms-add-to-cart { width: 100% !important; padding: 14px 24px !important; }
}

/* ============================================================
   Loading spinner — matches the .pe-btn.is-loading / .pe-spinner
   pattern used elsewhere on the site. Self-contained here so the
   wizard doesn't depend on the practice-exam stylesheet loading.
   ============================================================ */
.ece-ms-btn-spinner {
	display: inline-block !important;
	width: 16px !important;
	height: 16px !important;
	border: 2px solid rgba(255, 255, 255, 0.35) !important;
	border-top-color: #ffffff !important;
	border-radius: 50% !important;
	animation: ece-ms-spin 0.8s linear infinite !important;
	vertical-align: -3px !important;
	margin-right: 8px !important;
	box-sizing: border-box !important;
}
/* Dark spinner variant for buttons on white backgrounds (sticky bar's
   button is orange-on-white but the white-rim spinner reads fine; this
   is here for future buttons that need it). */
.ece-ms-btn-spinner--dark {
	border-color: rgba(0, 0, 0, 0.18) !important;
	border-top-color: #ffffff !important;
}
@keyframes ece-ms-spin {
	to { transform: rotate(360deg); }
}
#ece-ms-wizard .ece-ms-add-to-cart.is-loading,
.ece-ms-sticky-cta-btn.is-loading {
	pointer-events: none !important;
	cursor: wait !important;
	opacity: 0.85 !important;
}

/* ============================================================
   Sticky bottom CTA — persistent price + Add to Cart bar that
   slides in after the bundle is computed and the inline ATC
   button has scrolled off screen. Mobile + desktop. Hides
   smoothly when inline ATC scrolls back into view.
   ============================================================ */
.ece-ms-sticky-cta {
	position: fixed !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	z-index: 9990 !important; /* above most theme chrome, below modals */
	background: #ffffff !important;
	border-top: 1px solid #e2e8f0 !important;
	box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.12) !important;
	transform: translateY(110%) !important; /* parked off-screen */
	transition: transform 0.24s ease-out !important;
	padding: 12px 16px env(safe-area-inset-bottom, 12px) !important;
	font: 14px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif !important;
}
.ece-ms-sticky-cta[hidden] { display: none !important; }
.ece-ms-sticky-cta.is-visible { transform: translateY(0) !important; }
.ece-ms-sticky-cta .ece-ms-sticky-inner {
	max-width: 1140px !important;
	margin: 0 auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px !important;
}
.ece-ms-sticky-cta .ece-ms-sticky-info {
	min-width: 0 !important; /* allow flex shrink so price doesn't push button off */
	flex: 1 1 auto !important;
}
.ece-ms-sticky-cta .ece-ms-sticky-price {
	font-weight: 700 !important;
	color: #111827 !important;
	font-size: 20px !important;
	line-height: 1.15 !important;
	display: flex !important;
	align-items: baseline !important;
	gap: 8px !important;
	flex-wrap: wrap !important;
}
.ece-ms-sticky-cta .ece-ms-sticky-price .msrp {
	position: relative !important;
	display: inline-block !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #dc2626 !important;
	text-decoration: none !important;
	padding: 0 2px !important;
	letter-spacing: 0.01em !important;
}
.ece-ms-sticky-cta .ece-ms-sticky-price .msrp::after {
	content: '' !important;
	position: absolute !important;
	left: -1px !important;
	right: -1px !important;
	top: 50% !important;
	height: 1.25px !important;
	background: #dc2626 !important;
	border-radius: 1px !important;
	transform: translateY(-50%) rotate(-6deg) !important;
	transform-origin: center !important;
	pointer-events: none !important;
}
.ece-ms-sticky-cta .ece-ms-sticky-price .sale {
	color: #b45309 !important;
}
.ece-ms-sticky-cta .ece-ms-sticky-price .save-pill {
	font-size: 11px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	background: #16a34a !important;
	padding: 2px 8px !important;
	border-radius: 999px !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
}
.ece-ms-sticky-cta .ece-ms-sticky-meta {
	margin-top: 2px !important;
	color: #6b7280 !important;
	font-size: 12px !important;
}
.ece-ms-sticky-cta-btn {
	flex: 0 0 auto !important;
	background: #f59e0b !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 12px 22px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em !important;
	cursor: pointer !important;
	box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25) !important;
	transition: background 0.12s, box-shadow 0.12s !important;
	white-space: nowrap !important;
	min-height: 44px !important;
}
.ece-ms-sticky-cta-btn:hover {
	background: #d97706 !important;
	box-shadow: 0 3px 10px rgba(217, 119, 6, 0.35) !important;
}
.ece-ms-sticky-cta-btn:disabled {
	opacity: 0.6 !important;
	cursor: wait !important;
}

@media (max-width: 560px) {
	.ece-ms-sticky-cta { padding: 10px 12px env(safe-area-inset-bottom, 10px) !important; }
	.ece-ms-sticky-cta .ece-ms-sticky-inner { gap: 10px !important; }
	.ece-ms-sticky-cta .ece-ms-sticky-price { font-size: 17px !important; gap: 6px !important; }
	.ece-ms-sticky-cta .ece-ms-sticky-price .sale { font-size: 19px !important; }
	.ece-ms-sticky-cta .ece-ms-sticky-meta { font-size: 11px !important; }
	.ece-ms-sticky-cta-btn { padding: 10px 16px !important; font-size: 14px !important; }
}

/* ============================================================
   Coming-soon "Soon" state chips + notify-me modal
   ============================================================ */
#ece-ms-wizard .ece-ms-pill.ece-ms-soon {
	border-style: dashed !important;
	color: #6b7280 !important;
	background: #f9fafb !important;
	cursor: pointer !important;
}
#ece-ms-wizard .ece-ms-pill.ece-ms-soon:hover {
	border-color: #2271b1 !important;
	color: #1d4f7c !important;
	background: #fff !important;
}
#ece-ms-wizard .ece-ms-pill.ece-ms-soon::before { content: '' !important; }
.ece-ms-soon-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 0 6px;
	border-radius: 9px;
	background: #f59e0b;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	font-style: normal;
	line-height: 16px;
	vertical-align: middle;
	letter-spacing: .02em;
}

/* ----- Coming-soon accordion (collapsed by default) ----- */
#ece-ms-wizard .ece-ms-soon-wrap { margin-top: 14px !important; }
#ece-ms-wizard .ece-ms-soon-wrap[hidden] { display: none !important; }
#ece-ms-wizard .ece-ms-soon-accordion {
	border: 1px solid #bfdbfe !important;
	border-radius: 12px !important;
	background: #eff6ff !important;
	overflow: hidden !important;
}
#ece-ms-wizard .ece-ms-soon-summary {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 12px 16px !important;
	cursor: pointer !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #1d4f7c !important;
	list-style: none !important;
	user-select: none !important;
}
#ece-ms-wizard .ece-ms-soon-summary::-webkit-details-marker { display: none !important; }
#ece-ms-wizard .ece-ms-soon-summary:hover { color: #14406b !important; background: #e0ecfb !important; }
#ece-ms-wizard .ece-ms-soon-summary-label { flex: 0 0 auto !important; }
#ece-ms-wizard .ece-ms-soon-count {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 22px !important;
	height: 20px !important;
	padding: 0 7px !important;
	border-radius: 10px !important;
	background: #dbeafe !important;
	color: #1d4f7c !important;
	font-size: 12px !important;
	font-weight: 700 !important;
}
#ece-ms-wizard .ece-ms-soon-caret {
	margin-left: auto !important;
	width: 9px !important;
	height: 9px !important;
	border-right: 2px solid #60a5fa !important;
	border-bottom: 2px solid #60a5fa !important;
	transform: rotate( 45deg ) !important;
	transition: transform 150ms ease !important;
}
#ece-ms-wizard .ece-ms-soon-accordion[open] .ece-ms-soon-caret {
	transform: rotate( -135deg ) !important;
}
#ece-ms-wizard .ece-ms-soon-grid {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	padding: 4px 16px 16px !important;
}

/* Modal — sibling of #ece-ms-wizard, so no wizard prefix. */
body.ece-ms-modal-open { overflow: hidden; }
.ece-ms-soon-modal[hidden] { display: none !important; }
.ece-ms-soon-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(17, 24, 39, .55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}
.ece-ms-soon-box {
	position: relative;
	width: 100%;
	max-width: 440px;
	background: #fff;
	border-radius: 12px;
	padding: 26px 26px 22px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
	box-sizing: border-box;
}
.ece-ms-soon-x {
	position: absolute;
	top: 8px;
	right: 12px;
	border: none;
	background: none;
	font-size: 26px;
	line-height: 1;
	color: #9ca3af;
	cursor: pointer;
	padding: 4px;
}
.ece-ms-soon-x:hover { color: #374151; }
.ece-ms-soon-badge-top {
	display: inline-block;
	background: #fef3c7;
	color: #92400e;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 10px;
	letter-spacing: .03em;
	text-transform: uppercase;
}
.ece-ms-soon-box h3 {
	margin: 12px 0 6px !important;
	padding: 0 !important;
	border: none !important;
	font-size: 19px !important;
	color: #111827 !important;
}
.ece-ms-soon-sub { margin: 0 0 16px; color: #6b7280; font-size: 13.5px; line-height: 1.5; }
.ece-ms-soon-label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin: 10px 0 4px; }
.ece-ms-soon-label .req { color: #dc2626; }
.ece-ms-soon-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 7px;
	font-size: 14px;
	box-sizing: border-box;
	font-family: inherit;
}
.ece-ms-soon-input:focus { outline: none; border-color: #2271b1; box-shadow: 0 0 0 3px rgba(34, 113, 177, .15); }
.ece-ms-soon-textarea { resize: vertical; min-height: 46px; }
.ece-ms-soon-modal .ece-ms-soon-btn {
	margin-top: 16px;
	width: 100%;
	padding: 11px 16px !important;
	background: #2271b1 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 7px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	cursor: pointer;
}
.ece-ms-soon-modal .ece-ms-soon-btn:hover { background: #185a92 !important; }
.ece-ms-soon-modal .ece-ms-soon-btn:disabled { opacity: .6; cursor: wait; }
.ece-ms-soon-modal .ece-ms-soon-btn-ghost { background: #f3f4f6 !important; color: #374151 !important; }
.ece-ms-soon-modal .ece-ms-soon-btn-ghost:hover { background: #e5e7eb !important; }
.ece-ms-soon-msg { margin: 10px 0 0; font-size: 13px; color: #dc2626; min-height: 1em; }
.ece-ms-soon-success { text-align: center; padding: 8px 0; }
.ece-ms-soon-check {
	width: 48px;
	height: 48px;
	margin: 0 auto 10px;
	border-radius: 50%;
	background: #dcfce7;
	color: #16a34a;
	font-size: 26px;
	line-height: 48px;
}
.ece-ms-soon-success h4 { margin: 0 0 6px !important; font-size: 18px !important; color: #111827 !important; }
.ece-ms-soon-success p { margin: 0 0 14px; color: #6b7280; font-size: 14px; }
