/**
 * Clinical Engine Core: calculator + audio vault.
 * Self-contained dark panels. Uses theme.json presets when present, with fallbacks.
 * Every text/background pair here meets WCAG 2.1 AA (ratios noted where tight).
 */
.ce-calc,
.ce-vault {
	--ce-bg: var(--wp--preset--color--slate-2, #1E293B);
	--ce-inset: var(--wp--preset--color--slate, #0F172A);
	--ce-text: #FFFFFF;
	--ce-soft: #CBD5E1;
	--ce-muted: var(--wp--preset--color--muted-dark, #94A3B8); /* 5.7:1 on bg, 6.9:1 on inset */
	--ce-line: rgba(148, 163, 184, 0.18);
	--ce-emerald: var(--wp--preset--color--emerald, #0D9488);
	--ce-emerald-hi: var(--wp--preset--color--emerald-hi, #10B981);
	--ce-mint: #5EEAD4;
	--ce-leak: var(--wp--preset--color--leak, #E11D48); /* 4.0:1 on inset, used only at >=24px bold */
	--ce-head: var(--wp--preset--font-family--heading, Newsreader, Georgia, serif);
	--ce-body: var(--wp--preset--font-family--body, Figtree, system-ui, sans-serif);
	--ce-mono: var(--wp--preset--font-family--body, Figtree, system-ui, sans-serif);
	box-sizing: border-box;
	height: 100%;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 20px;
	background: var(--ce-bg);
	color: var(--ce-text);
	font-size: 1rem;
	line-height: 1.5;
}
.ce-calc *,
.ce-vault * { box-sizing: border-box; }
.ce-calc p,
.ce-vault p { margin: 0; }
.ce-calc :focus-visible,
.ce-vault :focus-visible { outline: 2px solid var(--ce-mint); outline-offset: 3px; border-radius: 4px; }
.ce-vault .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ce-calc__title,
.ce-vault__title { margin: 0; font: 500 clamp(1.35rem, 2.4vw, 1.75rem)/1.2 var(--ce-head); letter-spacing: -0.01em; color: var(--ce-text); }
.ce-calc__sub,
.ce-vault__sub { margin-top: 0.4rem !important; font-size: 0.875rem; color: var(--ce-muted); }

/* ---------- Calculator ---------- */
.ce-calc { display: flex; flex-direction: column; }
.ce-calc__field { margin-top: 1.6rem; }
.ce-calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.6rem; }
.ce-calc__row label { font-size: 0.875rem; font-weight: 500; color: var(--ce-soft); }
.ce-calc__row output { font: 700 1rem/1 var(--ce-mono); color: var(--ce-text); font-variant-numeric: tabular-nums; }
.ce-calc input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.ce-calc input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ce-emerald-hi) 0 var(--pct, 50%), #475569 var(--pct, 50%) 100%); }
.ce-calc input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #475569; }
.ce-calc input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--ce-emerald-hi); }
.ce-calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #FFFFFF; border: 4px solid var(--ce-emerald); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.ce-calc input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; border: 4px solid var(--ce-emerald); }
.ce-calc input[type="range"]:focus-visible { outline: none; }
.ce-calc input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--ce-mint); }
.ce-calc input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--ce-mint); }
.ce-calc__ends { display: flex; justify-content: space-between; margin-top: 0.2rem; font: 400 0.75rem/1 var(--ce-mono); color: var(--ce-muted); }
.ce-calc__results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ce-calc__result { padding: 1.1rem 1.15rem; border-radius: 14px; background: var(--ce-inset); }
.ce-calc__result--lost { border: 1px solid rgba(225, 29, 72, 0.55); }
.ce-calc__result--gain { border: 1px solid rgba(16, 185, 129, 0.55); }
.ce-calc__label { font-size: 0.8125rem; line-height: 1.35; color: var(--ce-muted); }
.ce-calc__value { margin-top: 0.45rem !important; font: 700 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--ce-mono); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ce-calc__result--lost .ce-calc__value { color: var(--ce-leak); }
.ce-calc__result--gain .ce-calc__value { color: var(--ce-emerald-hi); }
.ce-calc__yr { margin-top: 0.45rem !important; font: 500 0.75rem/1.2 var(--ce-mono); color: var(--ce-muted); }
.ce-calc__assume { margin-top: 1rem !important; font-size: 0.75rem; line-height: 1.5; color: var(--ce-soft); }
.ce-calc__hint { margin-top: 0.35rem !important; font-size: 0.75rem; line-height: 1.4; color: var(--ce-soft); }
.ce-calc__out { margin-top: auto; padding-top: 1.75rem; }
.ce-calc__counts { display: grid; gap: 0; margin: 0 0 12px; padding: 0.35rem 1.15rem; border-radius: 14px; background: var(--ce-inset); }
.ce-calc__count { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--ce-line); }
.ce-calc__count:last-child { border-bottom: 0; }
.ce-calc__count dt { font-size: 0.875rem; color: var(--ce-soft); }
.ce-calc__count dd { margin: 0; font-weight: 700; color: var(--ce-text); font-variant-numeric: tabular-nums lining-nums; }
.ce-calc__next { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ce-line); }
.ce-calc__next-title { font: 500 1.25rem/1.25 var(--ce-head); letter-spacing: -0.01em; color: var(--ce-text); }
.ce-calc__next-text { margin-top: 0.4rem !important; font-size: 0.9375rem; color: var(--ce-soft); }
.ce-calc__next .wp-block-buttons { margin-top: 1rem; }
@media (max-width: 560px) {
	.ce-calc__results { grid-template-columns: 1fr; }
}

/* ---------- Audio vault ---------- */
.ce-vault__list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 12px; }
.ce-track { margin: 0; padding: 1.1rem 1.2rem; border-radius: 16px; background: var(--ce-inset); border: 1px solid var(--ce-line); }
.ce-track.is-playing { border-color: rgba(16, 185, 129, 0.55); }
.ce-track__head { display: grid; grid-template-columns: 48px 1fr auto; gap: 0.9rem; align-items: start; }
.ce-track__play { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--ce-emerald); color: #FFFFFF; cursor: pointer; transition: background-color 0.15s; }
.ce-track__play:hover { background: var(--ce-emerald-hi); color: var(--ce-inset); }
.ce-track__play svg { width: 18px; height: 18px; }
.ce-track__play .ce-icon-pause,
.ce-track.is-playing .ce-track__play .ce-icon-play { display: none; }
.ce-track.is-playing .ce-track__play .ce-icon-pause { display: block; }
.ce-track__name { margin: 0.1rem 0 0; font: 600 1rem/1.3 var(--ce-body); color: var(--ce-text); }
.ce-track__context { margin-top: 0.2rem !important; font-size: 0.8125rem; line-height: 1.4; color: var(--ce-muted); }
.ce-track__outcome { margin-top: 0.3rem !important; font-size: 0.8125rem; font-weight: 500; color: #A7F3D0; }
.ce-track__len { padding-top: 0.2rem; font: 500 0.8125rem/1 var(--ce-mono); color: var(--ce-muted); }
.ce-track__wave { display: flex; align-items: center; gap: 2px; height: 48px; margin: 0.9rem 0 0.4rem; cursor: pointer; border-radius: 4px; }
.ce-track__wave i { flex: 1; min-width: 2px; height: var(--h); border-radius: 2px; background: #475569; transform-origin: center; transition: background-color 0.2s; }
.ce-track__wave i.is-done { background: var(--ce-emerald-hi); }
.ce-track__wave i.is-live { animation: ce-bob 0.45s ease-in-out infinite alternate; }
.ce-track__wave i.is-live:nth-child(3n) { animation-delay: -0.2s; }
@keyframes ce-bob { from { transform: scaleY(0.55); } to { transform: scaleY(1.2); } }
.ce-track__time { display: flex; justify-content: space-between; font: 500 0.75rem/1 var(--ce-mono); color: var(--ce-muted); font-variant-numeric: tabular-nums; }
.ce-track__caption { margin-top: 0.75rem !important; font-size: 0.875rem; line-height: 1.5; color: #E2E8F0; }
.ce-track__drawer { margin-top: 0.75rem; border-top: 1px solid var(--ce-line); }
.ce-track__drawer summary { display: flex; align-items: center; gap: 0.5rem; min-height: 44px; cursor: pointer; font: 600 0.875rem/1.2 var(--ce-body); color: var(--ce-mint); list-style: none; }
.ce-track__drawer summary::-webkit-details-marker { display: none; }
.ce-track__drawer summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.2s; }
.ce-track__drawer[open] summary::before { transform: rotate(45deg); }
.ce-transcript { list-style: none; margin: 0 0 0.25rem; padding: 0; display: grid; gap: 0.15rem; }
.ce-transcript li { margin: 0; padding: 0.45rem 0.6rem; border-radius: 6px; font-size: 0.875rem; line-height: 1.5; color: var(--ce-soft); cursor: pointer; }
.ce-transcript li[aria-current] { background: rgba(16, 185, 129, 0.16); color: #FFFFFF; }
.ce-transcript strong { color: #FFFFFF; font-weight: 600; }
.ce-transcript__time { display: inline-block; min-width: 2.8em; font: 500 0.75rem/1 var(--ce-mono); color: var(--ce-muted); }

@media (prefers-reduced-motion: reduce) {
	.ce-track__wave i,
	.ce-track__drawer summary::before,
	.ce-track__play { animation: none !important; transition: none !important; }
}

.ce-calc__row output, .ce-calc__ends, .ce-calc__value, .ce-calc__yr, .ce-track__len, .ce-track__time, .ce-transcript__time { font-variant-numeric: tabular-nums lining-nums; }
.ce-calc__value { font-family: var(--ce-head); font-weight: 500; }

/* ---------- "Text us" widget ---------- */
.ce-textus { --tu-navy: var(--wp--preset--color--slate, #00213D); --tu-emerald: var(--wp--preset--color--emerald, #0D9488); position: fixed; right: 20px; bottom: 20px; z-index: 9990; font-family: var(--wp--preset--font-family--body, Figtree, system-ui, sans-serif); }
.ce-textus__open { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 52px; padding: 0 1.25rem 0 1.05rem; border: 0; border-radius: 999px; background: var(--tu-emerald); color: #00132A; font: 600 1rem/1 inherit; font-family: inherit; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(0, 33, 61, 0.55); }
.ce-textus__open:hover { background: var(--wp--preset--color--emerald-hi, #10B981); }
.ce-textus__open svg { width: 22px; height: 22px; }
.ce-textus__open:focus-visible, .ce-textus__panel :focus-visible { outline: 2px solid #1565B0; outline-offset: 3px; }
.ce-textus__panel { position: absolute; right: 0; bottom: 66px; width: min(360px, calc(100vw - 32px)); max-height: calc(100vh - 120px); overflow: auto; padding: 1.25rem 1.25rem 1.1rem; border-radius: 20px; background: #FFFFFF; color: var(--tu-navy); box-shadow: 0 30px 70px -20px rgba(0, 33, 61, 0.5); border: 1px solid #E3E8EE; }
.ce-textus__panel[hidden], .ce-textus__form[hidden], .ce-textus__done[hidden] { display: none; }
.ce-textus__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ce-textus__title { margin: 0; font: 500 1.25rem/1.25 var(--wp--preset--font-family--heading, Newsreader, Georgia, serif); }
.ce-textus__close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #F1F4F8; color: var(--tu-navy); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.ce-textus__intro { margin: 0.5rem 0 0; font-size: 0.875rem; line-height: 1.5; color: #5B6B7D; }
.ce-textus label { display: block; margin: 0.85rem 0 0.35rem; font-size: 0.875rem; font-weight: 600; }
.ce-textus input:not([type="checkbox"]), .ce-textus textarea { box-sizing: border-box; width: 100%; min-height: 44px; padding: 0.6rem 0.8rem; border: 1px solid #8C9BAB; border-radius: 12px; font: 400 1rem/1.4 inherit; font-family: inherit; color: var(--tu-navy); background: #FFFFFF; }
.ce-textus textarea { resize: vertical; }
.ce-textus input:focus, .ce-textus textarea:focus { outline: none; border-color: #1565B0; box-shadow: 0 0 0 3px rgba(43, 143, 230, 0.25); }
.ce-textus .ce-textus__consent { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.8125rem; font-weight: 400; line-height: 1.45; color: #5B6B7D; }
.ce-textus__consent input { flex: none; width: 18px; height: 18px; margin: 0.1rem 0 0; accent-color: #0F766E; }
.ce-textus__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ce-textus__error { min-height: 1.2em; margin: 0.5rem 0 0; font-size: 0.875rem; color: #BE123C; }
.ce-textus__send { width: 100%; min-height: 48px; margin-top: 0.5rem; border: 0; border-radius: 999px; background: var(--tu-emerald); color: #00132A; font: 600 1rem/1 inherit; font-family: inherit; cursor: pointer; }
.ce-textus__send:hover { background: var(--wp--preset--color--emerald-hi, #10B981); }
.ce-textus__done { padding-top: 0.5rem; }
.ce-textus__done-msg { margin: 0.5rem 0 0; line-height: 1.5; color: #2A4A6B; }
@media (max-width: 600px) { .ce-textus { right: 14px; bottom: 14px; } .ce-textus__open span { display: none; } .ce-textus__open { width: 56px; padding: 0; justify-content: center; } }

/* ---------- City availability check ---------- */
.ce-citycheck { font-family: var(--wp--preset--font-family--body, Figtree, system-ui, sans-serif); }
.ce-citycheck__form { display: grid; grid-template-columns: 2fr 1fr 1.6fr auto; gap: 12px; align-items: end; padding: 1.25rem; border-radius: 20px; background: #FFFFFF; border: 1px solid #E3E8EE; box-shadow: 0 1px 2px rgba(0, 33, 61, 0.04), 0 8px 24px -12px rgba(0, 33, 61, 0.18); }
.ce-citycheck label { display: block; margin: 0 0 0.35rem; font-size: 0.8125rem; font-weight: 600; color: var(--wp--preset--color--slate, #00213D); }
.ce-citycheck input, .ce-citycheck select { box-sizing: border-box; width: 100%; min-height: 48px; padding: 0.6rem 0.8rem; border: 1px solid #8C9BAB; border-radius: 12px; background: #FFFFFF; font: 400 1rem/1.3 inherit; font-family: inherit; color: var(--wp--preset--color--slate, #00213D); }
.ce-citycheck input:focus, .ce-citycheck select:focus { outline: none; border-color: #1565B0; box-shadow: 0 0 0 3px rgba(43, 143, 230, 0.25); }
.ce-citycheck__btn { min-height: 48px; padding: 0 1.5rem; border: 0; border-radius: 999px; background: var(--wp--preset--color--emerald, #0D9488); color: #00132A; font: 600 1rem/1 inherit; font-family: inherit; cursor: pointer; white-space: nowrap; }
.ce-citycheck__btn:hover { background: var(--wp--preset--color--emerald-hi, #10B981); }
.ce-citycheck__btn:focus-visible { outline: 2px solid #1565B0; outline-offset: 3px; }
.ce-citycheck__result { margin-top: 0.9rem; font-size: 1rem; line-height: 1.55; color: #2A4A6B; }
.ce-citycheck__result:empty { display: none; }
.ce-citycheck__result.is-open, .ce-citycheck__result.is-taken, .ce-citycheck__result.is-error { padding: 1rem 1.15rem; border-radius: 14px; }
.ce-citycheck__result.is-open { background: #ECFDF8; color: #134E4A; }
.ce-citycheck__result.is-taken { background: #FFF1F3; color: #4C0519; }
.ce-citycheck__result.is-error { background: #FFF1F3; color: #BE123C; }
.ce-citycheck__result a { color: inherit; font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 760px) { .ce-citycheck__form { grid-template-columns: 1fr 1fr; } .ce-citycheck__field--city { grid-column: 1 / -1; } .ce-citycheck__btn { grid-column: 1 / -1; } }

.ce-textus input::placeholder, .ce-textus textarea::placeholder, .ce-citycheck input::placeholder { color: #5B6B7D; opacity: 1; }

/* ---------- Qualifier pop-up ("See if your city is open") ---------- */
html.ce-q-open { overflow: hidden; }
.ce-q { --q-navy: var(--wp--preset--color--slate, #00213D); --q-ink: #00132A; --q-emerald: var(--wp--preset--color--emerald, #0D9488); --q-muted: #5B6B7D; position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 16px; font-family: var(--wp--preset--font-family--body, Figtree, system-ui, sans-serif); }
.ce-q[hidden] { display: none; }
.ce-q *, .ce-q *::before, .ce-q *::after, .ce-booking, .ce-nl *, .ce-citycheck * { box-sizing: border-box; }
.ce-q__backdrop { position: absolute; inset: 0; background: rgba(0, 19, 42, 0.62); }
.ce-q__dialog { position: relative; width: min(620px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 1.25rem 1.75rem 1.5rem; border-radius: 24px; background: #FFFFFF; color: var(--q-navy); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6); }
.ce-q__top { display: flex; justify-content: flex-end; margin-bottom: -0.5rem; }
.ce-q__close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #F1F4F8; color: var(--q-navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.ce-q__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.ce-q__step[hidden], .ce-q__form[hidden], .ce-q__done[hidden], .ce-q__phone[hidden] { display: none; }
.ce-q__phone { margin-top: 0.75rem; }
.ce-q__title { display: block; margin: 0.35rem 0 0; padding: 0; font: 500 clamp(1.4rem, 3.6vw, 1.85rem)/1.2 var(--wp--preset--font-family--heading, Newsreader, Georgia, serif); letter-spacing: -0.01em; color: var(--q-navy); }
.ce-q__hint { margin: 0.6rem 0 0; font-size: 0.9375rem; line-height: 1.5; color: var(--q-muted); }
.ce-q__options { display: grid; gap: 10px; margin-top: 1.25rem; }
.ce-q__option { position: relative; display: flex; align-items: center; gap: 0.85rem; min-height: 56px; padding: 0.75rem 1.1rem; border: 1.5px solid #CBD5E1; border-radius: 16px; cursor: pointer; font-size: 1.0625rem; font-weight: 500; transition: border-color 0.15s, background-color 0.15s; }
.ce-q__option:hover { border-color: var(--q-emerald); }
.ce-q__option input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: #0F766E; }
.ce-q__option:has(input:checked) { border-color: var(--q-emerald); background: #ECFDF8; }
.ce-q__option:has(input:focus-visible) { outline: 2px solid #1565B0; outline-offset: 2px; }
.ce-q__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 1.1rem; }
.ce-q__grid .ce-q__full { grid-column: 1 / -1; }
.ce-q label:not(.ce-q__option):not(.ce-q__consent) { display: block; margin: 0 0 0.35rem; font-size: 0.875rem; font-weight: 600; }
.ce-q input:not([type="radio"]):not([type="checkbox"]), .ce-q select { box-sizing: border-box; width: 100%; min-height: 48px; padding: 0.65rem 0.85rem; border: 1px solid #8C9BAB; border-radius: 12px; background: #FFFFFF; color: var(--q-navy); font: 400 1rem/1.3 inherit; font-family: inherit; }
.ce-q input::placeholder { color: var(--q-muted); opacity: 1; }
.ce-q input:focus, .ce-q select:focus { outline: none; border-color: #1565B0; box-shadow: 0 0 0 3px rgba(43, 143, 230, 0.25); }
.ce-q__consent { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1rem; font-size: 0.8125rem; line-height: 1.45; color: var(--q-muted); }
.ce-q__consent input { flex: none; width: 18px; height: 18px; margin: 0.1rem 0 0; accent-color: #0F766E; }
.ce-q__consent a, .ce-textus__consent a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ce-q__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ce-q__error { min-height: 1.3em; margin: 0.75rem 0 0; font-size: 0.875rem; color: #BE123C; }
.ce-q__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 0.5rem; }
.ce-q__next { flex: 1; min-height: 54px; border: 0; border-radius: 999px; background: var(--q-emerald); color: var(--q-ink); font: 600 1.0625rem/1.2 inherit; font-family: inherit; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(13, 148, 136, 0.7); }
.ce-q__next:hover { background: var(--wp--preset--color--emerald-hi, #10B981); }
.ce-q__next:disabled { opacity: 0.7; cursor: wait; }
.ce-q__back { min-height: 54px; padding: 0 1.25rem; border: 1.5px solid #CBD5E1; border-radius: 999px; background: #FFFFFF; color: var(--q-navy); font: 600 1rem/1 inherit; font-family: inherit; cursor: pointer; }
.ce-q__next:focus-visible, .ce-q__back:focus-visible, .ce-q__close:focus-visible { outline: 2px solid #1565B0; outline-offset: 3px; }
.ce-q__fine { margin: 0.85rem 0 0; text-align: center; font-size: 0.8125rem; color: var(--q-muted); }
.ce-q__done:focus { outline: none; }
.ce-q__booking { margin-top: 1rem; height: 680px; }
.ce-q__booking iframe, .ce-booking iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) {
	.ce-q { padding: 0; place-items: end stretch; }
	.ce-q__dialog { width: 100%; max-height: 92vh; border-radius: 24px 24px 0 0; padding: 1rem 1.15rem 1.25rem; }
	.ce-q__grid { grid-template-columns: 1fr; }
}

/* ---------- Built-in newsletter signup (adds subscribers to Kit) ---------- */
.ce-nl { margin-top: 1rem; font-family: var(--wp--preset--font-family--body, Figtree, system-ui, sans-serif); }
.ce-nl__row { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 12px; align-items: end; }
.ce-nl label { display: block; margin: 0 0 0.35rem; font-size: 0.8125rem; font-weight: 600; color: var(--wp--preset--color--slate, #00213D); }
.ce-nl input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 0.6rem 0.85rem; border: 1px solid #8C9BAB; border-radius: 12px; background: #FFFFFF; color: var(--wp--preset--color--slate, #00213D); font: 400 1rem/1.3 inherit; font-family: inherit; }
.ce-nl input:focus { outline: none; border-color: #1565B0; box-shadow: 0 0 0 3px rgba(43, 143, 230, 0.25); }
.ce-nl__btn { min-height: 48px; padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--wp--preset--color--slate, #00213D); color: #FFFFFF; font: 600 1rem/1 inherit; font-family: inherit; cursor: pointer; white-space: nowrap; }
.ce-nl__btn:hover { background: #0B2F52; }
.ce-nl__btn:focus-visible { outline: 2px solid #1565B0; outline-offset: 3px; }
.ce-nl__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ce-nl__note { margin: 0.6rem 0 0; font-size: 0.8125rem; color: #5B6B7D; }
.ce-nl__status { margin: 0.35rem 0 0; min-height: 1.2em; font-size: 0.875rem; color: #0F766E; font-weight: 500; }
.ce-nl.is-done .ce-nl__row, .ce-nl.is-done .ce-nl__note { display: none; }
@media (max-width: 700px) { .ce-nl__row { grid-template-columns: 1fr; } }

/* ---------- Google Calendar booking embed ---------- */
.ce-booking { position: relative; height: 720px; border-radius: 20px; overflow: hidden; background: #FFFFFF; border: 1px solid #E3E8EE; }
.ce-q__booking { position: relative; border-radius: 14px; overflow: hidden; }
/* Sits over the calendar frame until it has loaded (booking.js). */
.ce-booking__status { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; margin: 0; padding: 1.5rem; text-align: center; font-size: 0.9375rem; line-height: 1.5; color: #00213D; background: #F7F9FB linear-gradient(90deg, #F7F9FB, #EEF2F6, #F7F9FB) 0 0 / 200% 100%; animation: ce-shimmer 1.4s linear infinite; }
@keyframes ce-shimmer { to { background-position: -200% 0; } }
.ce-booking__status a, .ce-booking__fallback a { color: #1565B0; font-weight: 600; }
.ce-booking__fallback { margin: 0; padding: 1.5rem; }
@media (prefers-reduced-motion: reduce) { .ce-booking__status { animation: none; } }
