/* Generated palette, valid LP IDs only. Base contact design is unchanged. */
.cf-page[data-lp-theme="LP-001"] {
  --lp-background: #edf7ff;
  --lp-surface: #ffffff;
  --lp-ink: #11354d;
  --lp-accent: #0875b9;
  --lp-accent-text: #ffffff;
  --lp-border: #b9dcf2;
  --lp-font: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
.cf-page[data-lp-theme="LP-002"] {
  --lp-background: #fbf7f0;
  --lp-surface: #ffffff;
  --lp-ink: #3a342e;
  --lp-accent: #805e45;
  --lp-accent-text: #ffffff;
  --lp-border: #dac8b6;
  --lp-font: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Kaku Gothic ProN", serif;
}

/* Theme properties override only visible, existing contact-page selectors. */
.cf-page[data-lp-theme] {
  --cf-ink: var(--lp-ink);
  --cf-teal: var(--lp-accent);
  --cf-orange: var(--lp-accent);
  --cf-border: var(--lp-border);
  --cf-wash: var(--lp-background);
  background: var(--lp-background) !important;
  color: var(--lp-ink);
  font-family: var(--lp-font);
}
.cf-page[data-lp-theme] .c-header { background: var(--lp-surface); border-bottom-color: var(--lp-border); }
.cf-page[data-lp-theme] .c-nav-consult { background: var(--lp-accent) !important; color: var(--lp-accent-text) !important; }
.cf-page[data-lp-theme] .c-nav-consult:hover { background: color-mix(in srgb, var(--lp-accent) 86%, black) !important; }
.cf-page[data-lp-theme] .c-nav-review { color: var(--lp-accent) !important; }
.cf-page[data-lp-theme] .cf-panel { background: var(--lp-surface); border-color: var(--lp-border); box-shadow: 0 16px 46px #142c3c12; }
.cf-page[data-lp-theme] .cf-intro { position: relative; isolation: isolate; }
.cf-page[data-lp-theme] .cf-intro > * { position: relative; z-index: 1; }
.cf-page[data-lp-theme] .cf-intro h1,
.cf-page[data-lp-theme] .cf-aside h2 { color: var(--lp-ink); }
.cf-page[data-lp-theme] .cf-eyebrow,
.cf-page[data-lp-theme] .cf-aside-kicker,
.cf-page[data-lp-theme] .cf-section-number,
.cf-page[data-lp-theme] .cf-small-label,
.cf-page[data-lp-theme] .cf-type-arrow,
.cf-page[data-lp-theme] .cf-reassurance span { color: var(--lp-accent); }
.cf-page[data-lp-theme] .cf-type-card:hover { border-color: var(--lp-accent); }
.cf-page[data-lp-theme] .cf-type-card:has(input:checked),
.cf-page[data-lp-theme] .cf-check-option:has(input:checked),
.cf-page[data-lp-theme] .cf-chip input:checked + span {
  border-color: var(--lp-accent);
  background: color-mix(in srgb, var(--lp-accent) 8%, white);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lp-accent) 20%, transparent);
}
.cf-page[data-lp-theme] .cf-type-card input,
.cf-page[data-lp-theme] .cf-chip input,
.cf-page[data-lp-theme] .cf-check-option input,
.cf-page[data-lp-theme] .cf-consent input { accent-color: var(--lp-accent); }
.cf-page[data-lp-theme] .cf-page input:focus-visible,
.cf-page[data-lp-theme] input:focus-visible,
.cf-page[data-lp-theme] select:focus-visible,
.cf-page[data-lp-theme] textarea:focus-visible,
.cf-page[data-lp-theme] .cf-chip:has(input:focus-visible) { outline-color: var(--lp-accent); }
.cf-page[data-lp-theme] .cf-submit,
.cf-page[data-lp-theme] a.cf-home-button {
  background: var(--lp-accent);
  color: var(--lp-accent-text) !important;
}
.cf-page[data-lp-theme] .cf-submit:hover:not(:disabled),
.cf-page[data-lp-theme] a.cf-home-button:hover {
  background: color-mix(in srgb, var(--lp-accent) 86%, black);
}
.cf-page[data-lp-theme] .cf-submit:disabled { background: #b8bbb3; color: #fff !important; }
.cf-page[data-lp-theme] .cf-required { background: color-mix(in srgb, var(--lp-accent) 11%, white); color: var(--lp-ink); }
.cf-page[data-lp-theme] .cf-success-symbol { color: var(--lp-accent); background: color-mix(in srgb, var(--lp-accent) 10%, white); }
.cf-page[data-lp-theme] .cf-success .cf-receipt { color: var(--lp-ink) !important; }
.cf-page[data-lp-theme] .cf-consent a { color: var(--lp-accent); }
.cf-page[data-lp-theme] a.cf-back-link { color: var(--lp-ink); }
.cf-page[data-lp-ornament="line"] .cf-intro::after {
  content: ""; position: absolute; pointer-events: none; right: 2%; top: 25%; z-index: 0;
  width: 44%; height: 36%; border-top: 2px solid var(--lp-accent); opacity: .33;
}
.cf-page[data-lp-ornament="wave"] .cf-intro::after {
  content: ""; position: absolute; pointer-events: none; right: 0; top: 0; z-index: 0;
  width: 43%; height: 100%; border-radius: 50% 0 45% 60%; opacity: .11;
  background: radial-gradient(circle at 65% 35%,var(--lp-accent) 8%,transparent 70%);
}
@media (max-width: 599px) {
  .cf-page[data-lp-theme] .cf-intro::after { width: 34%; opacity: .08; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-page[data-lp-theme] * { transition: none !important; animation: none !important; }
}
