/**
 * BusinessZindagi Debt Health Calculator – Frontend Styles v1.1
 * Beautiful, simple, modern, mobile-first
 */

.bz-dhc-wrapper {
	--bz-primary: #0f766e;
	--bz-primary-dark: #0b5c56;
	--bz-primary-light: #14b8a6;
	--bz-primary-soft: #f0fdfa;
	--bz-accent: #f59e0b;
	--bz-success: #16a34a;
	--bz-warning: #ca8a04;
	--bz-orange: #ea580c;
	--bz-danger: #dc2626;
	--bz-bg: #f8fafc;
	--bz-card: #ffffff;
	--bz-border: #e2e8f0;
	--bz-text: #0f172a;
	--bz-text-muted: #64748b;
	--bz-radius: 14px;
	--bz-radius-sm: 10px;
	--bz-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 4px 14px rgba(15, 23, 42, 0.04);
	--bz-shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
	--bz-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.1);
	--bz-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	font-family: var(--bz-font);
	color: var(--bz-text);
	line-height: 1.55;
	max-width: 920px;
	margin: 0 auto;
	padding: 1.25rem 1rem 3rem;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

.bz-dhc-wrapper *,
.bz-dhc-wrapper *::before,
.bz-dhc-wrapper *::after {
	box-sizing: border-box;
}

.bz-dhc-header {
	margin-bottom: 1.5rem;
	text-align: center;
}

.bz-dhc-badge {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bz-primary);
	background: var(--bz-primary-soft);
	border: 1px solid #99f6e4;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	margin-bottom: 0.75rem;
}

.bz-dhc-title {
	font-size: clamp(1.35rem, 4vw, 1.7rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	margin: 0 0 0.4rem;
	color: var(--bz-text);
	line-height: 1.25;
}

.bz-dhc-subtitle {
	font-size: 0.95rem;
	color: var(--bz-text-muted);
	margin: 0 auto;
	max-width: 38em;
}

.bz-dhc-privacy {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	background: var(--bz-primary-soft);
	border: 1px solid #99f6e4;
	border-radius: var(--bz-radius-sm);
	padding: 0.85rem 1.1rem;
	font-size: 0.8125rem;
	color: #0f766e;
	margin-bottom: 1.75rem;
	line-height: 1.5;
}

.bz-dhc-icon-lock {
	flex-shrink: 0;
	margin-top: 2px;
	color: #0d9488;
}

.bz-dhc-card {
	background: var(--bz-card);
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-radius);
	box-shadow: var(--bz-shadow);
	padding: 1.4rem 1.4rem 1.5rem;
	margin-bottom: 1.35rem;
	transition: box-shadow 0.2s ease;
}

.bz-dhc-card:hover {
	box-shadow: var(--bz-shadow-md);
}

.bz-dhc-card-title {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 1.08rem;
	font-weight: 700;
	margin: 0 0 1.1rem;
	color: var(--bz-text);
	letter-spacing: -0.01em;
}

.bz-dhc-card-desc {
	font-size: 0.875rem;
	color: var(--bz-text-muted);
	margin: -0.55rem 0 1.15rem;
	line-height: 1.5;
}

.bz-dhc-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.7rem;
	height: 1.7rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--bz-primary), var(--bz-primary-light));
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(15, 118, 110, 0.3);
}

.bz-dhc-grid {
	display: grid;
	gap: 1.1rem;
}

.bz-dhc-grid-2 {
	grid-template-columns: 1fr;
}

.bz-dhc-grid-3 {
	grid-template-columns: 1fr;
}

@media (min-width: 600px) {
	.bz-dhc-grid-2 {
		grid-template-columns: 1fr 1fr;
	}
	.bz-dhc-grid-3 {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

.bz-dhc-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	position: relative;
}

.bz-dhc-field label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--bz-text);
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.bz-dhc-req {
	color: var(--bz-danger);
}

.bz-dhc-field input,
.bz-dhc-field select {
	width: 100%;
	padding: 0.7rem 0.85rem;
	font-size: 0.95rem;
	border: 1.5px solid var(--bz-border);
	border-radius: var(--bz-radius-sm);
	background: #fff;
	color: var(--bz-text);
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
	appearance: none;
	-webkit-appearance: none;
}

.bz-dhc-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	padding-right: 2.2rem;
}

.bz-dhc-field input:hover,
.bz-dhc-field select:hover {
	border-color: #cbd5e1;
}

.bz-dhc-field input:focus,
.bz-dhc-field select:focus {
	outline: none;
	border-color: var(--bz-primary-light);
	box-shadow: 0 0 0 3.5px rgba(20, 184, 166, 0.18);
}

.bz-dhc-field input.bz-invalid,
.bz-dhc-field select.bz-invalid {
	border-color: var(--bz-danger);
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.bz-dhc-hint {
	font-size: 0.74rem;
	color: var(--bz-text-muted);
}

.bz-dhc-live-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
	border: 1px solid #99f6e4;
	border-radius: var(--bz-radius-sm);
	padding: 0.85rem 1.1rem;
	margin-bottom: 1.25rem;
	font-size: 0.85rem;
}

.bz-dhc-live-item {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.bz-dhc-live-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bz-text-muted);
	font-weight: 600;
}

.bz-dhc-live-value {
	font-weight: 700;
	color: var(--bz-primary-dark);
	font-variant-numeric: tabular-nums;
}

.bz-dhc-debts-list {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	margin-bottom: 1.1rem;
}

.bz-dhc-debt-item {
	background: #f8fafc;
	border: 1.5px solid var(--bz-border);
	border-radius: var(--bz-radius-sm);
	padding: 1.15rem;
	transition: border-color 0.15s, box-shadow 0.15s;
	position: relative;
}

.bz-dhc-debt-item:hover {
	border-color: #cbd5e1;
}

.bz-dhc-debt-item.is-example {
	border-style: dashed;
	background: #fefce8;
	border-color: #fde68a;
}

.bz-dhc-example-tag {
	position: absolute;
	top: -0.55rem;
	left: 1rem;
	background: #fef3c7;
	color: #92400e;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.15rem 0.55rem;
	border-radius: 4px;
	border: 1px solid #fde68a;
}

.bz-dhc-debt-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.95rem;
}

.bz-dhc-debt-label {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--bz-primary);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.bz-dhc-btn-remove {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	background: transparent;
	border: none;
	color: var(--bz-text-muted);
	font-size: 0.8rem;
	cursor: pointer;
	padding: 0.3rem 0.5rem;
	border-radius: 6px;
	transition: color 0.15s, background 0.15s;
}

.bz-dhc-btn-remove:hover {
	color: var(--bz-danger);
	background: #fef2f2;
}

.bz-dhc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.75rem 1.35rem;
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: var(--bz-radius-sm);
	border: none;
	cursor: pointer;
	transition: background 0.15s, transform 0.1s, box-shadow 0.15s, border-color 0.15s;
	font-family: inherit;
	line-height: 1.3;
}

.bz-dhc-btn:active {
	transform: scale(0.98);
}

.bz-dhc-btn-primary {
	background: linear-gradient(135deg, var(--bz-primary) 0%, #0d9488 100%);
	color: #fff;
	width: 100%;
	padding: 1rem 1.5rem;
	font-size: 1.05rem;
	box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
}

.bz-dhc-btn-primary:hover {
	background: linear-gradient(135deg, var(--bz-primary-dark) 0%, var(--bz-primary) 100%);
	box-shadow: 0 6px 18px rgba(15, 118, 110, 0.4);
}

.bz-dhc-btn-primary:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.bz-dhc-btn-secondary {
	background: #fff;
	color: var(--bz-primary);
	border: 1.5px solid var(--bz-primary);
}

.bz-dhc-btn-secondary:hover {
	background: var(--bz-primary-soft);
}

.bz-dhc-btn-ghost {
	background: transparent;
	color: var(--bz-text-muted);
	border: 1.5px solid var(--bz-border);
	font-size: 0.875rem;
	padding: 0.55rem 1rem;
}

.bz-dhc-btn-ghost:hover {
	border-color: #cbd5e1;
	color: var(--bz-text);
	background: #f8fafc;
}

.bz-dhc-actions {
	margin: 1.6rem 0 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

@media (min-width: 480px) {
	.bz-dhc-actions {
		flex-direction: row;
		align-items: center;
	}
	.bz-dhc-actions .bz-dhc-btn-primary {
		flex: 1;
	}
}

.bz-dhc-spinner {
	width: 18px;
	height: 18px;
	border: 2.5px solid rgba(255,255,255,0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: bz-spin 0.7s linear infinite;
	display: none;
}

.bz-dhc-btn-primary.is-loading .bz-dhc-spinner {
	display: block;
}

@keyframes bz-spin {
	to { transform: rotate(360deg); }
}

.bz-dhc-results {
	animation: bz-fade-in 0.4s ease;
}

@keyframes bz-fade-in {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}

.bz-dhc-score-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: linear-gradient(145deg, #0f766e 0%, #0d9488 55%, #14b8a6 100%);
	color: #fff;
	border-radius: var(--bz-radius);
	padding: 2rem 1.4rem;
	margin-bottom: 1.35rem;
	box-shadow: var(--bz-shadow-lg);
	position: relative;
	overflow: hidden;
}

.bz-dhc-score-hero::before {
	content: "";
	position: absolute;
	top: -40%;
	right: -20%;
	width: 60%;
	height: 140%;
	background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
	pointer-events: none;
}

@media (min-width: 540px) {
	.bz-dhc-score-hero {
		flex-direction: row;
		text-align: left;
		gap: 2rem;
		padding: 2rem 2.25rem;
	}
}

.bz-dhc-score-ring-wrap {
	position: relative;
	width: 132px;
	height: 132px;
	flex-shrink: 0;
	z-index: 1;
}

.bz-dhc-score-ring {
	width: 132px;
	height: 132px;
	transform: rotate(-90deg);
}

.bz-dhc-ring-bg {
	fill: none;
	stroke: rgba(255, 255, 255, 0.22);
	stroke-width: 9;
}

.bz-dhc-ring-fg {
	fill: none;
	stroke: #fff;
	stroke-width: 9;
	stroke-linecap: round;
	stroke-dasharray: 358.14;
	stroke-dashoffset: 358.14;
	transition: stroke-dashoffset 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.bz-dhc-score-number {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	line-height: 1;
}

#bz-score-value {
	font-size: 2.25rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.bz-dhc-score-max {
	font-size: 0.8rem;
	opacity: 0.85;
	margin-top: 3px;
}

.bz-dhc-score-meta {
	margin-top: 1.15rem;
	z-index: 1;
}

@media (min-width: 540px) {
	.bz-dhc-score-meta {
		margin-top: 0;
	}
}

.bz-dhc-score-label {
	font-size: 0.85rem;
	opacity: 0.9;
	margin: 0 0 0.3rem;
	font-weight: 500;
}

.bz-dhc-score-status {
	font-size: 1.45rem;
	font-weight: 800;
	margin: 0 0 0.4rem;
	letter-spacing: -0.01em;
}

.bz-dhc-score-note {
	font-size: 0.75rem;
	opacity: 0.8;
	margin: 0;
}

.bz-dhc-indicators {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-bottom: 1.35rem;
	justify-content: center;
}

.bz-dhc-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	background: #fff;
	color: var(--bz-text);
	border: 1px solid var(--bz-border);
	box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.bz-dhc-pill-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}

.bz-dhc-pill-dot.good,
.bz-dhc-pill-dot.strong { background: var(--bz-success); }
.bz-dhc-pill-dot.moderate { background: var(--bz-warning); }
.bz-dhc-pill-dot.weak { background: var(--bz-danger); }

.bz-dhc-metrics-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.9rem;
}

@media (min-width: 480px) {
	.bz-dhc-metrics-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.bz-dhc-metric {
	background: #f8fafc;
	border-radius: var(--bz-radius-sm);
	padding: 1rem 1.1rem;
	border: 1px solid var(--bz-border);
	transition: background 0.15s;
}

.bz-dhc-metric:hover {
	background: #f1f5f9;
}

.bz-dhc-metric-label {
	display: block;
	font-size: 0.74rem;
	color: var(--bz-text-muted);
	font-weight: 500;
	margin-bottom: 0.25rem;
}

.bz-dhc-metric-value {
	display: block;
	font-size: 1.2rem;
	font-weight: 750;
	color: var(--bz-text);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.015em;
}

.bz-dhc-dscr-note {
	font-size: 0.75rem;
	color: var(--bz-text-muted);
	margin: 1.1rem 0 0;
	line-height: 1.5;
	padding: 0.75rem 0.9rem;
	background: #f8fafc;
	border-radius: 8px;
	border-left: 3px solid var(--bz-primary-light);
}

.bz-dhc-breakdown {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.bz-dhc-bar-row {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.bz-dhc-bar-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 0.875rem;
	gap: 0.5rem;
}

.bz-dhc-bar-name {
	font-weight: 600;
	color: var(--bz-text);
}

.bz-dhc-bar-amount {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--bz-text);
	white-space: nowrap;
}

.bz-dhc-bar-track {
	height: 11px;
	background: #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
}

.bz-dhc-bar-fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--bz-primary), var(--bz-primary-light));
	transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
	min-width: 3px;
}

.bz-dhc-highest-interest {
	margin-top: 1.15rem;
	padding: 0.95rem 1.1rem;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: var(--bz-radius-sm);
	font-size: 0.875rem;
	color: #92400e;
	line-height: 1.5;
}

.bz-dhc-recommendations {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.bz-dhc-recommendations li {
	position: relative;
	padding: 1rem 1.15rem 1rem 2.7rem;
	background: #f8fafc;
	border-radius: var(--bz-radius-sm);
	border: 1px solid var(--bz-border);
	font-size: 0.9rem;
	line-height: 1.55;
}

.bz-dhc-recommendations li::before {
	content: "";
	position: absolute;
	left: 1.05rem;
	top: 1.2rem;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--bz-primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.bz-dhc-cta-card {
	background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
	border: 1.5px solid #99f6e4;
	border-radius: var(--bz-radius);
	padding: 1.25rem 1.35rem;
	margin: 1.25rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.bz-dhc-cta-card h4 {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--bz-primary-dark);
}

.bz-dhc-cta-card p {
	margin: 0;
	font-size: 0.85rem;
	color: #0f766e;
	line-height: 1.5;
}

.bz-dhc-cta-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.25rem;
}

.bz-dhc-cta-link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--bz-primary);
	background: #fff;
	border: 1px solid #99f6e4;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.bz-dhc-cta-link:hover {
	background: var(--bz-primary);
	color: #fff;
	border-color: var(--bz-primary);
	text-decoration: none;
}

.bz-dhc-resources {
	margin-top: 1.5rem;
	padding: 1.25rem;
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-radius);
	box-shadow: var(--bz-shadow);
}

.bz-dhc-resources h4 {
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	font-weight: 700;
}

.bz-dhc-resource-list {
	display: grid;
	gap: 0.65rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bz-dhc-resource-list a {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	padding: 0.7rem 0.85rem;
	background: #f8fafc;
	border-radius: 8px;
	text-decoration: none;
	color: var(--bz-text);
	font-size: 0.875rem;
	font-weight: 500;
	border: 1px solid transparent;
	transition: background 0.15s, border-color 0.15s;
}

.bz-dhc-resource-list a:hover {
	background: var(--bz-primary-soft);
	border-color: #99f6e4;
	color: var(--bz-primary-dark);
	text-decoration: none;
}

.bz-dhc-resource-list a span {
	color: var(--bz-primary);
	font-size: 1rem;
	line-height: 1.2;
}

.bz-dhc-simulator .bz-dhc-btn {
	margin-top: 1.1rem;
}

.bz-dhc-sim-results {
	margin-top: 1.35rem;
	padding-top: 1.35rem;
	border-top: 1px solid var(--bz-border);
}

.bz-dhc-sim-status {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.9rem;
	margin-bottom: 1.1rem;
}

.bz-dhc-sim-status.manageable {
	background: #dcfce7;
	color: #166534;
}

.bz-dhc-sim-status.caution {
	background: #fef9c3;
	color: #854d0e;
}

.bz-dhc-sim-status.high-pressure {
	background: #fee2e2;
	color: #991b1b;
}

.bz-dhc-disclaimer {
	font-size: 0.75rem;
	color: var(--bz-text-muted);
	line-height: 1.55;
	padding: 1.1rem;
	background: #f8fafc;
	border-radius: var(--bz-radius-sm);
	border: 1px solid var(--bz-border);
	margin-top: 0.75rem;
}

.bz-dhc-footer-brand {
	text-align: center;
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--bz-border);
	font-size: 0.8rem;
	color: var(--bz-text-muted);
}

.bz-dhc-footer-brand a {
	color: var(--bz-primary);
	font-weight: 600;
	text-decoration: none;
}

.bz-dhc-footer-brand a:hover {
	text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
	.bz-dhc-results,
	.bz-dhc-ring-fg,
	.bz-dhc-bar-fill,
	.bz-dhc-spinner {
		animation: none;
		transition: none;
	}
}

.bz-dhc-wrapper :focus-visible {
	outline: 2px solid var(--bz-primary-light);
	outline-offset: 2px;
}

.bz-dhc-wrapper input[type="text"],
.bz-dhc-wrapper select {
	max-width: 100%;
}

.bz-dhc-help {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #e2e8f0;
	color: #64748b;
	font-size: 0.65rem;
	font-weight: 700;
	cursor: help;
	border: none;
	padding: 0;
	line-height: 1;
}

.bz-dhc-help:hover {
	background: var(--bz-primary-light);
	color: #fff;
}

/* ========== V2 additions ========== */
.bz-dhc-steps {
	display: flex;
	gap: 0.35rem;
	margin-bottom: 1.5rem;
	overflow-x: auto;
	padding-bottom: 0.25rem;
	-webkit-overflow-scrolling: touch;
}
.bz-dhc-step-btn {
	flex: 1;
	min-width: 4.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	padding: 0.55rem 0.4rem;
	border: 1.5px solid var(--bz-border);
	background: #fff;
	border-radius: var(--bz-radius-sm);
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--bz-text-muted);
	cursor: pointer;
	transition: all 0.15s;
}
.bz-dhc-step-btn span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background: #e2e8f0;
	font-size: 0.75rem;
	font-weight: 700;
}
.bz-dhc-step-btn.is-active {
	border-color: var(--bz-primary);
	color: var(--bz-primary);
	background: var(--bz-primary-soft);
}
.bz-dhc-step-btn.is-active span {
	background: var(--bz-primary);
	color: #fff;
}
.bz-dhc-step-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.bz-dhc-step-panel { display: none; }
.bz-dhc-step-panel.is-active { display: block; }
.bz-dhc-step-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}
.bz-dhc-step-actions .bz-dhc-btn-primary { flex: 1; min-width: 10rem; }

.bz-dhc-top-metrics {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	margin-bottom: 1.35rem;
}
@media (min-width: 600px) {
	.bz-dhc-top-metrics { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 800px) {
	.bz-dhc-top-metrics { grid-template-columns: repeat(4, 1fr); }
}
.bz-dhc-top-card {
	background: #fff;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-radius-sm);
	padding: 0.9rem 1rem;
	box-shadow: var(--bz-shadow);
}
.bz-dhc-score-factors {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}
.bz-dhc-score-factors li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 0.85rem;
	background: #f8fafc;
	border-radius: 8px;
	font-size: 0.875rem;
	border: 1px solid var(--bz-border);
}
.bz-factor-icon { flex-shrink: 0; }

.bz-dhc-strategy-toggle {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
}
.bz-dhc-strategy-toggle label {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	cursor: pointer;
}
.bz-dhc-priority-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
.bz-dhc-priority-list li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	background: #f8fafc;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-radius-sm);
}
.bz-priority-rank {
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--bz-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
	flex-shrink: 0;
}
.bz-priority-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	font-size: 0.875rem;
}
.bz-priority-body span { color: var(--bz-text-muted); font-size: 0.8rem; }
.bz-priority-tag {
	font-size: 0.7rem;
	font-weight: 700;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	text-transform: uppercase;
}
.bz-priority-high { background: #fee2e2; color: #991b1b; }
.bz-priority-medium { background: #fef3c7; color: #92400e; }
.bz-priority-lower { background: #e2e8f0; color: #475569; }

.bz-dhc-alerts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.bz-dhc-alerts li {
	padding: 0.75rem 1rem;
	border-radius: 8px;
	font-size: 0.875rem;
	line-height: 1.45;
	border: 1px solid var(--bz-border);
}
.bz-alert-red { background: #fef2f2; border-color: #fecaca; }
.bz-alert-orange { background: #fff7ed; border-color: #fed7aa; }
.bz-alert-yellow { background: #fefce8; border-color: #fde68a; }
.bz-alert-green { background: #f0fdf4; border-color: #bbf7d0; }

.bz-dhc-roadmap { display: grid; gap: 0.75rem; }
@media (min-width: 600px) { .bz-dhc-roadmap { grid-template-columns: 1fr 1fr; } }
.bz-roadmap-item {
	padding: 0.9rem 1rem;
	background: #f8fafc;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-radius-sm);
	border-left: 3px solid var(--bz-primary);
}
.bz-roadmap-item strong { display: block; font-size: 0.8rem; color: var(--bz-primary); margin-bottom: 0.25rem; }
.bz-roadmap-item p { margin: 0; font-size: 0.85rem; line-height: 1.45; }

.bz-dhc-stress-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.bz-dhc-stress-results, .bz-dhc-plan-results, .bz-dhc-sim-results { margin-top: 1rem; }
.bz-dhc-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.bz-dhc-compare { border: 1px solid var(--bz-border); border-radius: var(--bz-radius-sm); overflow: hidden; font-size: 0.85rem; }
.bz-dhc-compare-row {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 0.5rem;
	padding: 0.6rem 0.85rem;
	border-bottom: 1px solid var(--bz-border);
}
.bz-dhc-compare-row:last-child { border-bottom: none; }
.bz-dhc-compare-row:nth-child(odd) { background: #f8fafc; }
.bz-dhc-compare-row span:first-child { font-weight: 600; color: var(--bz-text-muted); }

.bz-dhc-quick-actions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.bz-dhc-quick-actions li {
	padding: 0.7rem 1rem 0.7rem 2.4rem;
	background: #f8fafc;
	border-radius: 8px;
	border: 1px solid var(--bz-border);
	font-size: 0.9rem;
	position: relative;
}
.bz-dhc-quick-actions li::before {
	content: "→";
	position: absolute;
	left: 0.9rem;
	color: var(--bz-primary);
	font-weight: 700;
}

.bz-dhc-inline-cta { margin-top: 1rem; }
.bz-dhc-cta-mini {
	padding: 0.85rem 1rem;
	background: var(--bz-primary-soft);
	border: 1px solid #99f6e4;
	border-radius: var(--bz-radius-sm);
	font-size: 0.85rem;
}
.bz-dhc-cta-mini p { margin: 0 0 0.5rem; color: #0f766e; }

.bz-dhc-end-cta {
	text-align: center;
	padding: 1.5rem 1rem;
	background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
	border: 1.5px solid #99f6e4;
	border-radius: var(--bz-radius);
	margin: 1.5rem 0;
}
.bz-dhc-end-cta p { margin: 0 0 0.35rem; font-weight: 700; }
.bz-dhc-end-cta-sub { font-weight: 400 !important; font-size: 0.875rem; color: var(--bz-text-muted); }
.bz-dhc-end-cta-btns { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; margin-top: 1rem; }
.bz-dhc-end-cta-btns .bz-dhc-btn { width: auto; padding: 0.7rem 1.25rem; }

.bz-dhc-result-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.25rem 0;
	justify-content: center;
}

/* Print styles */
@media print {
	.bz-dhc-steps, .bz-dhc-privacy, .bz-dhc-step-actions, .bz-dhc-result-actions,
	.bz-dhc-end-cta, .bz-dhc-cta-card, .bz-dhc-inline-cta, #bz-dhc-form { display: none !important; }
	.bz-dhc-results { display: block !important; }
	.bz-dhc-card { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
	.bz-dhc-score-hero { background: #0f766e !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}


/* ---- V2.1 Typography scale (comfortable mobile reading) ---- */
.bz-dhc-wrapper {
	font-size: 16px;
	line-height: 1.6;
}
.bz-dhc-title {
	font-size: clamp(1.45rem, 4.5vw, 1.85rem) !important;
	line-height: 1.3 !important;
}
.bz-dhc-subtitle {
	font-size: 1rem !important;
	line-height: 1.55 !important;
}
.bz-dhc-card-title {
	font-size: 1.2rem !important;
	line-height: 1.35 !important;
}
.bz-dhc-card-desc {
	font-size: 0.95rem !important;
	line-height: 1.55 !important;
}
.bz-dhc-field label {
	font-size: 0.95rem !important;
	line-height: 1.4 !important;
}
.bz-dhc-field input,
.bz-dhc-field select {
	font-size: 1.05rem !important;
	padding: 0.8rem 0.9rem !important;
	line-height: 1.4 !important;
}
.bz-dhc-hint {
	font-size: 0.875rem !important;
}
.bz-dhc-btn {
	font-size: 1rem !important;
	padding: 0.85rem 1.4rem !important;
}
.bz-dhc-btn-primary {
	font-size: 1.1rem !important;
	padding: 1.05rem 1.5rem !important;
}
#bz-score-value {
	font-size: 2.5rem !important;
}
.bz-dhc-score-status {
	font-size: 1.5rem !important;
}
.bz-dhc-score-label {
	font-size: 0.95rem !important;
}
.bz-dhc-score-note {
	font-size: 0.875rem !important;
}
.bz-dhc-metric-value {
	font-size: 1.35rem !important;
}
.bz-dhc-metric-label {
	font-size: 0.85rem !important;
}
.bz-dhc-top-card .bz-dhc-metric-value {
	font-size: 1.4rem !important;
}
.bz-dhc-recommendations li,
.bz-dhc-alerts li,
.bz-dhc-quick-actions li {
	font-size: 0.95rem !important;
	line-height: 1.55 !important;
}
.bz-dhc-cta-mini,
.bz-dhc-cta-card,
.bz-dhc-inline-cta {
	font-size: 0.95rem !important;
}
.bz-dhc-cta-link {
	font-size: 0.95rem !important;
	padding: 0.5rem 0.95rem !important;
}
.bz-dhc-privacy {
	font-size: 0.9rem !important;
	line-height: 1.5 !important;
}
.bz-dhc-disclaimer {
	font-size: 0.875rem !important;
	line-height: 1.55 !important;
}
.bz-dhc-step-btn {
	font-size: 0.8rem !important;
}
.bz-dhc-live-value {
	font-size: 1rem !important;
}
.bz-dhc-live-label {
	font-size: 0.8rem !important;
}
.bz-priority-body {
	font-size: 0.95rem !important;
}
.bz-roadmap-item p {
	font-size: 0.95rem !important;
}
.bz-dhc-end-cta p {
	font-size: 1.1rem !important;
}
.bz-dhc-end-cta-sub {
	font-size: 0.95rem !important;
}
@media (max-width: 480px) {
	.bz-dhc-wrapper { font-size: 16px; }
	#bz-score-value { font-size: 2.25rem !important; }
	.bz-dhc-metric-value { font-size: 1.25rem !important; }
	.bz-dhc-btn-primary { font-size: 1.05rem !important; }
}
