/* BMR Calculator (Health) — energy ring + TDEE stack + formula compare. */

.pc-calc-shell[data-calculator="bmr"] .pc-diagram-formula {
	display: none !important;
}

.pc-calc-shell[data-calculator="bmr"] .pc-diagram-frame {
	height: auto;
	min-height: 0;
	max-height: none;
	aspect-ratio: 640 / 520;
	width: 100%;
}

.pc-calc-shell[data-calculator="bmr"] .pc-diagram.pc-bmr-diagram {
	display: block;
	padding: 0;
	min-height: 0;
	height: 100%;
	overflow: hidden;
	background: var(--pc-diagram-bg);
	border: 1px solid var(--pc-border);
	border-radius: var(--pc-radius-sm);
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-select-wrap {
	display: block;
	width: 100%;
	margin: 0 0 0.85rem;
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-select-wrap .pc-shape-select {
	width: 100%;
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-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="bmr"] .pc-bmr-mode-note,
.pc-calc-shell[data-calculator="bmr"] .pc-bmr-hint,
.pc-calc-shell[data-calculator="bmr"] .pc-bmr-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="bmr"] .pc-bmr-multi {
	margin-top: 0.65rem;
}

@media (min-width: 921px) {
	.pc-calc-shell[data-calculator="bmr"] .pc-calc-views > .pc-result {
		margin-top: 0.35rem;
	}
}

/* —— SVG shell —— */
.pc-calc-shell[data-calculator="bmr"] .pc-bmr-dash {
	position: relative;
	width: 100%;
	height: 100%;
}

/* Shared .pc-diagram svg { max-height: 260px } — kill it so SVG fills the frame. */
.pc-calc-shell[data-calculator="bmr"] .pc-diagram svg,
.pc-calc-shell[data-calculator="bmr"] .pc-bmr-svg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-svg-bg {
	fill: transparent;
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-eyebrow {
	fill: var(--pc-navy);
	font-size: 18px;
	font-weight: 700;
	font-family: var(--pc-font, system-ui, sans-serif);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-ring-track {
	stroke: rgba(161, 81, 237, 0.16);
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-arc--bmr {
	stroke: var(--pc-primary, #a151ed);
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-arc--act {
	stroke: #2dd4bf;
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-center-label {
	fill: var(--pc-primary, #a151ed);
	font-size: 18px;
	font-weight: 800;
	font-family: var(--pc-font, system-ui, sans-serif);
	letter-spacing: 0.18em;
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-center-value {
	fill: var(--pc-navy, #f9fafb);
	font-size: 56px;
	font-weight: 800;
	font-family: var(--pc-font, system-ui, sans-serif);
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-center-unit {
	fill: var(--pc-navy);
	font-size: 17px;
	font-weight: 650;
	font-family: var(--pc-font, system-ui, sans-serif);
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-center-sub {
	fill: var(--pc-navy);
	font-size: 16px;
	font-weight: 700;
	font-family: var(--pc-font, system-ui, sans-serif);
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-callout-pct {
	fill: var(--pc-navy, #f9fafb);
	font-size: 22px;
	font-weight: 800;
	font-family: var(--pc-font, system-ui, sans-serif);
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-callout-lbl {
	fill: var(--pc-navy);
	font-size: 15px;
	font-weight: 700;
	font-family: var(--pc-font, system-ui, sans-serif);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-section-title {
	fill: var(--pc-navy);
	font-size: 16px;
	font-weight: 700;
	font-family: var(--pc-font, system-ui, sans-serif);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-tdee-total {
	fill: var(--pc-navy, #f9fafb);
	font-size: 20px;
	font-weight: 800;
	font-family: var(--pc-font, system-ui, sans-serif);
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-bar-track {
	fill: rgba(161, 81, 237, 0.14);
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-bar-bmr,
.pc-calc-shell[data-calculator="bmr"] .pc-bmr-swatch-bmr {
	fill: var(--pc-primary, #a151ed);
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-bar-act,
.pc-calc-shell[data-calculator="bmr"] .pc-bmr-swatch-act {
	fill: #2dd4bf;
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-legend-txt {
	fill: var(--pc-navy, #f9fafb);
	font-size: 17px;
	font-weight: 700;
	font-family: var(--pc-font, system-ui, sans-serif);
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-legend-muted {
	fill: var(--pc-navy);
	font-size: 16px;
	font-weight: 650;
	font-family: var(--pc-font, system-ui, sans-serif);
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-cmp-lbl {
	fill: var(--pc-navy);
	font-size: 16px;
	font-weight: 700;
	font-family: var(--pc-font, system-ui, sans-serif);
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-cmp-val {
	fill: var(--pc-navy, #f9fafb);
	font-size: 17px;
	font-weight: 800;
	font-family: var(--pc-font, system-ui, sans-serif);
}

.pc-calc-shell[data-calculator="bmr"] .pc-bmr-cmp-fill {
	fill: color-mix(in srgb, var(--pc-primary, #a151ed) 75%, #fff 10%);
}

@media (max-width: 420px) {
	.pc-calc-shell[data-calculator="bmr"] .pc-bmr-center-value {
		font-size: 40px;
	}
}
