/* Pregnancy Due Date — full-frame fill (same fix as BMR: kill max-height 260px). */

.pc-calc-shell[data-calculator="due-date"] .pc-diagram-formula {
	display: none !important;
}

.pc-calc-shell[data-calculator="due-date"] .pc-diagram-frame {
	height: auto;
	min-height: 0;
	max-height: none;
	aspect-ratio: 640 / 460;
	width: 100%;
}

.pc-calc-shell[data-calculator="due-date"] .pc-diagram.pc-due-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);
	position: relative;
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-select-wrap {
	display: block;
	width: 100%;
	margin: 0 0 0.85rem;
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-select-wrap .pc-shape-select {
	width: 100%;
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-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="due-date"] .pc-due-mode-note,
.pc-calc-shell[data-calculator="due-date"] .pc-due-hint,
.pc-calc-shell[data-calculator="due-date"] .pc-due-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="due-date"] .pc-due-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-multi {
	margin-top: 0.65rem;
}

@media (min-width: 921px) {
	.pc-calc-shell[data-calculator="due-date"] .pc-calc-views > .pc-result {
		margin-top: 0.35rem;
	}
}

/* —— Dash fills frame; SVG absolute like BMR —— */
.pc-calc-shell[data-calculator="due-date"] .pc-due-dash {
	position: relative;
	width: 100%;
	height: 100%;
}

.pc-calc-shell[data-calculator="due-date"] .pc-diagram svg,
.pc-calc-shell[data-calculator="due-date"] .pc-due-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="due-date"] .pc-due-svg-bg {
	fill: transparent;
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-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="due-date"] .pc-due-ring-track {
	stroke: rgba(161, 81, 237, 0.16);
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-arc {
	stroke: var(--pc-primary, #a151ed);
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-center-label {
	fill: #2dd4bf;
	font-size: 16px;
	font-weight: 700;
	font-family: var(--pc-font, system-ui, sans-serif);
	letter-spacing: 0.06em;
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-center-value {
	fill: var(--pc-navy, #f9fafb);
	font-size: 52px;
	font-weight: 800;
	font-family: var(--pc-font, system-ui, sans-serif);
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-center-unit {
	fill: var(--pc-navy);
	font-size: 16px;
	font-weight: 650;
	font-family: var(--pc-font, system-ui, sans-serif);
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-callout {
	fill: var(--pc-text);
	font-size: 16px;
	font-weight: 800;
	font-family: var(--pc-font, system-ui, sans-serif);
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-section-title {
	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="due-date"] .pc-due-size-fruit {
	fill: var(--pc-navy, #f9fafb);
	font-size: 18px;
	font-weight: 800;
	font-family: var(--pc-font, system-ui, sans-serif);
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-bar-track {
	fill: rgba(161, 81, 237, 0.14);
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-bar-fill {
	fill: #2dd4bf;
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-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="due-date"] .pc-due-fo {
	margin: 0;
	padding: 0;
	font-family: var(--pc-font, system-ui, sans-serif);
	color: var(--pc-navy);
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-mile {
	margin: 0 0 0.3rem;
	font-size: 15px;
	font-weight: 650;
	line-height: 1.35;
	color: var(--pc-navy);
}

.pc-calc-shell[data-calculator="due-date"] .pc-due-care {
	margin: 0;
	font-size: 14px;
	line-height: 1.35;
	color: var(--pc-text);
}

@media (max-width: 420px) {
	.pc-calc-shell[data-calculator="due-date"] .pc-due-center-value {
		font-size: 40px;
	}

	.pc-calc-shell[data-calculator="due-date"] .pc-due-row {
		grid-template-columns: 1fr;
	}
}
