/* BMI Calculator (Health) — neon meter + bar (3D-style diagram bg, no silhouettes). */

.pc-calc-shell[data-calculator="bmi"] .pc-diagram-formula {
	display: none !important;
}

.pc-calc-shell[data-calculator="bmi"] .pc-diagram-frame {
	height: auto;
	min-height: 0;
	max-height: none;
	aspect-ratio: 640 / 400;
	width: 100%;
}

.pc-calc-shell[data-calculator="bmi"] .pc-diagram.pc-bmi-gauge-wrap {
	display: block;
	padding: 0;
	min-height: 0;
	height: 100%;
	overflow: hidden;
	/* Same soft primary mix as other calculator / 3D diagram panels */
	background: var(--pc-diagram-bg);
	border: 1px solid var(--pc-border);
	border-radius: var(--pc-radius-sm);
}

/* —— Dropdowns —— */
.pc-calc-shell[data-calculator="bmi"] .pc-bmi-select-wrap {
	display: block;
	width: 100%;
	margin: 0 0 0.85rem;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-select-wrap--full {
	width: 100%;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-select-wrap--full .pc-shape-select {
	width: 100%;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-select-wrap > .pc-field-label {
	display: block;
	margin: 0 0 0.4rem;
	font-size: 13px;
	font-weight: 650;
	color: var(--pc-navy, #f9fafb);
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-mode-note,
.pc-calc-shell[data-calculator="bmi"] .pc-bmi-hint,
.pc-calc-shell[data-calculator="bmi"] .pc-bmi-disclaimer {
	margin: 0.35rem 0 0.65rem;
	font-size: 0.75rem;
	line-height: 1.45;
	color: var(--pc-muted, #9ca3af);
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-multi {
	margin-top: 0.65rem;
}

.pc-calc-shell[data-calculator="bmi"] .pc-result.is-filled {
	border-color: color-mix(in srgb, var(--pc-bmi-accent, var(--pc-primary)) 55%, transparent);
}

@media (min-width: 921px) {
	.pc-calc-shell[data-calculator="bmi"] .pc-calc-views > .pc-result {
		margin-top: 0.35rem;
	}
}

/* —— SVG —— */
.pc-calc-shell[data-calculator="bmi"] .pc-bmi-dash {
	position: relative;
	width: 100%;
	height: 100%;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-svg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	max-height: none;
}

/* 3D GridHelper-like floor (0x5a3a7a / 0x2a2a2a vibe) */
.pc-calc-shell[data-calculator="bmi"] .pc-bmi-floor-line {
	stroke: rgba(90, 58, 122, 0.45);
	stroke-width: 1;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-neon-rim {
	stroke: #c084fc;
	stroke-width: 3.5;
	stroke-linecap: round;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-neon-rim-inner {
	stroke: rgba(216, 180, 254, 0.5);
	stroke-width: 1.5;
	stroke-linecap: round;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-arc-seg {
	filter: none;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-inner-track {
	stroke: rgba(168, 85, 247, 0.32);
	stroke-width: 10;
	stroke-linecap: butt;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-gauge-tick {
	stroke: rgba(255, 255, 255, 0.35);
	stroke-width: 1;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-gauge-tick.is-major {
	stroke: rgba(255, 255, 255, 0.75);
	stroke-width: 1.35;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-arc-label {
	fill: #ffffff;
	font-weight: 800;
	font-family: var(--pc-font, system-ui, sans-serif);
	letter-spacing: 0.03em;
	pointer-events: none;
	paint-order: stroke fill;
	stroke: rgba(0, 0, 0, 0.28);
	stroke-width: 0.55px;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-arc-label--range {
	font-weight: 650;
	fill: rgba(255, 255, 255, 0.95);
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-needle {
	fill: #c084fc;
	stroke: #f3e8ff;
	stroke-width: 1.25;
	filter: none;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-hub {
	fill: #a855f7;
	stroke: #f3e8ff;
	stroke-width: 2.5;
	filter: none;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-hub-core {
	fill: #faf5ff;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-center-value {
	fill: #ffffff;
	font-size: 53px;
	font-weight: 800;
	font-family: var(--pc-font, system-ui, sans-serif);
	paint-order: stroke fill;
	stroke: rgba(10, 6, 18, 0.8);
	stroke-width: 4px;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-center-cat {
	font-size: 18px;
	font-weight: 750;
	font-family: var(--pc-font, system-ui, sans-serif);
	letter-spacing: 0.04em;
	paint-order: stroke fill;
	stroke: rgba(10, 6, 18, 0.75);
	stroke-width: 3px;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-scale-frame {
	fill: none;
	stroke: #c084fc;
	stroke-width: 2.5;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-scale-track {
	fill: #140a1f;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-scale-fill {
	filter: none;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-tick {
	stroke: rgba(255, 255, 255, 0.4);
	stroke-width: 1.25;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-tick.is-major {
	stroke: rgba(255, 255, 255, 0.85);
	stroke-width: 1.5;
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-scale-num {
	fill: #e4e4e7;
	font-size: 13px;
	font-weight: 650;
	font-family: var(--pc-font, system-ui, sans-serif);
}

.pc-calc-shell[data-calculator="bmi"] .pc-bmi-scale-arrow {
	fill: #c084fc;
	filter: none;
}

/* Only the moving bar marker keeps a glow */
.pc-calc-shell[data-calculator="bmi"] .pc-bmi-scale-knob {
	fill: #fff;
	stroke: #c084fc;
	stroke-width: 3;
	filter: drop-shadow(0 0 7px rgba(192, 132, 252, 1));
}

@media (max-width: 420px) {
	.pc-calc-shell[data-calculator="bmi"] .pc-bmi-row {
		grid-template-columns: 1fr;
	}

	.pc-calc-shell[data-calculator="bmi"] .pc-bmi-center-value {
		font-size: 43px;
	}
}
