/* EasyWebsites deterministic runtime safety styles v7 */
[hidden] { display: none !important; }
/* Hosting badge: retain desktop placement and override legacy inline fixed
   positioning on phones. The Worker places this container inside the footer. */
[data-ew-badge] { position: fixed !important; bottom: 14px; left: 14px; }
@media (max-width: 639.98px) {
  [data-ew-badge-container] { display: block !important; flex: 0 0 100%; grid-column: 1 / -1; width: 100%; margin-top: 1rem; text-align: center; }
  footer:has(> [data-ew-badge-container]) { flex-wrap: wrap; }
  [data-ew-badge-footer] { padding: 1rem; }
  [data-ew-badge] { position: static !important; inset: auto !important; transform: none !important; max-width: 100%; box-sizing: border-box; }
}
.ew-bot-protection, [data-ew-bot-protection="true"] { position: absolute !important; left: -9999px !important; top: -9999px !important; height: 0 !important; width: 0 !important; overflow: hidden !important; }
.form-payment-note { font-size: .85rem; opacity: .75; margin: .5rem 0 0; }
/* Managed-form vocabulary baseline (F3): zero-specificity fallbacks so the
   platform-rendered .form-group/.form-label/.form-input/.form-help/.form-choice
   markup stays usable even when no page CSS styles it (the renderer re-emits
   these bare classes on every form-config change). Any site rule outranks
   :where(); the light input surface stays readable on dark and light pages. */
:where(.form-group) { display: grid; gap: 0.4rem; margin: 0 0 1.1rem; padding: 0; border: 0; min-width: 0; }
:where(.form-label) { display: block; font-weight: 600; }
:where(.form-input) { display: block; width: 100%; box-sizing: border-box; padding: 0.65rem 0.8rem; border: 1px solid rgba(17, 24, 39, 0.35); border-radius: 0.5rem; background: #ffffff; color: #111827; font: inherit; }
:where(textarea.form-input) { min-height: 7rem; resize: vertical; }
:where(.form-help) { font-size: 0.85rem; opacity: 0.75; margin: 0.1rem 0 0; }
:where(.form-choice) { display: flex; align-items: center; gap: 0.5rem; }
/* Platform-injected © line baseline (v4): zero-specificity so any site rule
   wins. color: inherit + opacity rides the footer's own foreground, so the one
   rule stays readable on both light and dark footers; the .copyright-year span
   is inline and inherits everything, so it needs no rule of its own. */
:where(footer .copyright, .copyright) { margin: 1.25rem 0 0; font-size: 0.85em; line-height: 1.6; color: inherit; opacity: 0.75; text-align: center; }
/* Form feedback surfaces (FX-77/FX-112, v5): OPAQUE neutral panels — near-white
   background, near-black text, hairline border — so they read on dark and light
   cards alike. The old translucent emerald pair was invisible on an indigo
   booking card because the contrast gates never see the post-submit state. */
.ew-form-message { margin-top: 1rem; padding: 0.85rem 1rem; border-radius: 0.75rem; font-weight: 600; line-height: 1.45; background: var(--ew-panel-bg, #ffffff); color: var(--ew-panel-fg, #111827); border: 1px solid var(--ew-panel-line, rgba(17, 24, 39, 0.18)); text-align: left; }
.ew-form-message-success { border-left: 4px solid var(--ew-panel-fg, #111827); }
.ew-form-message-error { color: #991b1b; border-left: 4px solid #991b1b; }
.ew-field-error { display: block; margin: 0.35rem 0 0; padding: 0.35rem 0.6rem; border-radius: 0.5rem; font-size: 0.85rem; font-weight: 600; line-height: 1.4; background: var(--ew-panel-bg, #ffffff); color: #991b1b; border: 1px solid var(--ew-panel-line, rgba(17, 24, 39, 0.18)); }
:where(.form-input[aria-invalid="true"]) { box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.55); }
.ew-form-confirmation { margin-top: 0.5rem; padding: 1.25rem 1.25rem 1.1rem; border-radius: 0.9rem; background: var(--ew-panel-bg, #ffffff); color: var(--ew-panel-fg, #111827); border: 1px solid var(--ew-panel-line, rgba(17, 24, 39, 0.18)); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); text-align: left; line-height: 1.5; }
.ew-form-confirmation:focus { outline: 2px solid var(--ew-panel-fg, #111827); outline-offset: 2px; }
.ew-form-confirmation-title { margin: 0 0 0.35rem; font-size: 1.15rem; font-weight: 700; line-height: 1.3; color: inherit; }
.ew-form-confirmation-body { margin: 0 0 0.85rem; color: inherit; }
.ew-form-confirmation-summary { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 0.9rem; margin: 0 0 0.85rem; font-size: 0.95rem; }
.ew-form-confirmation-summary dt { margin: 0; font-weight: 600; opacity: 0.8; }
.ew-form-confirmation-summary dd { margin: 0; }
.ew-form-confirmation-note { margin: 0 0 0.9rem; font-size: 0.9rem; opacity: 0.85; }
.ew-form-confirmation-again { font: inherit; font-weight: 600; cursor: pointer; padding: 0.55rem 0.9rem; border-radius: 0.6rem; border: 1px solid rgba(17, 24, 39, 0.35); background: transparent; color: inherit; }
form.ew-form-submitted > :not(.ew-form-confirmation) { display: none !important; }
/* Provider chips promoted to real controls (FX-82): zero-specificity UA reset so
   the AI's own chip classes keep winning; never all:unset. */
:where(button[data-ew-provider-pick]) { appearance: none; -webkit-appearance: none; font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
[data-ew-provider-indicator] { margin-inline-start: .5em; font-weight: 700; }
[data-ew-provider-indicator][hidden] { display: none !important; }
button[data-ew-provider-pick][aria-pressed="true"] { outline: 2px solid currentColor; outline-offset: 2px; }
/* PHI-safe form notice (healthcare sites only render the element). Additive +
   inert elsewhere, so this rule intentionally does NOT bump the CSS marker:
   the plain-paragraph fallback on pre-existing snapshots is acceptable. */
.ew-form-privacy-note { margin: 0.75rem 0; font-size: 0.85em; line-height: 1.5; opacity: 0.75; }
.ew-lightbox { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.86); padding: 2rem; }
.ew-lightbox.open { display: flex; }
.ew-lightbox img { max-width: min(92vw, 1200px); max-height: 86vh; object-fit: contain; border-radius: 12px; box-shadow: 0 24px 80px rgba(0,0,0,0.45); }
.ew-lightbox button { position: absolute; border: 0; background: rgba(255,255,255,0.14); color: #fff; cursor: pointer; border-radius: 999px; width: 44px; height: 44px; font-size: 24px; }
.ew-lightbox-close { top: 1rem; right: 1rem; }
.ew-lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.ew-lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 768px) {
  .nav-menu { display: none; }
  /* FX-92: the open state must win over an AI `display: none !important`
     on the menu itself; the runtime also reveals hidden wrappers (below). */
  .nav-menu.nav-open { display: flex !important; }
  .nav-toggle { display: inline-flex; }
  /* A wrapper between the header and the menu that the AI hid (e.g.
     `.site-header nav { display: none !important }`) is marked by the runtime
     while the menu is open; triple-class specificity + !important outranks any
     realistic page rule. */
  .ew-nav-unhidden.ew-nav-unhidden.ew-nav-unhidden { display: block !important; pointer-events: none; }
  .ew-nav-unhidden .nav-menu, .ew-nav-unhidden .nav-menu * { pointer-events: auto; }
  /* The revealed wrapper is often position:absolute; inset:0 — keep the toggle
     clickable above it (zero specificity so AI toggle styles still win). */
  :where(header .nav-toggle, .site-header .nav-toggle) { position: relative; z-index: 2; }
  /* Zero-specificity open-panel fallback: fills only properties the page CSS
     never declares, so an intentionally styled menu is untouched. Prevents a
     transparent white-on-white open menu when the AI omits panel styling. */
  :where(.nav-menu.nav-open) {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: var(--ew-nav-open-bg, #ffffff);
    color: var(--ew-nav-open-fg, #111827);
    padding: 1rem;
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  }
  :where(header:has(.nav-menu.nav-open), .site-header:has(.nav-menu.nav-open)) { position: relative; }
}
@media (min-width: 769px) {
  .nav-toggle { display: none; }
  .site-header--desktop-drawer .nav-toggle { display: inline-flex; }
}
/* Opt-in interaction primitives (marquee, compare, carousel). Inert unless the
   matching data attributes are used; count-up needs no CSS. */
[data-ew-marquee] { display: flex; overflow: hidden; gap: var(--ew-marquee-gap, 2rem); }
[data-ew-marquee] > * { display: flex; gap: var(--ew-marquee-gap, 2rem); flex-shrink: 0; min-width: max-content; }
.ew-marquee-animated > * { animation: ew-marquee-scroll var(--ew-marquee-duration, 32s) linear infinite; }
.ew-marquee-animated:hover > *, .ew-marquee-animated:focus-within > * { animation-play-state: paused; }
@keyframes ew-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-100% - var(--ew-marquee-gap, 2rem))); } }
@media (prefers-reduced-motion: reduce) { .ew-marquee-animated > * { animation: none; } }
[data-ew-compare] { position: relative; overflow: hidden; --ew-compare-position: 50%; }
[data-ew-compare] img { display: block; width: 100%; height: 100%; object-fit: cover; }
[data-ew-compare] .ew-compare-after { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--ew-compare-position)) 0 0); }
[data-ew-compare] input[type="range"] { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: calc(100% - 1.5rem); margin: 0; z-index: 2; }
[data-ew-carousel] { position: relative; }
[data-ew-carousel] .ew-carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: var(--ew-carousel-gap, 1rem); scrollbar-width: none; }
[data-ew-carousel] .ew-carousel-track::-webkit-scrollbar { display: none; }
[data-ew-carousel] .ew-carousel-track > * { scroll-snap-align: start; flex-shrink: 0; }
.ew-carousel-prev, .ew-carousel-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(15, 23, 42, 0.65); color: #ffffff; font-size: 22px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.ew-carousel-prev:hover, .ew-carousel-next:hover { background: rgba(15, 23, 42, 0.85); }
.ew-carousel-prev { left: 0.75rem; }
.ew-carousel-next { right: 0.75rem; }
/* Motion set 2: opening entrance, photo drift. Inert unless opted in. */
@media (prefers-reduced-motion: no-preference) {
  [data-ew-opening-motion] h1 { animation: ew-opening-text 700ms cubic-bezier(.22,.7,.25,1) backwards; }
  [data-ew-opening-motion] [data-ew-opening-media] { animation: ew-opening-media 700ms cubic-bezier(.22,.7,.25,1) backwards; }
  @supports (animation-timeline: view()) {
    [data-ew-motion="drift"] { animation: ew-drift linear both; animation-timeline: view(); }
  }
}
@keyframes ew-opening-text { from { clip-path: inset(0 0 100% 0); transform: translateY(0.3em); } to { clip-path: inset(0 0 0% 0); transform: translateY(0); } }
@keyframes ew-opening-media { from { clip-path: inset(6% 6% 6% 6%); transform: scale(1.04); } to { clip-path: inset(0% 0% 0% 0%); transform: scale(1); } }
@keyframes ew-drift { from { transform: translateY(-3%) scale(1.06); } to { transform: translateY(3%) scale(1.06); } }
/* end EasyWebsites deterministic runtime safety styles */
:root{--ew-platform-css-eof:1}
