/**
 * Birth Charts Suite shared front-end layer.
 * Loaded after the module stylesheet so every calculator uses the same visual
 * language while report-specific astrology styling stays intact.
 */

#zp-form-wrap,
#bh-form-wrap,
#zp-report-wrap,
#bh-report-wrap,
.lh-wrap,
.plh-wrap,
.pdh-wrap,
.wlh-wrap,
.pjh-wrap,
.lh-result,
.plh-result,
.pdh-result,
.wlh-result,
.pjh-result {
	--bcs-accent: var(--rl, #cd9a99);
	--bcs-cream: var(--cream, #f5f5f5);
	--bcs-border: var(--mid, #e8dfd8);
	--bcs-muted: var(--muted, #8a7d75);
	--bcs-ink: var(--ink, #1a1a1a);
	color: var(--bcs-ink);
	font-family: inherit;
	line-height: 1.55;
}

#zp-form-wrap .zp-form,
#bh-form-wrap .bh-form,
.lh-person-form,
.plh-person-form,
.pdh-person-form,
.wlh-person-form,
.pjh-person-form {
	box-sizing: border-box;
	background: var(--bcs-cream);
	border: 1px solid var(--bcs-border);
	border-radius: 4px;
	padding: clamp(18px, 4vw, 32px);
}

#zp-form-wrap input,
#zp-form-wrap select,
#bh-form-wrap input,
#bh-form-wrap select,
.lh-wrap input,
.lh-wrap select,
.plh-wrap input,
.plh-wrap select,
.pdh-wrap input,
.pdh-wrap select,
.wlh-wrap input,
.wlh-wrap select,
.pjh-wrap input,
.pjh-wrap select,
.bcs-profile-select {
	font-family: inherit;
}

#zp-birthreport-form .zp-input-text,
#zp-birthreport-form select,
#bh-birthreport-form .bh-input-text,
#bh-birthreport-form select,
.lh-form .lh-text,
.lh-form select,
.plh-form .plh-text,
.plh-form select,
.pdh-form .pdh-text,
.pdh-form select,
.wlh-form .wlh-text,
.wlh-form select,
.pjh-form .pjh-text,
.pjh-form select,
.bcs-profile-select {
	box-sizing: border-box;
	min-height: 44px;
	border: 1px solid var(--bcs-border, #e8dfd8);
	border-radius: 3px;
	background: #fff;
	color: var(--bcs-ink, #1a1a1a);
	padding: 9px 11px;
}

#zp-birthreport-form .zp-input-text:focus,
#zp-birthreport-form select:focus,
#bh-birthreport-form .bh-input-text:focus,
#bh-birthreport-form select:focus,
.lh-form input:focus,
.lh-form select:focus,
.plh-form input:focus,
.plh-form select:focus,
.pdh-form input:focus,
.pdh-form select:focus,
.wlh-form input:focus,
.wlh-form select:focus,
.pjh-form input:focus,
.pjh-form select:focus,
.bcs-profile-select:focus {
	border-color: var(--bcs-accent, #cd9a99);
	outline: 3px solid var(--bcs-accent, #cd9a99);
	outline-offset: 2px;
	box-shadow: none;
}

form.zp-form .zp-button,
form.bh-form .bh-button,
.lh-form .lh-submit,
.plh-form .plh-submit,
.pdh-form .pdh-submit,
.wlh-form .wlh-submit,
.pjh-form .pjh-submit {
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--bcs-ink, #1a1a1a);
	border-radius: 3px;
	background: var(--bcs-ink, #1a1a1a);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	letter-spacing: .01em;
	line-height: 1.2;
	padding: 12px 18px;
	text-align: center;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

form.zp-form .zp-button:hover,
form.zp-form .zp-button:focus-visible,
form.bh-form .bh-button:hover,
form.bh-form .bh-button:focus-visible,
.lh-form .lh-submit:hover,
.lh-form .lh-submit:focus-visible,
.plh-form .plh-submit:hover,
.plh-form .plh-submit:focus-visible,
.pdh-form .pdh-submit:hover,
.pdh-form .pdh-submit:focus-visible,
.wlh-form .wlh-submit:hover,
.wlh-form .wlh-submit:focus-visible,
.pjh-form .pjh-submit:hover,
.pjh-form .pjh-submit:focus-visible {
	border-color: var(--bcs-accent, #cd9a99);
	background: var(--bcs-accent, #cd9a99);
	color: var(--bcs-ink, #1a1a1a);
}

form.zp-form .zp-button:focus-visible,
form.bh-form .bh-button:focus-visible,
.lh-form .lh-submit:focus-visible,
.plh-form .plh-submit:focus-visible,
.pdh-form .pdh-submit:focus-visible,
.wlh-form .wlh-submit:focus-visible,
.pjh-form .pjh-submit:focus-visible {
	outline: 3px solid var(--bcs-accent, #cd9a99);
	outline-offset: 2px;
}

form.zp-form .zp-button:active,
form.bh-form .bh-button:active,
.lh-form .lh-submit:active,
.plh-form .plh-submit:active,
.pdh-form .pdh-submit:active,
.wlh-form .wlh-submit:active,
.pjh-form .pjh-submit:active {
	transform: translateY(1px);
}

form.zp-form .zp-button[disabled],
form.bh-form .bh-button[disabled],
.lh-form .lh-submit[disabled],
.plh-form .plh-submit[disabled],
.pdh-form .pdh-submit[disabled],
.wlh-form .wlh-submit[disabled],
.pjh-form .pjh-submit[disabled] {
	border-color: var(--bcs-border, #e8dfd8);
	background: #e4e0dd;
	color: #514a46;
	cursor: not-allowed;
	opacity: 1;
	transform: none;
}

.lh-actions,
.plh-actions,
.pdh-actions,
.wlh-actions,
.pjh-actions,
#zp-submit-wrap,
#bh-submit-wrap {
	margin-top: 24px;
}

.lh-error,
.plh-error,
.pdh-error,
.wlh-error,
.pjh-error,
.ui-state-error {
	display: block;
	margin-top: 12px;
	border: 1px solid #b3261e;
	border-radius: 3px;
	background: #fff4f2;
	color: #7f1d1d;
	padding: 9px 11px;
}

.lh-error:empty,
.plh-error:empty,
.pdh-error:empty,
.wlh-error:empty,
.pjh-error:empty {
	display: none;
}

.lh-suggest,
.plh-suggest,
.pdh-suggest,
.wlh-suggest,
.pjh-suggest,
#autoComplete_results_list {
	z-index: 20;
	box-sizing: border-box;
	width: 100%;
	max-height: 240px;
	margin: 2px 0 0;
	padding: 0;
	overflow-y: auto;
	border: 1px solid var(--bcs-border, #e8dfd8);
	border-radius: 3px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(26, 26, 26, .12);
	color: var(--bcs-ink, #1a1a1a);
	font-family: inherit;
}

.lh-suggest li,
.plh-suggest li,
.pdh-suggest li,
.wlh-suggest li,
.pjh-suggest li,
#autoComplete_results_list .autoComplete_result {
	margin: 0;
	border: 0;
	border-bottom: 1px solid var(--bcs-border, #e8dfd8);
	padding: 9px 11px;
	list-style: none;
}

.lh-suggest li:last-child,
.plh-suggest li:last-child,
.pdh-suggest li:last-child,
.wlh-suggest li:last-child,
.pjh-suggest li:last-child,
#autoComplete_results_list .autoComplete_result:last-child {
	border-bottom: 0;
}

.lh-suggest li:hover,
.lh-suggest li[aria-selected="true"],
.plh-suggest li:hover,
.plh-suggest li[aria-selected="true"],
.pdh-suggest li:hover,
.pdh-suggest li[aria-selected="true"],
.wlh-suggest li:hover,
.wlh-suggest li[aria-selected="true"],
.pjh-suggest li:hover,
.pjh-suggest li[aria-selected="true"],
#autoComplete_results_list .autoComplete_result:hover,
#autoComplete_results_list .autoComplete_result:focus {
	background: var(--bcs-cream, #f5f5f5);
	color: var(--bcs-ink, #1a1a1a);
}

.lh-result,
.plh-result,
.pdh-result,
.wlh-result,
.pjh-result,
#zp-report-wrap,
#bh-report-wrap {
	scroll-margin-top: 24px;
}

@media (max-width: 727px) {
	#zp-form-wrap .zp-form,
	#bh-form-wrap .bh-form,
	.lh-person-form,
	.plh-person-form,
	.pdh-person-form,
	.wlh-person-form,
	.pjh-person-form {
		padding: 18px;
	}

	.lh-row,
	.plh-row,
	.pdh-row,
	.wlh-row,
	.pjh-row {
		gap: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	form.zp-form .zp-button,
	form.bh-form .bh-button,
	.lh-form .lh-submit,
	.plh-form .plh-submit,
	.pdh-form .pdh-submit,
	.wlh-form .wlh-submit,
	.pjh-form .pjh-submit {
		transition: none;
	}
}

/* ── Uitleg onder een (nog) uitgeschakelde verzendknop ─────────────────── */

.bcs-submit-hint {
	display: block;
	margin-top: 8px;
	color: var(--bcs-muted, #8a7d75);
	font-size: .85em;
	line-height: 1.5;
}

/* ── Astrologische samenvatting met glyphs ─────────────────────────────── */

.bcs-summary {
	margin: 1.4rem 0 1.9rem;
	border: 1px solid var(--bcs-border, #e8dfd8);
	background: var(--bcs-cream, #f5f5f5);
	padding: 1rem 1.15rem 1.15rem;
}

.bcs-summary-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .1rem 1.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bcs-summary-list li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .45em;
	margin: 0;
	padding: .34rem 0;
	line-height: 1.5;
}

.zp-sum-glyph,
.bh-sum-glyph {
	display: inline-block;
	width: 1.5em;
	text-align: center;
	color: var(--bcs-accent, #cd9a99);
	font-size: 1.05em;
	line-height: 1;
}

.zp-sum-planet,
.bh-sum-planet {
	min-width: 5.8em;
	font-weight: 700;
}

.zp-sum-pos,
.bh-sum-pos {
	flex: 1;
	min-width: 0;
}

.zp-sum-sign-glyph,
.bh-sum-sign-glyph {
	color: var(--bcs-accent, #cd9a99);
}

.zp-sum-house,
.bh-sum-house {
	color: var(--bcs-muted, #8a7d75);
	font-size: .85em;
	white-space: nowrap;
}

.zp-sum-note,
.bh-sum-note,
.zp-sum-retro,
.bh-sum-retro {
	color: var(--bcs-muted, #8a7d75);
	font-size: .85em;
	font-style: italic;
}

.bcs-summary-note {
	margin: .7rem 0 0;
	color: var(--bcs-muted, #8a7d75);
	font-size: .85em;
	font-style: italic;
}

.bcs-summary-actions {
	margin: .9rem 0 0;
}

.bcs-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 727px) {
	.bcs-summary-list {
		grid-template-columns: 1fr;
	}
}

/* Birth report 1.8.1: open editorial reading hierarchy. */

#zp-report-wrap.zp-report-birthreport {
	width: min(100%, 820px);
}

#zp-report-wrap .zp-report-header {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

#zp-report-wrap .zp-report-caption {
	font-size: 1.05rem;
	padding: .75rem 1rem .35rem;
}

#zp-report-wrap .zp-report-header td,
#zp-report-wrap .zp-report-header td:first-child {
	padding-left: 1rem;
	padding-right: 1rem;
}

#zp-report-wrap .zp-report-intro,
#zp-report-wrap .zp-report-closing {
	margin: 1.75rem 0;
}

#zp-report-wrap .zp-report-section-title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: clamp(1.35rem, 3vw, 1.8rem);
	line-height: 1.25;
}

#zp-report-wrap .zp-report-group {
	margin: 3rem 0 0;
}

#zp-report-wrap .zp-report-group + .zp-report-group {
	padding-top: 2.5rem;
	border-top: 1px solid var(--bcs-border, #e8dfd8);
}

#zp-report-wrap .zp-report-group-header {
	margin-bottom: 1rem;
}

#zp-report-wrap .zp-report-group-intro {
	max-width: 68ch;
	margin: .45rem 0 0;
	color: var(--bcs-muted, #8a7d75);
	font-size: .95rem;
}

#zp-report-wrap .zp-report-card-list {
	display: block;
}

#zp-report-wrap .zp-interpretation-card {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid var(--bcs-border, #e8dfd8);
	background: #fff;
}

#zp-report-wrap .zp-interpretation-card:last-child {
	border-bottom: 1px solid var(--bcs-border, #e8dfd8);
}

#zp-report-wrap .zp-card-header {
	display: flex;
	align-items: flex-start;
	gap: .85rem;
	box-sizing: border-box;
	padding: 1.25rem 0 .75rem;
}

#zp-report-wrap .zp-more-aspects > summary::-webkit-details-marker {
	display: none;
}

#zp-report-wrap .zp-more-aspects > summary::marker {
	content: "";
}

#zp-report-wrap .zp-more-aspects > summary:focus-visible {
	outline: 3px solid var(--bcs-accent, #cd9a99);
	outline-offset: 2px;
}

#zp-report-wrap .zp-card-glyph {
	flex: 0 0 1.65rem;
	color: var(--bcs-accent, #cd9a99);
	font-size: 1.3rem;
	line-height: 1;
	text-align: center;
}

#zp-report-wrap .zp-card-heading {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: .2rem;
	min-width: 0;
}

#zp-report-wrap .zp-card-title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: clamp(1.1rem, 2.4vw, 1.28rem);
	font-weight: 700;
	line-height: 1.35;
}

#zp-report-wrap .zp-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem .75rem;
	color: var(--bcs-muted, #8a7d75);
	font-size: .82rem;
	font-weight: 400;
}

#zp-report-wrap .zp-card-degree {
	display: inline-flex;
	align-items: baseline;
}

#zp-report-wrap .zp-card-body {
	padding: 0 0 1.75rem 2.5rem;
}

#zp-report-wrap .zp-card-body > :first-child,
#zp-report-wrap .zp-card-body > :first-child > :first-child {
	margin-top: 0;
}

#zp-report-wrap .zp-card-body > :last-child,
#zp-report-wrap .zp-card-body > :last-child > :last-child {
	margin-bottom: 0;
}

#zp-report-wrap .zp-card-body p,
#zp-report-wrap .zp-card-body li {
	line-height: 1.75;
}

#zp-report-wrap .zp-planet-meaning {
	margin: 0 0 1rem;
	border-left: 3px solid var(--bcs-accent, #cd9a99);
	background: var(--bcs-cream, #f5f5f5);
	padding: .75rem .85rem;
	color: var(--bcs-muted, #8a7d75);
	font-size: .92rem;
	font-style: normal;
}

#zp-report-wrap .zp-card-house-meaning {
	margin-top: 1.25rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--bcs-border, #e8dfd8);
}

#zp-report-wrap .zp-card-subtitle {
	margin: 0 0 .65rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

#zp-report-wrap .zp-ingress-note,
#zp-report-wrap .zp-cusp-note {
	margin: .9rem 0;
	border: 1px solid var(--bcs-border, #e8dfd8);
	background: var(--bcs-cream, #f5f5f5);
	padding: .75rem .85rem;
	color: var(--bcs-muted, #8a7d75);
	font-size: .9rem;
}

#zp-report-wrap .zp-aspect-card .zp-orb {
	display: inline-block;
	margin-left: .25rem;
	color: var(--bcs-muted, #8a7d75);
	font-size: .78rem;
	font-style: normal;
	font-weight: 400;
}

#zp-report-wrap .zp-aspect-card .zp-card-body {
	padding-left: 0;
}

#zp-report-wrap .zp-more-aspects {
	margin-top: .25rem;
}

#zp-report-wrap .zp-more-aspects > summary {
	box-sizing: border-box;
	min-height: 46px;
	border: 1px dashed var(--bcs-border, #e8dfd8);
	border-radius: 4px;
	background: var(--bcs-cream, #f5f5f5);
	cursor: pointer;
	list-style: none;
	padding: .7rem 1rem;
	font-weight: 700;
}

#zp-report-wrap .zp-more-aspects-body {
	display: block;
	margin-top: .75rem;
}

@media (max-width: 600px) {
	#zp-report-wrap .zp-report-group {
		margin-top: 2.4rem;
	}

	#zp-report-wrap .zp-report-group + .zp-report-group {
		padding-top: 2rem;
	}

	#zp-report-wrap .zp-card-header {
		gap: .65rem;
		padding: 1.1rem 0 .65rem;
	}

	#zp-report-wrap .zp-card-glyph {
		flex-basis: 1.4rem;
		font-size: 1.15rem;
	}

	#zp-report-wrap .zp-card-title {
		font-size: 1.08rem;
	}

	#zp-report-wrap .zp-card-body {
		padding-left: 0;
		padding-bottom: 1.5rem;
	}
}

/* ── Rapport-knoppen: PDF/afdrukken en kopiëren ────────────────────────── */

.bcs-report-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 1rem 0 1.4rem;
}

.bcs-tool-btn,
.bcs-copy-btn {
	appearance: none;
	box-sizing: border-box;
	min-height: 44px;
	border: 1px solid var(--bcs-ink, #1a1a1a);
	border-radius: 3px;
	background: #fff;
	color: var(--bcs-ink, #1a1a1a);
	cursor: pointer;
	font: inherit;
	font-size: .92em;
	line-height: 1.2;
	padding: 10px 16px;
	text-align: center;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.bcs-tool-btn:hover,
.bcs-tool-btn:focus-visible,
.bcs-copy-btn:hover,
.bcs-copy-btn:focus-visible {
	border-color: var(--bcs-accent, #cd9a99);
	background: var(--bcs-accent, #cd9a99);
	color: var(--bcs-ink, #1a1a1a);
}

.bcs-tool-btn:focus-visible,
.bcs-copy-btn:focus-visible {
	outline: 3px solid var(--bcs-accent, #cd9a99);
	outline-offset: 2px;
}

.bcs-edit-data {
	margin-left: auto;
	border-color: transparent;
	background: transparent;
	color: var(--bcs-ink, #1a1a1a);
	text-decoration: underline;
	text-underline-offset: .18em;
}

.bcs-edit-data:hover,
.bcs-edit-data:focus-visible {
	border-color: transparent;
	background: var(--bcs-cream, #f5f5f5);
	color: var(--bcs-ink, #1a1a1a);
}

.bcs-form-collapsed {
	display: none !important;
}

.zp-report-backlink[hidden],
.bh-report-backlink[hidden] {
	display: none !important;
}

@media (max-width: 480px) {
	.bcs-report-tools {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.bcs-tool-btn {
		width: 100%;
	}

	.bcs-edit-data {
		grid-column: 1 / -1;
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bcs-tool-btn,
	.bcs-copy-btn {
		transition: none;
	}
}

/* ── Horoscooptekening en meldingen ────────────────────────────────────── */

.zp-chart-drawing,
.bh-chart-drawing {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1em auto;
}

.bcs-drawing-note {
	color: var(--bcs-muted, #8a7d75);
	font-style: italic;
}

/* ── Afdrukken / opslaan als PDF ───────────────────────────────────────── */

@media print {
	/* Nooit mee afdrukken, ook niet bij een handmatige Ctrl+P. */
		.bcs-report-tools,
		.bcs-summary-actions,
		.bcs-submit-hint,
		.bcs-profile-toast,
		.zp-report-backlink,
		.bh-report-backlink,
		#zp-form-wrap,
		#bh-form-wrap,
		.lh-form,
		.plh-form,
		.pdh-form,
		.wlh-form,
		.pjh-form {
			display: none !important;
		}

		/* De PDF-knop maakt een tijdelijke, zelfstandige kopie van het rapport.
		   Zo blijven verborgen pagina-elementen niet als lege printpagina's staan. */
		html.bcs-printing body > *:not(.bcs-print-root) {
			display: none !important;
		}

		html.bcs-printing .bcs-print-root {
			display: block !important;
			position: static;
			width: 100%;
			margin: 0;
		padding: 0;
		background: #fff;
	}

	.bcs-print-target {
		color: #000;
	}

	.bcs-summary {
		background: #fff;
		border-color: #bbb;
	}

	#zp-report-wrap details > .zp-card-body,
	#zp-report-wrap details > .zp-more-aspects-body {
		display: block !important;
	}

	#zp-report-wrap .zp-interpretation-card,
	#zp-report-wrap .zp-more-aspects {
		break-inside: avoid-page;
	}

	#zp-report-wrap .zp-more-aspects > summary {
		border-style: solid;
	}

		.bcs-summary-list li,
		.zp-report-header,
		.bh-report-header {
			break-inside: avoid;
		}

		.bcs-print-target h1,
		.bcs-print-target h2,
		.bcs-print-target h3,
		.bcs-print-target .zp-report-section-title,
		.bcs-print-target .bh-report-section-title,
		.bcs-print-target .lh-section-title,
		.bcs-print-target .plh-section-title,
		.bcs-print-target .pdh-section-title,
		.bcs-print-target .wlh-section-title,
		.bcs-print-target .pjh-section-title {
			break-after: avoid-page;
		}

		.bcs-print-target p,
		.bcs-print-target li {
			orphans: 3;
			widows: 3;
		}

		.bcs-print-target .lh-aspect,
		.bcs-print-target .plh-aspect,
		.bcs-print-target .pdh-aspect,
		.bcs-print-target .pdh-event,
		.bcs-print-target .wlh-aspect,
		.bcs-print-target .pjh-item {
			break-inside: avoid-page;
		}

	.zp-chart-drawing,
	.bh-chart-drawing {
		max-width: 82%;
		break-inside: avoid;
	}
}

/* ── Rapportkop en offset-tekst in het sitepalet ───────────────────────────
   De oude ZodiacPress-kleuren (grijs #e9e9e9-vlak, groene offset-tekst)
   detoneerden naast de samenvatting en knoppen; gelijkgetrokken met de
   thema-variabelen. */

#zp-report-wrap .zp-report-header,
#zp-report-wrap .zp-report-caption,
#bh-report-wrap .bh-report-header,
#bh-report-wrap .bh-report-caption {
	border-color: var(--bcs-border, #e8dfd8);
	background: var(--bcs-cream, #f5f5f5);
}

#zp-offset-label,
#zp-offset-wrap #zp_offset_geo,
#bh-offset-label,
#bh-offset-wrap #bh_offset_geo {
	color: var(--bcs-ink, #1a1a1a);
}

/* ── UTC-offset verbergen (1.6.1) ──────────────────────────────────────────
   De offset is nodig voor de berekening (lokale tijd -> UT voor de
   ephemeris) en wordt automatisch bepaald uit plaats + datum, inclusief
   historische zomertijd. Tonen voegt voor bezoekers alleen jargon toe.
   De velden blijven gewoon in het formulier staan en worden meegestuurd;
   ze zijn enkel onzichtbaar. Weer zichtbaar maken kan met dezelfde
   selector + display:block !important in de Customizer-CSS. */

#zp-offset-wrap,
#zp-form-tip,
#bh-offset-wrap,
#bh-form-tip {
	display: none !important;
}

/* ── Nettere veldindeling (1.6.1): datum en tijd naast elkaar ─────────────
   Dag/maand/jaar op een rij, uur/minuut op een rij, labels erboven. */

form.zp-form fieldset.zp-birthdate,
form.zp-form fieldset.zp-birthtime,
form.bh-form fieldset.bh-birthdate,
form.bh-form fieldset.bh-birthtime {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	border: 0;
	margin: 0 0 20px;
	padding: 0;
	min-width: 0;
}

form.zp-form fieldset.zp-birthdate legend,
form.zp-form fieldset.zp-birthtime legend,
form.bh-form fieldset.bh-birthdate legend,
form.bh-form fieldset.bh-birthtime legend {
	width: 100%;
	margin: 0 0 6px;
	padding: 0;
	font-weight: 600;
}

form.zp-form fieldset.zp-birthdate select,
form.bh-form fieldset.bh-birthdate select {
	flex: 1 1 30%;
	min-width: 0;
}

form.zp-form fieldset.zp-birthtime select,
form.bh-form fieldset.bh-birthtime select {
	flex: 1 1 40%;
	min-width: 0;
}

form.zp-form .zp-unknown-time-field,
form.bh-form .bh-unknown-time-field,
form.zp-form #zp-daypart-wrap,
form.bh-form #bh-daypart-wrap {
	flex-basis: 100%;
	margin: 4px 0 0;
}

/* Labels boven de invoervelden (naam, geboorteplaats) */

form.zp-form .zp-form-label,
form.bh-form .bh-form-label {
	display: block;
	margin: 0 0 6px;
	font-weight: 600;
}

form.zp-form .zp-input-text-wrap,
form.bh-form .bh-input-text-wrap {
	display: block;
}

form.zp-form .zp-input-text,
form.bh-form .bh-input-text {
	width: 100%;
}

/* ── Onderste knoppenbalk (1.6.1) ─────────────────────────────────────── */

.bcs-report-tools-bottom {
	margin: 1.8rem 0 0;
	padding-top: 1.1rem;
	border-top: 1px solid var(--bcs-border, #e8dfd8);
}

/* De gewone geboortehoroscoop eindigt met één duidelijke bewaarsectie. */
#zp-report-content > .bcs-birth-save-panel {
	display: block;
	box-sizing: border-box;
	margin: 3rem 0 0;
	padding: 1.25rem;
	border: 1px solid var(--bcs-border, #e8dfd8);
	border-left: 4px solid var(--bcs-accent, #cd9a99);
	border-radius: 4px;
	background: var(--bcs-cream, #f5f5f5);
}

#zp-report-content .bcs-report-tools-title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.35;
}

#zp-report-content .bcs-report-tools-help {
	margin: .35rem 0 1rem;
	color: var(--bcs-muted, #8a7d75);
	font-size: .92rem;
	line-height: 1.55;
}

#zp-report-content .bcs-report-save-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .7rem;
}

#zp-report-content .bcs-report-save-actions .bcs-tool-btn {
	width: 100%;
}

#zp-report-content .bcs-report-save-actions .bcs-print-report {
	border-color: var(--bcs-ink, #1a1a1a);
	background: var(--bcs-ink, #1a1a1a);
	color: #fff;
}

#zp-report-content .bcs-report-save-actions .bcs-print-report:hover,
#zp-report-content .bcs-report-save-actions .bcs-print-report:focus-visible {
	border-color: var(--bcs-accent, #cd9a99);
	background: var(--bcs-accent, #cd9a99);
	color: var(--bcs-ink, #1a1a1a);
}

#zp-report-content .bcs-report-save-actions .bcs-edit-data {
	grid-column: 1 / -1;
	width: auto;
	min-height: 38px;
	margin: .1rem auto 0;
	padding: 7px 12px;
}

@media (max-width: 540px) {
	#zp-report-content > .bcs-birth-save-panel {
		display: block;
		padding: 1rem;
	}

	#zp-report-content .bcs-report-save-actions {
		grid-template-columns: 1fr;
	}

	#zp-report-content .bcs-report-save-actions .bcs-edit-data {
		grid-column: auto;
	}
}
