/* LD24 Planning Support — banner and email builder.
   Colours follow the Elementor kit (post-6): orange #FF7300, accent #FFA300, black. */

.ld24ps-banner,
.ld24ps {
	--ld24ps-orange: #ff7300;
	--ld24ps-orange-dark: #c25700;
	--ld24ps-ink: #111;
	--ld24ps-muted: #555;
	--ld24ps-line: #d9d9d9;
	--ld24ps-soft: #fff6ee;
}

/* Banner --------------------------------------------------------------- */

.ld24ps-banner {
	background: #000;
	color: #fff;
	border-bottom: 3px solid var(--ld24ps-orange);
	font-size: 15px;
	line-height: 1.45;
}

.ld24ps-banner[hidden] {
	display: none;
}

.ld24ps-banner__inner {
	display: flex;
	align-items: center;
	gap: 12px 20px;
	max-width: 1140px;
	margin: 0 auto;
	padding: 10px 48px 10px 16px;
	position: relative;
}

.ld24ps-banner__text {
	margin: 0;
	flex: 1 1 auto;
}

.ld24ps-banner__text strong {
	color: var(--ld24ps-orange);
}

.ld24ps-banner .ld24ps-banner__cta,
.ld24ps-banner .ld24ps-banner__cta:visited {
	flex: 0 0 auto;
	background: var(--ld24ps-orange);
	color: #000;
	font-weight: 700;
	text-decoration: none;
	padding: 8px 18px;
	border-radius: 4px;
	white-space: nowrap;
}

.ld24ps-banner .ld24ps-banner__cta:hover,
.ld24ps-banner .ld24ps-banner__cta:focus-visible {
	background: #ffa300;
	color: #000;
}

.ld24ps-banner .ld24ps-banner__close {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.ld24ps-banner .ld24ps-banner__close:hover,
.ld24ps-banner .ld24ps-banner__close:focus {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

.ld24ps-banner a:focus-visible,
.ld24ps-banner button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 640px) {
	.ld24ps-banner__inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 12px 48px 12px 16px;
	}

	.ld24ps-banner .ld24ps-banner__close {
		top: 8px;
		transform: none;
	}
}

/* Email builder -------------------------------------------------------- */

.ld24ps {
	max-width: 800px;
	margin: 0 auto 48px;
	padding: 28px;
	border-radius: 10px;
	background: #fff; /* self-contained panel: the site kit uses a black page with orange text */
	color: var(--ld24ps-ink);
	text-align: left;
	font-size: 17px;
	line-height: 1.55;
}

.ld24ps *,
.ld24ps *::before,
.ld24ps *::after {
	box-sizing: border-box;
}

.ld24ps p {
	margin: 0 0 12px;
}

.ld24ps a:not([class]),
.ld24ps a:not([class]):visited {
	color: var(--ld24ps-orange-dark);
}

.ld24ps a:not([class]):hover {
	color: var(--ld24ps-ink);
}

.ld24ps-lead {
	font-size: 1.15em;
}

.ld24ps-ref {
	padding: 10px 14px;
	background: var(--ld24ps-soft);
	border-left: 4px solid var(--ld24ps-orange);
}

.ld24ps-step {
	margin: 28px 0 0;
	padding: 20px;
	border: 1px solid var(--ld24ps-line);
	border-radius: 8px;
	background: #fff;
	min-width: 0;
}

.ld24ps-step legend {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 6px;
	font-size: 1.2em;
	font-weight: 700;
}

.ld24ps-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--ld24ps-orange);
	color: #000;
	font-size: 16px;
}

.ld24ps-help,
.ld24ps-prompt,
.ld24ps-small {
	color: var(--ld24ps-muted);
	font-size: 15px;
}

.ld24ps-field {
	margin-top: 18px;
}

.ld24ps-field label {
	display: block;
	font-weight: 700;
	margin-bottom: 4px;
}

.ld24ps-prompt {
	margin: 0 0 6px !important;
}

.ld24ps-optional {
	font-weight: 400;
	color: var(--ld24ps-muted);
}

.ld24ps input[type="text"],
.ld24ps textarea {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #8a8a8a;
	border-radius: 6px;
	background: #fff;
	color: var(--ld24ps-ink);
	font: inherit;
	font-size: 16px; /* stops iOS zooming on focus */
	line-height: 1.5;
}

.ld24ps input[type="text"]:focus,
.ld24ps textarea:focus {
	outline: 2px solid var(--ld24ps-orange);
	outline-offset: 1px;
	border-color: var(--ld24ps-orange);
}

.ld24ps-meta {
	margin: 0 0 12px;
	font-size: 15px;
}

.ld24ps-meta > div {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	padding: 6px 0;
	border-bottom: 1px solid var(--ld24ps-line);
}

.ld24ps-meta dt {
	width: 70px;
	font-weight: 700;
}

.ld24ps-meta dd {
	margin: 0;
	flex: 1 1 200px;
	word-break: break-word;
}

.ld24ps-preview {
	font-size: 15px !important;
	background: #fafafa !important;
}

.ld24ps-edited {
	margin-top: 8px !important;
	font-size: 15px;
}

.ld24ps-error {
	margin-top: 12px !important;
	padding: 10px 14px;
	border-left: 4px solid #b00020;
	background: #fdecee;
	color: #7a0014;
	font-weight: 600;
}

.ld24ps-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.ld24ps .ld24ps-btn {
	flex: 1 1 200px;
	padding: 12px 16px;
	border: 2px solid var(--ld24ps-ink);
	border-radius: 6px;
	background: #fff;
	color: var(--ld24ps-ink);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}

.ld24ps .ld24ps-btn:hover,
.ld24ps .ld24ps-btn:focus {
	background: #f2f2f2;
	color: var(--ld24ps-ink);
}

.ld24ps .ld24ps-btn--primary {
	flex-basis: 100%;
	border-color: var(--ld24ps-orange);
	background: var(--ld24ps-orange);
	color: #000;
}

.ld24ps .ld24ps-btn--primary:hover,
.ld24ps .ld24ps-btn--primary:focus {
	background: #ffa300;
	border-color: #ffa300;
	color: #000;
}

.ld24ps .ld24ps-link {
	display: inline;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ld24ps-orange-dark);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	text-decoration: underline;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}

.ld24ps .ld24ps-link:hover,
.ld24ps .ld24ps-link:focus {
	background: none;
	color: var(--ld24ps-ink);
}

.ld24ps button:focus-visible {
	outline: 2px solid var(--ld24ps-ink);
	outline-offset: 2px;
}

.ld24ps-status {
	min-height: 1.5em;
	margin-top: 8px !important;
	font-size: 15px;
	font-weight: 600;
}

.ld24ps-done {
	margin-top: 12px;
	padding: 14px 16px;
	border-radius: 6px;
	background: var(--ld24ps-soft);
	border: 1px solid var(--ld24ps-orange);
}

.ld24ps-done:focus {
	outline: none;
}

.ld24ps-privacy {
	margin-top: 16px !important;
}

.ld24ps-manual {
	margin-top: 28px;
	padding: 14px 18px;
	border: 1px solid var(--ld24ps-line);
	border-radius: 8px;
}

.ld24ps-manual summary {
	font-weight: 700;
	cursor: pointer;
}

.ld24ps-manual ol {
	margin: 12px 0 0;
	padding-left: 22px;
}

.ld24ps-manual li {
	margin-bottom: 8px;
}

.ld24ps-notice {
	padding: 10px 14px;
	background: var(--ld24ps-soft);
}

.ld24ps-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (max-width: 640px) {
	.ld24ps {
		padding: 18px 14px;
		border-radius: 0;
	}

	.ld24ps-step {
		padding: 16px 14px;
	}
}
