.harmony {
  --harmony-primary: #1597d4;
  --harmony-accent: #f7d117;
  --harmony-dark: #111827;
  --harmony-white: #ffffff;
  --harmony-muted: #667085;
  --harmony-border: #dce7ef;
  --harmony-shadow: 0 22px 60px rgba(17, 24, 39, .22);
  box-sizing: border-box;
  color: var(--harmony-dark);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}
.harmony *, .harmony *::before, .harmony *::after { box-sizing: inherit; }
.harmony button, .harmony textarea { font: inherit; }
.harmony a { color: #066a9d; text-underline-offset: 2px; }
.harmony__panel {
  width: min(100%, 720px);
  min-height: 650px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--harmony-white);
  border: 2px solid var(--harmony-dark);
  border-radius: 22px;
  box-shadow: var(--harmony-shadow);
}
.harmony--page { width: 100%; display: flex; justify-content: center; padding: 12px 0; }
.harmony--floating { position: fixed; right: 24px; bottom: 24px; z-index: 999999; }
.harmony--floating .harmony__panel {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: min(430px, calc(100vw - 28px));
  height: min(720px, calc(100vh - 105px));
  min-height: 520px;
  transform: translateY(18px) scale(.97);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
}
.harmony--floating.is-open .harmony__panel { transform: translateY(0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }
.harmony__launcher {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--harmony-dark);
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  background: var(--harmony-accent);
  color: var(--harmony-dark);
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--harmony-dark);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.harmony__launcher:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--harmony-dark); }
.harmony__launcher-mark, .harmony__avatar {
  display: grid;
  place-items: center;
  background-color: var(--harmony-primary);
  background-size: cover;
  background-position: center;
  color: #fff;
  border: 2px solid var(--harmony-dark);
  font-weight: 950;
}
.harmony__launcher-mark { width: 38px; height: 38px; border-radius: 50%; }
.harmony__header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  background:
    radial-gradient(circle at 12px 12px, rgba(255,255,255,.28) 2px, transparent 2.5px) 0 0/18px 18px,
    linear-gradient(135deg, var(--harmony-primary), #0877b4);
  color: #fff;
  border-bottom: 2px solid var(--harmony-dark);
}
.harmony__header::after {
  content: "";
  position: absolute;
  right: 74px;
  top: -24px;
  width: 110px;
  height: 90px;
  background: var(--harmony-accent);
  clip-path: polygon(50% 0, 58% 30%, 82% 12%, 73% 40%, 100% 46%, 71% 57%, 88% 82%, 58% 69%, 50% 100%, 42% 69%, 12% 82%, 29% 57%, 0 46%, 27% 40%, 18% 12%, 42% 30%);
  opacity: .17;
  pointer-events: none;
}
.harmony__avatar { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%; font-size: 23px; }
.harmony__heading { min-width: 0; flex: 1; }
.harmony__eyebrow { display: block; font-size: 10px; font-weight: 900; letter-spacing: .12em; opacity: .9; }
.harmony__heading h2 { margin: 1px 0 2px; color: #fff; font-size: 24px; line-height: 1.1; font-weight: 950; }
.harmony__status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.harmony__status i { width: 8px; height: 8px; border-radius: 50%; background: #45e07a; box-shadow: 0 0 0 3px rgba(69,224,122,.22); }
.harmony__reset, .harmony__close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(17,24,39,.22);
  color: #fff;
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
}
.harmony__reset:hover, .harmony__close:hover { background: rgba(17,24,39,.42); }
.harmony__progress { height: 5px; background: #eaf1f5; overflow: hidden; }
.harmony__progress span { display: block; height: 100%; background: var(--harmony-accent); transition: width .25s ease; }
.harmony__messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 18px 10px;
  background:
    linear-gradient(180deg, rgba(21,151,212,.045), transparent 180px),
    #f8fbfd;
  scrollbar-width: thin;
}
.harmony__message { display: flex; margin: 0 0 12px; animation: harmony-pop .18s ease both; }
.harmony__message--assistant { justify-content: flex-start; }
.harmony__message--user { justify-content: flex-end; }
.harmony__bubble {
  max-width: min(86%, 570px);
  padding: 11px 13px;
  border: 1px solid var(--harmony-border);
  border-radius: 16px 16px 16px 5px;
  background: #fff;
  color: var(--harmony-dark);
  font-size: 15px;
  box-shadow: 0 3px 12px rgba(17,24,39,.06);
  white-space: normal;
  overflow-wrap: anywhere;
}
.harmony__message--user .harmony__bubble {
  border-color: var(--harmony-dark);
  border-radius: 16px 16px 5px 16px;
  background: var(--harmony-primary);
  color: #fff;
  font-weight: 650;
}
.harmony__bubble a { font-weight: 750; }
.harmony__message--user .harmony__bubble a { color: #fff; }
.harmony__typing { display: flex; gap: 5px; align-items: center; min-width: 54px; }
.harmony__typing span { width: 7px; height: 7px; border-radius: 50%; background: #8ba0ad; animation: harmony-dot 1s infinite ease-in-out; }
.harmony__typing span:nth-child(2) { animation-delay: .12s; }
.harmony__typing span:nth-child(3) { animation-delay: .24s; }
.harmony__quote {
  margin: 8px 0 18px;
  overflow: hidden;
  border: 2px solid var(--harmony-dark);
  border-radius: 18px;
  background: #fff;
  box-shadow: 5px 5px 0 rgba(17,24,39,.16);
  animation: harmony-pop .2s ease both;
}
.harmony__quote-heading { padding: 13px 15px; background: var(--harmony-accent); border-bottom: 2px solid var(--harmony-dark); }
.harmony__quote-kicker { display: block; font-size: 10px; font-weight: 950; letter-spacing: .14em; }
.harmony__quote h3 { margin: 2px 0 0; color: var(--harmony-dark); font-size: 21px; line-height: 1.18; font-weight: 950; }
.harmony__quote-message, .harmony__quote-note, .harmony__quote-payment, .harmony__quote-notice { margin: 0; padding: 12px 15px; font-size: 13px; }
.harmony__quote-message { border-bottom: 1px solid var(--harmony-border); }
.harmony__quote-items { padding: 6px 15px; }
.harmony__quote-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding: 10px 0; border-bottom: 1px dashed #d4e0e8; }
.harmony__quote-item:last-child { border-bottom: 0; }
.harmony__quote-item span { min-width: 0; }
.harmony__quote-item strong { white-space: nowrap; font-size: 17px; }
.harmony__regular { display: block; margin-top: 2px; color: var(--harmony-muted); text-decoration: line-through; font-size: 11px; }
.harmony__quote-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 15px; background: var(--harmony-dark); color: #fff; font-weight: 850; }
.harmony__quote-total strong { color: var(--harmony-accent); font-size: 25px; }
.harmony__quote-notice { background: #eaf7ff; border-top: 1px solid #b8e4fa; font-weight: 700; }
.harmony__quote-note { background: #fff9d9; border-top: 1px solid #f0df84; }
.harmony__quote-payment { border-top: 1px solid var(--harmony-border); color: #465463; }
.harmony__quote-links { display: flex; flex-wrap: wrap; gap: 9px; padding: 12px 15px 15px; border-top: 1px solid var(--harmony-border); }
.harmony__quote-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 12px; border: 2px solid var(--harmony-dark); border-radius: 10px; background: #fff; color: var(--harmony-dark) !important; text-decoration: none; font-size: 13px; font-weight: 900; }
.harmony__quote-link--primary { background: var(--harmony-accent); box-shadow: 3px 3px 0 var(--harmony-dark); }
.harmony__quote--sold_out .harmony__quote-heading, .harmony__quote--service_sold_out .harmony__quote-heading { background: #ff6b6b; }
.harmony__quote--custom .harmony__quote-heading, .harmony__quote--travel_review .harmony__quote-heading { background: #a8e2ff; }
.harmony__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 190px;
  overflow-y: auto;
  padding: 10px 18px 12px;
  background: #f8fbfd;
  border-top: 1px solid #edf2f5;
}
.harmony__quick[hidden] { display: none; }
.harmony__quick-button {
  flex: 1 1 calc(50% - 8px);
  min-width: 130px;
  min-height: 42px;
  padding: 9px 11px;
  border: 2px solid var(--harmony-dark);
  border-radius: 12px;
  background: #fff;
  color: var(--harmony-dark);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--harmony-dark);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.harmony__quick-button:hover { background: #eef9ff; transform: translate(1px,1px); box-shadow: 1px 1px 0 var(--harmony-dark); }
.harmony__quick-button--hint,
.harmony__quick-button--hint:hover {
  background: #eef2f5 !important;
  color: #374151 !important;
  border-style: dashed !important;
  box-shadow: none !important;
  cursor: default !important;
  transform: none !important;
}

.harmony__form { display: flex; align-items: flex-end; gap: 9px; padding: 12px 14px; background: #fff; border-top: 2px solid var(--harmony-dark); }
.harmony__input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  max-height: 120px;
  resize: none;
  border: 1px solid #aabcc8;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: var(--harmony-dark);
  font-size: 16px;
  line-height: 1.35;
  outline: none;
}
.harmony__input:focus { border-color: var(--harmony-primary); box-shadow: 0 0 0 3px rgba(21,151,212,.18); }
.harmony__send {
  min-height: 44px;
  padding: 9px 16px;
  border: 2px solid var(--harmony-dark);
  border-radius: 11px;
  background: var(--harmony-accent);
  color: var(--harmony-dark);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--harmony-dark);
}
.harmony__send:hover { transform: translate(1px,1px); box-shadow: 2px 2px 0 var(--harmony-dark); }
.harmony__send:disabled, .harmony__input:disabled { opacity: .62; cursor: wait; }
.harmony__privacy { margin: 0; padding: 0 16px 12px; background: #fff; color: var(--harmony-muted); font-size: 10px; text-align: center; }
.harmony__honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.harmony__noscript { padding: 10px 16px; }
@keyframes harmony-pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes harmony-dot { 0%, 70%, 100% { transform: translateY(0); opacity: .45; } 35% { transform: translateY(-4px); opacity: 1; } }
@media (max-width: 600px) {
  .harmony--page { padding: 0; }
  .harmony--page .harmony__panel { min-height: 78vh; border-radius: 0; border-left: 0; border-right: 0; }
  .harmony--floating { right: 14px; bottom: 14px; }
  .harmony--floating .harmony__panel { right: -2px; bottom: 64px; width: calc(100vw - 24px); height: calc(100vh - 96px); border-radius: 17px; }
  .harmony__header { padding: 13px 14px; }
  .harmony__avatar { width: 48px; height: 48px; flex-basis: 48px; }
  .harmony__heading h2 { font-size: 21px; }
  .harmony__messages { padding: 16px 12px 8px; }
  .harmony__quick { padding: 9px 12px 11px; }
  .harmony__quick-button { flex-basis: 100%; }
  .harmony__form { padding: 10px; }
  .harmony__send { padding: 8px 13px; }
  .harmony__bubble { max-width: 92%; }
}
@media (prefers-reduced-motion: reduce) {
  .harmony *, .harmony *::before, .harmony *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.harmony-chat .screen-reader-text,
.harmony-launcher .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;
}

/* Harmony 2.0.2 compact production layout */
.harmony--page {
  width: 100%;
  max-width: 900px;
  margin: 12px auto;
  padding: 0;
}

.harmony--page .harmony__panel {
  min-height: 0;
  height: clamp(470px, 68vh, 535px);
  max-height: min(535px, calc(100vh - 24px));
}


.harmony--floating .harmony__panel {
  min-height: 0;
  height: clamp(460px, 68vh, 535px);
  height: clamp(460px, 68svh, 535px);
  max-height: min(535px, calc(100vh - 100px));
  max-height: min(535px, calc(100svh - 100px));
}

.harmony--page .harmony__header,
.harmony--floating .harmony__header {
  flex: 0 0 auto;
  gap: 10px;
  padding: 10px 13px;
}

.harmony--page .harmony__avatar,
.harmony--floating .harmony__avatar {
  width: 50px;
  height: 50px;
  flex-basis: 50px;
}

.harmony--page .harmony__heading h2,
.harmony--floating .harmony__heading h2 {
  font-size: 23px;
}

.harmony--page .harmony__messages,
.harmony--floating .harmony__messages {
  min-height: 0;
  padding: 14px 14px 8px;
}

.harmony--page .harmony__message,
.harmony--floating .harmony__message {
  margin-bottom: 9px;
}

.harmony--page .harmony__bubble,
.harmony--floating .harmony__bubble {
  padding: 9px 11px;
  font-size: 14px;
  line-height: 1.35;
}

.harmony--page .harmony__quick,
.harmony--floating .harmony__quick {
  flex: 0 0 auto;
  max-height: 94px;
  overflow-y: auto;
  padding: 5px 14px 8px;
}

.harmony--page .harmony__quick-button,
.harmony--floating .harmony__quick-button {
  min-height: 34px;
  padding: 5px 10px;
  font-size: 12px;
}

.harmony--page .harmony__form,
.harmony--floating .harmony__form {
  flex: 0 0 auto;
  gap: 8px;
  padding: 8px 10px;
}

.harmony__input,
.harmony__input:focus,
.harmony__input:not(:placeholder-shown) {
  color: #000000 !important;
  font-weight: 800 !important;
  -webkit-text-fill-color: #000000 !important;
  opacity: 1 !important;
}

.harmony__input::placeholder {
  color: #6b7280 !important;
  font-weight: 600 !important;
  -webkit-text-fill-color: #6b7280 !important;
  opacity: 1 !important;
}

.harmony--page .harmony__input,
.harmony--floating .harmony__input {
  min-height: 44px;
  max-height: 88px;
  padding: 9px 11px;
  font-size: 16px;
}

.harmony--page .harmony__send,
.harmony--floating .harmony__send {
  min-height: 44px;
  padding: 8px 14px;
  font-size: 14px;
}

.harmony--page .harmony__privacy,
.harmony--floating .harmony__privacy {
  flex: 0 0 auto;
  padding: 4px 10px 6px;
  font-size: 9px;
}

.harmony--page .harmony__quote,
.harmony--floating .harmony__quote {
  margin: 4px 0 8px;
  border-radius: 14px;
}

.harmony--page .harmony__quote-heading,
.harmony--floating .harmony__quote-heading {
  padding: 9px 12px;
}

.harmony--page .harmony__quote h3,
.harmony--floating .harmony__quote h3 {
  font-size: 19px;
}

.harmony--page .harmony__quote-message,
.harmony--page .harmony__quote-note,
.harmony--page .harmony__quote-payment,
.harmony--page .harmony__quote-notice,
.harmony--floating .harmony__quote-message,
.harmony--floating .harmony__quote-note,
.harmony--floating .harmony__quote-payment,
.harmony--floating .harmony__quote-notice {
  padding: 8px 12px;
  font-size: 12px;
}

.harmony--page .harmony__quote-items,
.harmony--floating .harmony__quote-items {
  padding: 3px 12px;
}

.harmony--page .harmony__quote-item,
.harmony--floating .harmony__quote-item {
  padding: 7px 0;
}

.harmony--page .harmony__quote-total,
.harmony--floating .harmony__quote-total {
  padding: 9px 12px;
}

.harmony--page .harmony__quote-total strong,
.harmony--floating .harmony__quote-total strong {
  font-size: 22px;
}

.harmony--page .harmony__quote-links,
.harmony--floating .harmony__quote-links {
  gap: 6px;
  padding: 8px 12px 10px;
}

.harmony--page .harmony__quote-link,
.harmony--floating .harmony__quote-link {
  min-height: 34px;
  padding: 6px 9px;
  font-size: 12px;
}

@media (max-width: 600px) {
  .harmony--page {
    width: calc(100% - 12px);
    margin: 6px auto;
  }

  .harmony--page .harmony__panel {
    min-height: 0;
    height: min(590px, 72vh);
    height: min(590px, 72svh);
    max-height: calc(100vh - 12px);
    max-height: calc(100svh - 12px);
    border-left: 2px solid var(--harmony-dark);
    border-right: 2px solid var(--harmony-dark);
    border-radius: 17px;
  }

  .harmony--floating .harmony__panel {
    min-height: 0;
    height: min(590px, calc(100vh - 92px));
    height: min(590px, calc(100svh - 92px));
    max-height: calc(100vh - 92px);
    max-height: calc(100svh - 92px);
  }

  .harmony--page .harmony__header,
  .harmony--floating .harmony__header {
    padding: 8px 9px;
  }

  .harmony--page .harmony__avatar,
  .harmony--floating .harmony__avatar {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .harmony--page .harmony__heading h2,
  .harmony--floating .harmony__heading h2 {
    font-size: 21px;
  }

  .harmony--page .harmony__messages,
  .harmony--floating .harmony__messages {
    padding: 10px 8px 6px;
  }

  .harmony--page .harmony__quick,
  .harmony--floating .harmony__quick {
    display: flex;
    flex-wrap: nowrap;
    max-height: 58px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 8px 7px;
    -webkit-overflow-scrolling: touch;
  }

  .harmony--page .harmony__quick-button,
  .harmony--floating .harmony__quick-button {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    min-height: 38px;
    padding: 7px 11px;
    font-size: 13px;
  }

  .harmony--page .harmony__form,
  .harmony--floating .harmony__form {
    gap: 6px;
    padding: 7px;
  }

  .harmony--page .harmony__privacy,
  .harmony--floating .harmony__privacy {
    padding: 3px 7px 5px;
    font-size: 8px;
  }
}

/* Harmony 2.0.3 interaction and quote refinements */
.harmony__quote-text-notice {
  margin: 0;
  padding: 9px 12px;
  border-bottom: 1px solid #9ed9f5;
  background: #dff4ff;
  color: #07151f;
  font-size: 13px;
  font-weight: 950;
  text-align: center;
}

.harmony__quote-link {
  cursor: pointer;
  font-family: inherit;
  line-height: 1.15;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.harmony__quote-link:hover {
  transform: translate(1px, 1px);
  filter: brightness(.98);
}

.harmony__quote-link--ceremony {
  background: #66c7f3;
  box-shadow: 3px 3px 0 var(--harmony-dark);
}

.harmony__quote-link--prices {
  background: var(--harmony-accent);
  box-shadow: 3px 3px 0 var(--harmony-dark);
}

.harmony__quote-link--detail {
  background: #b9efd4;
  box-shadow: 3px 3px 0 var(--harmony-dark);
}

.harmony__quote-link--ready {
  background: #ff7979;
  box-shadow: 3px 3px 0 var(--harmony-dark);
}

.harmony__quick-button--color-1 { background: #dff4ff; }
.harmony__quick-button--color-2 { background: #fff1a8; }
.harmony__quick-button--color-3 { background: #ffd6e4; }
.harmony__quick-button--color-4 { background: #cff3df; }
.harmony__quick-button--color-5 { background: #e6dcff; }

.harmony__quick-button:hover {
  filter: brightness(.98);
}

.harmony[data-input-type="referral_source"] .harmony__quick,
.harmony[data-input-type="event_type"] .harmony__quick,
.harmony[data-input-type="services"] .harmony__quick {
  display: grid;
  max-height: none;
  overflow: visible;
  gap: 5px;
  padding-top: 5px;
  padding-bottom: 7px;
}

.harmony[data-input-type="referral_source"] .harmony__quick {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.harmony[data-input-type="event_type"] .harmony__quick {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.harmony--page[data-input-type="services"] .harmony__quick {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.harmony--floating[data-input-type="services"] .harmony__quick {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.harmony[data-input-type="referral_source"] .harmony__quick-button,
.harmony[data-input-type="event_type"] .harmony__quick-button,
.harmony[data-input-type="services"] .harmony__quick-button {
  min-width: 0;
  min-height: 28px;
  padding: 3px 6px;
  font-size: 10.75px;
  line-height: 1.15;
  box-shadow: 1px 1px 0 var(--harmony-dark);
}

@media (max-width: 600px) {
  .harmony[data-input-type="referral_source"] .harmony__quick,
  .harmony[data-input-type="event_type"] .harmony__quick,
  .harmony[data-input-type="services"] .harmony__quick {
    display: grid;
    max-height: none;
    overflow: visible;
    gap: 4px;
    padding: 4px 7px 6px;
  }

  .harmony[data-input-type="referral_source"] .harmony__quick,
  .harmony[data-input-type="services"] .harmony__quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .harmony[data-input-type="event_type"] .harmony__quick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .harmony[data-input-type="referral_source"] .harmony__quick-button,
  .harmony[data-input-type="event_type"] .harmony__quick-button,
  .harmony[data-input-type="services"] .harmony__quick-button {
    min-width: 0;
    min-height: 28px;
    padding: 3px 5px;
    font-size: 10.25px;
    white-space: normal;
  }

  .harmony__quote-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .harmony__quote-link {
    width: 100%;
  }
}


/* Harmony 2.0.4 compact ending choices */

/* Harmony 2.0.5 input, referral, and typed-other refinements */
.harmony[data-input-type="ending"] .harmony__quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: none;
  overflow: visible;
  gap: 5px;
  padding-top: 5px;
  padding-bottom: 7px;
}

.harmony[data-input-type="ending"] .harmony__quick-button {
  min-width: 0;
  min-height: 34px;
  padding: 5px 7px;
  font-size: 11.5px;
  line-height: 1.15;
  white-space: normal;
}

@media (max-width: 600px) {
  .harmony[data-input-type="ending"] .harmony__quick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px 7px 6px;
  }

  .harmony[data-input-type="ending"] .harmony__quick-button {
    min-height: 32px;
    padding: 4px 5px;
    font-size: 10.5px;
  }
}

/* Harmony 2.0.6 brand-color, event-type, and alignment refinements */
.harmony {
  --harmony-brand-blue: #1597d4;
  --harmony-brand-yellow: #ffd400;
  --harmony-brand-red: #ed1c24;
  --harmony-brand-black: #111111;
  --harmony-accent: var(--harmony-brand-yellow);
}

.harmony__form,
.harmony--page .harmony__form,
.harmony--floating .harmony__form {
  align-items: center;
}

.harmony__send,
.harmony--page .harmony__send,
.harmony--floating .harmony__send {
  align-self: center;
  margin: 0 3px 3px 0;
  background: var(--harmony-brand-yellow);
  color: var(--harmony-brand-black);
  font-weight: 950;
}

.harmony__quick-button {
  font-weight: 900;
}

.harmony__quick-button--color-1 {
  background: var(--harmony-brand-blue);
  color: #ffffff;
}

.harmony__quick-button--color-2 {
  background: var(--harmony-brand-yellow);
  color: var(--harmony-brand-black);
}

.harmony__quick-button--color-3 {
  background: var(--harmony-brand-red);
  color: #ffffff;
}

.harmony__quick-button--color-4 {
  background: #ffffff;
  color: var(--harmony-brand-black);
}

.harmony__quick-button--color-5 {
  background: var(--harmony-brand-black);
  color: var(--harmony-brand-yellow);
}

.harmony__quick-button:hover {
  filter: brightness(.94);
}

.harmony__quick-hint {
  grid-column: 1 / -1;
  width: 100%;
  margin: 2px 0 0;
  padding: 5px 8px 5px 11px;
  border-left: 5px solid var(--harmony-brand-yellow);
  background: linear-gradient(90deg, rgba(255, 212, 0, .28), rgba(255, 255, 255, 0));
  color: var(--harmony-brand-black);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-align: left;
}

.harmony__quote-link,
.harmony--page .harmony__quote-link,
.harmony--floating .harmony__quote-link {
  font-weight: 950;
}

.harmony__quote-link--ceremony {
  background: var(--harmony-brand-blue);
  color: #ffffff !important;
}

.harmony__quote-link--prices {
  background: var(--harmony-brand-yellow);
  color: var(--harmony-brand-black) !important;
}

.harmony__quote-link--detail {
  background: var(--harmony-brand-black);
  color: var(--harmony-brand-yellow) !important;
}

.harmony__quote-link--ready {
  background: var(--harmony-brand-red);
  color: #ffffff !important;
}

.harmony[data-input-type="ending"] .harmony__quick-button {
  font-weight: 950;
}

@media (max-width: 600px) {
  .harmony__quick-hint {
    padding: 5px 7px 5px 9px;
    font-size: 12px;
  }
}

/* Keep quick-choice labels bold despite the global button font shorthand. */
.harmony .harmony__quick-button {
  font-weight: 900;
}

/* Harmony 2.0.7 question emphasis, uniform brand buttons, and clickable phone */
.harmony__message-line--question {
  font-weight: 900;
}

.harmony__phone-link {
  color: inherit;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.harmony .harmony__quick-button,
.harmony .harmony__quick-button--color-1,
.harmony .harmony__quick-button--color-2,
.harmony .harmony__quick-button--color-3,
.harmony .harmony__quick-button--color-4,
.harmony .harmony__quick-button--color-5,
.harmony .harmony__quote-link,
.harmony .harmony__quote-link--ceremony,
.harmony .harmony__quote-link--prices,
.harmony .harmony__quote-link--detail,
.harmony .harmony__quote-link--ready {
  background: var(--harmony-brand-blue) !important;
  color: #ffffff !important;
  border-color: var(--harmony-brand-black) !important;
  font-weight: 950 !important;
  box-shadow: 3px 3px 0 var(--harmony-brand-black), inset 0 -3px 0 rgba(255, 212, 0, .72) !important;
}

.harmony .harmony__quick-button:hover,
.harmony .harmony__quote-link:hover {
  background: #0f86bf !important;
  color: #ffffff !important;
  filter: none;
}

.harmony .harmony__quick-hint {
  background: linear-gradient(90deg, rgba(255, 212, 0, .32), rgba(255, 255, 255, .92));
}

/* Harmony 2.0.8 approved opening, question emphasis, yellow quote actions, and composer alignment */
.harmony__message-line--question,
.harmony__message-line--welcome {
  color: #000000 !important;
  font-weight: 950 !important;
}

.harmony .harmony__quote-link,
.harmony .harmony__quote-link--ceremony,
.harmony .harmony__quote-link--prices,
.harmony .harmony__quote-link--detail,
.harmony .harmony__quote-link--ready {
  background: var(--harmony-brand-yellow) !important;
  color: var(--harmony-brand-black) !important;
  border-color: var(--harmony-brand-black) !important;
  font-weight: 950 !important;
  box-shadow: 3px 3px 0 var(--harmony-brand-black), inset 0 -3px 0 rgba(21, 151, 212, .58) !important;
}

.harmony .harmony__quote-link:hover,
.harmony .harmony__quote-link:focus-visible {
  background: #f3c900 !important;
  color: var(--harmony-brand-black) !important;
}

.harmony__form,
.harmony--page .harmony__form,
.harmony--floating .harmony__form {
  align-items: flex-start !important;
}

.harmony--page .harmony__input,
.harmony--floating .harmony__input,
.harmony--page .harmony__send,
.harmony--floating .harmony__send {
  min-height: 52px;
}

.harmony__send,
.harmony--page .harmony__send,
.harmony--floating .harmony__send {
  height: 52px;
  align-self: flex-start !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 3px 3px 0 !important;
}



/* Harmony 2.0.9, every assistant question is bold black. */
.harmony .harmony__message--assistant .harmony__message-line--question,
.harmony .harmony__message--assistant .harmony__message-line--question a {
  color: #000000 !important;
  font-weight: 950 !important;
}


/* Harmony 2.0.10 presence pulse, service upsell, included-info actions, and joke emphasis */
.harmony__status i {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  box-shadow: 0 0 0 4px rgba(69, 224, 122, .22);
  animation: harmony-presence-pulse 1.55s ease-in-out infinite;
}

@keyframes harmony-presence-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 3px rgba(69, 224, 122, .22);
  }
  50% {
    opacity: .42;
    transform: scale(.82);
    box-shadow: 0 0 0 7px rgba(69, 224, 122, .08);
  }
}

.harmony .harmony__message--assistant.harmony__message--joke .harmony__bubble,
.harmony .harmony__message--assistant.harmony__message--joke .harmony__message-line {
  color: #000000 !important;
  font-weight: 950 !important;
}

.harmony__quote-upsell {
  margin: 12px 14px;
  padding: 13px 14px 14px;
  border: 3px solid var(--harmony-brand-black);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7ad 0%, var(--harmony-brand-yellow) 100%);
  box-shadow: 4px 4px 0 var(--harmony-brand-blue);
}

.harmony__quote-upsell-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: var(--harmony-brand-black);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
}

.harmony__quote-upsell-title {
  margin: 0;
  color: #000000;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 950;
}

.harmony__quote-upsell-message {
  margin: 7px 0 10px;
  color: #000000;
  font-size: 13px;
  line-height: 1.38;
  font-weight: 750;
}

.harmony .harmony__quote-upsell .harmony__quote-link--upsell {
  width: 100%;
  margin-top: 2px;
}

.harmony .harmony__quote-link--included {
  flex: 1 1 29%;
  min-width: 150px;
}

@media (prefers-reduced-motion: reduce) {
  .harmony__status i {
    animation: none;
  }
}

/* Harmony 2.0.11 quote reveal, universal assistant emphasis, and two-row quote actions */
.harmony .harmony__message--assistant .harmony__bubble,
.harmony .harmony__message--assistant .harmony__message-line,
.harmony .harmony__message--assistant .harmony__message-line a {
  color: #000000 !important;
  font-weight: 900 !important;
}

.harmony .harmony__quote-message,
.harmony .harmony__quote-text-notice,
.harmony .harmony__quote-note,
.harmony .harmony__quote-payment,
.harmony .harmony__quote-notice,
.harmony .harmony__quote-item span,
.harmony .harmony__quote-upsell-message {
  color: #000000 !important;
  font-weight: 850 !important;
}

.harmony .harmony__quote-links,
.harmony--page .harmony__quote-links,
.harmony--floating .harmony__quote-links {
  display: block !important;
}

.harmony__quote-links-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 9px;
  width: 100%;
}

.harmony__quote-links-row--info {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #c8d5de;
}

.harmony__quote-links-row .harmony__quote-link {
  width: 100%;
  min-width: 0;
}

.harmony .harmony__message--gathering .harmony__bubble,
.harmony .harmony__message--gathering .harmony__message-line {
  color: #000000 !important;
  font-weight: 950 !important;
}

@media (max-width: 680px) {
  .harmony__quote-links-row--info {
    grid-template-columns: 1fr;
  }
}


/* Harmony 2.0.12 quote timing, ceremony attention cue, and readable add-on price */
.harmony .harmony__quote-link--ceremony {
  animation: harmony-ceremony-blink 1.25s ease-in-out infinite;
}

@keyframes harmony-ceremony-blink {
  0%, 100% {
    background: var(--harmony-brand-yellow) !important;
    color: #000000 !important;
    box-shadow: 4px 4px 0 #111827, 0 0 0 0 rgba(247, 209, 23, .72);
    transform: translateY(0) scale(1);
  }
  50% {
    background: #ef233c !important;
    color: #ffffff !important;
    box-shadow: 4px 4px 0 #111827, 0 0 0 7px rgba(239, 35, 60, .18);
    transform: translateY(-1px) scale(1.025);
  }
}

.harmony__quote-upsell-price {
  display: inline-block;
  white-space: nowrap;
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: normal !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .harmony .harmony__quote-link--ceremony {
    animation: none;
  }
}

/* Harmony 2.0.14 cleaner Uplighting upsell headline */
.harmony .harmony__quote-upsell-title,
.harmony .harmony__quote-upsell-title .harmony__quote-upsell-price {
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: normal !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  font-variant-numeric: tabular-nums;
}

/* Harmony 2.0.15 mobile combination stacking, repeatable quick details, and named inline links */
.harmony,
.harmony__panel,
.harmony__messages,
.harmony__quick,
.harmony__form {
  max-width: 100%;
}

.harmony__quick,
.harmony__messages {
  overflow-x: hidden;
}

.harmony[data-input-type="combination"] .harmony__quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-height: none;
  overflow: visible;
  gap: 6px;
}

.harmony[data-input-type="combination"] .harmony__quick-button {
  width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.harmony[data-input-type="post_quote_actions"] .harmony__quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-height: 154px;
  overflow-x: hidden;
  overflow-y: auto;
  gap: 6px;
}

.harmony[data-input-type="post_quote_actions"] .harmony__quick-button {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 6px 7px;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 11.5px;
  line-height: 1.15;
}

.harmony .harmony__quick-button--quote-answer {
  background: var(--harmony-brand-yellow) !important;
  color: var(--harmony-brand-black) !important;
  border-color: var(--harmony-brand-black) !important;
  box-shadow: 3px 3px 0 var(--harmony-brand-black), inset 0 -3px 0 rgba(21, 151, 212, .58) !important;
}

.harmony .harmony__quick-button--quote-answer:hover,
.harmony .harmony__quick-button--quote-answer:focus-visible {
  background: #f3c900 !important;
  color: var(--harmony-brand-black) !important;
}

.harmony__inline-link {
  color: #005f91 !important;
  font-weight: 950 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  .harmony[data-input-type="combination"] .harmony__quick {
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
    padding: 5px 8px 8px;
  }

  .harmony[data-input-type="combination"] .harmony__quick-button {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .harmony[data-input-type="post_quote_actions"] .harmony__quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 174px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 5px 8px 8px;
  }
}

/* Harmony 2.0.19 final appointment call to action */
.harmony .harmony__quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
}

.harmony .harmony__quick-button--appointment {
  background: var(--harmony-brand-yellow) !important;
  color: var(--harmony-brand-black) !important;
  border-color: var(--harmony-brand-black) !important;
  font-weight: 950 !important;
  box-shadow: 3px 3px 0 var(--harmony-brand-black), inset 0 -3px 0 rgba(21, 151, 212, .58) !important;
}

.harmony .harmony__quick-button--appointment:hover,
.harmony .harmony__quick-button--appointment:focus-visible {
  background: #f3c900 !important;
  color: var(--harmony-brand-black) !important;
}

.harmony[data-input-type="closing"] .harmony__quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-height: none;
  overflow: visible;
  gap: 6px;
}

.harmony[data-input-type="closing"] .harmony__quick-button {
  width: 100%;
  min-width: 0;
  white-space: normal;
}

.harmony[data-input-type="closing"] .harmony__quick-button--appointment {
  grid-column: 1 / -1;
}

.harmony[data-input-type="closing"] .harmony__quick-button:last-child:nth-child(2) {
  grid-column: 1 / -1;
}


/* Harmony 2.0.20 DJ-only bundle upsell choices */
.harmony__quote-upsell-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 2px;
}

.harmony__quote-upsell-links .harmony__quote-link--upsell {
  width: 100%;
  min-width: 0;
  margin-top: 0 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .harmony__quote-upsell-links {
    grid-template-columns: 1fr;
  }
}

/* Harmony 2.0.24 restart and contact autofill */
.harmony__reset {
  width: auto;
  min-width: 92px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.harmony__reset span { font-size: 19px; line-height: 1; }
.harmony__reset strong { font: inherit; }
.harmony__restart-dialog[hidden] { display: none !important; }
.harmony__restart-dialog { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 18px; }
.harmony__restart-backdrop { position: absolute; inset: 0; background: rgba(17,24,39,.68); }
.harmony__restart-card {
  position: relative;
  width: min(100%, 460px);
  padding: 22px;
  border: 3px solid #111827;
  border-radius: 18px;
  background: #fff;
  box-shadow: 8px 8px 0 #ffd400;
  color: #111827;
  text-align: center;
}
.harmony__restart-card h3 { margin: 0 0 8px; font-size: 22px; font-weight: 900; }
.harmony__restart-card p { margin: 0 0 16px; font-weight: 750; }
.harmony__restart-actions { display: grid; gap: 10px; }
.harmony__restart-actions button, .harmony__restart-forget {
  min-height: 46px;
  border: 2px solid #111827;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 850;
}
.harmony__restart-autofill { background: #ffd400; color: #111827; }
.harmony__restart-blank { background: #1597d4; color: #fff; }
.harmony__restart-cancel { background: #f3f4f6; color: #111827; }
.harmony__restart-forget { margin-top: 12px; padding: 6px 12px; min-height: 34px; border-width: 1px; background: transparent; color: #b42318; text-decoration: underline; }
@media (max-width: 520px) {
  .harmony__reset { min-width: 82px; padding: 0 9px; font-size: 13px; }
  .harmony__restart-card { padding: 18px 14px; }
}

/* Harmony 2.0.29 payment highlight */
.harmony .harmony__quote-payment {
  margin: 12px 14px;
  padding: 13px 15px;
  border: 2px solid #111827;
  border-radius: 12px;
  background: #fff3a6;
  color: #111827;
  font-weight: 900;
  line-height: 1.45;
  box-shadow: 4px 4px 0 #1597d4;
}


/* Harmony 2.0.30 stronger ceremony blink */
.harmony .harmony__quote-link--ceremony {
  animation: harmony-ceremony-pop-blink .78s steps(1, end) infinite !important;
  will-change: background-color, color, box-shadow, transform;
}

@keyframes harmony-ceremony-pop-blink {
  0%, 49% {
    background-color: #ffd400 !important;
    color: #000000 !important;
    border-color: #111827 !important;
    box-shadow: 4px 4px 0 #111827, 0 0 0 4px rgba(255, 212, 0, .38) !important;
    transform: scale(1);
  }
  50%, 100% {
    background-color: #ed1c24 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    box-shadow: 4px 4px 0 #111827, 0 0 0 7px rgba(237, 28, 36, .32) !important;
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .harmony .harmony__quote-link--ceremony {
    animation: harmony-ceremony-pop-blink 1.2s steps(1, end) infinite !important;
  }
}


/* Urgent callback action added in 2.0.35. */
.harmony__quote-link--asap {
  background: #ef1f2d !important;
  color: #ffffff !important;
  border-color: #111827 !important;
  font-weight: 900 !important;
}
.harmony__quote-link--asap:hover,
.harmony__quote-link--asap:focus-visible {
  background: #c8101e !important;
  color: #ffffff !important;
}


/* Harmony 2.0.36: keep quote-link labels centered, including Photo Booth demo. */
.harmony .harmony__quote-link,
.harmony .harmony__quote-link--detail {
  text-align: center !important;
  justify-content: center !important;
}

/* Harmony 2.0.41: comprehensive mobile layout. Desktop rules remain unchanged. */
@media (max-width: 600px) {
  .harmony,
  .harmony *,
  .harmony *::before,
  .harmony *::after {
    box-sizing: border-box;
  }

  .harmony,
  .harmony__panel,
  .harmony__body,
  .harmony__messages,
  .harmony__quick,
  .harmony__form,
  .harmony__quote,
  .harmony__quote-links,
  .harmony__quote-items {
    min-width: 0;
    max-width: 100%;
  }

  .harmony__panel,
  .harmony__body,
  .harmony__messages,
  .harmony__quick,
  .harmony__form {
    overflow-x: hidden;
  }

  .harmony__header {
    gap: 9px;
    padding: 11px 10px;
  }

  .harmony__heading {
    min-width: 0;
  }

  .harmony__heading h2,
  .harmony__heading p {
    overflow-wrap: anywhere;
  }

  .harmony__reset {
    flex: 0 0 auto;
    min-width: 78px;
    height: 36px;
    padding: 0 8px;
    font-size: 12px;
  }

  .harmony__messages {
    padding: 12px 9px 7px;
  }

  .harmony__bubble {
    max-width: 94%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  /* Default mobile choices: full-width rows so labels never run off-screen. */
  .harmony__quick,
  .harmony[data-input-type] .harmony__quick {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 8px;
    padding: 8px 10px 10px;
    overflow-x: hidden;
  }

  .harmony .harmony__quick-button,
  .harmony[data-input-type] .harmony__quick-button,
  .harmony .harmony__quick-link {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 9px 11px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.2;
    text-align: center;
    justify-content: center;
  }

  /* Ceremony choices must all be readable at once, with no sideways swipe. */
  .harmony[data-input-type="ceremony_choice"] .harmony__quick {
    grid-template-columns: minmax(0, 1fr) !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .harmony[data-input-type="ceremony_choice"] .harmony__quick-button {
    min-height: 50px;
    font-size: 14px;
    font-weight: 900;
  }

  /* Combination choices also stack because their labels are long. */
  .harmony[data-input-type="combination"] .harmony__quick {
    grid-template-columns: minmax(0, 1fr) !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Compact short-choice screens may use two columns without clipping. */
  .harmony[data-input-type="referral_source"] .harmony__quick,
  .harmony[data-input-type="event_type"] .harmony__quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 218px;
    overflow-y: auto;
  }

  .harmony[data-input-type="referral_source"] .harmony__quick-button,
  .harmony[data-input-type="event_type"] .harmony__quick-button {
    min-height: 42px;
    padding: 7px 6px;
    font-size: 12px;
  }

  /* Quote actions reflow cleanly instead of shrinking or overflowing. */
  .harmony__quote-links,
  .harmony__quote-links--primary,
  .harmony__quote-links--details,
  .harmony__quote-upsell-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .harmony .harmony__quote-link,
  .harmony .harmony__quote-link--detail,
  .harmony .harmony__quote-link--ceremony,
  .harmony .harmony__quote-link--asap {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 46px;
    padding: 8px 7px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.18;
    text-align: center !important;
    justify-content: center !important;
  }

  .harmony__quote-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .harmony__quote-item span,
  .harmony__quote-message,
  .harmony__quote-note,
  .harmony__quote-payment,
  .harmony__quote-notice,
  .harmony__quote a {
    overflow-wrap: anywhere;
  }

  .harmony__quote-item strong {
    align-self: start;
    white-space: nowrap;
  }

  .harmony__quote-total {
    gap: 10px;
  }

  .harmony__quote-total strong {
    font-size: 22px;
    white-space: nowrap;
  }

  /* Keep composer controls aligned and usable in mobile webviews. */
  .harmony__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 8px;
    padding: 9px;
  }

  .harmony__input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
  }

  .harmony__send {
    align-self: stretch;
    min-width: 72px;
    min-height: 48px;
    margin: 0;
    padding: 8px 11px;
  }

  .harmony__privacy {
    padding: 0 10px 10px;
    line-height: 1.35;
  }
}

@media (max-width: 390px) {
  .harmony[data-input-type="referral_source"] .harmony__quick,
  .harmony[data-input-type="event_type"] .harmony__quick,
  .harmony__quote-links,
  .harmony__quote-links--primary,
  .harmony__quote-links--details,
  .harmony__quote-upsell-links {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .harmony__quote-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .harmony__quote-item strong {
    justify-self: start;
  }

  .harmony__form {
    grid-template-columns: minmax(0, 1fr) 68px;
  }

  .harmony__send {
    min-width: 68px;
    padding-inline: 8px;
  }
}


/* Harmony 2.0.42 mobile conversation-space refinements */
.harmony__quote-options-toggle {
  display: none;
}

@media (max-width: 600px) {
  .harmony__messages {
    min-height: 170px;
  }

  .harmony__quick:not([hidden]) {
    max-height: min(190px, 30svh) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .harmony__quick[hidden] {
    display: none !important;
  }

  .harmony__quote-options-toggle {
    display: block;
    width: calc(100% - 24px);
    min-height: 44px;
    margin: 10px 12px 0;
    padding: 8px 12px;
    border: 2px solid var(--harmony-dark);
    border-radius: 9px;
    background: var(--harmony-brand-yellow);
    color: var(--harmony-brand-black);
    box-shadow: 2px 2px 0 var(--harmony-dark);
    font: inherit;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
  }

  .harmony__quote-links--collapsible-mobile .harmony__quote-links-row--primary > :nth-child(n+4),
  .harmony__quote-links--collapsible-mobile .harmony__quote-links-row--info {
    display: none;
  }

  .harmony__quote-links--collapsible-mobile.is-expanded .harmony__quote-links-row--primary > :nth-child(n+4) {
    display: inline-flex;
  }

  .harmony__quote-links--collapsible-mobile.is-expanded .harmony__quote-links-row--info {
    display: grid;
  }

  .harmony__quote-links--collapsible-mobile:not(.is-expanded) {
    padding-top: 8px;
  }

  .harmony__quote-links-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 390px) {
  .harmony__quote-links-row {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Harmony 2.0.43: keep completed quotes prominent on phones. */
@media (max-width: 600px) {
  .harmony__quote {
    scroll-margin-top: 8px;
  }

  .harmony__quote-heading {
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .harmony__quote-items,
  .harmony__quote-total,
  .harmony__quote-payment {
    position: relative;
    z-index: 1;
  }

  .harmony__quote-upsell {
    margin-top: 10px;
  }

  .harmony__quick:not([hidden]) {
    max-height: min(150px, 23svh) !important;
  }
}


/* Harmony 2.0.44: keep the composer visible above mobile software keyboards. */
@media (max-width: 600px) {
  .harmony.is-keyboard-open {
    scroll-margin-bottom: 12px;
  }

  .harmony--page.is-keyboard-open .harmony__panel,
  .harmony--floating.is-keyboard-open .harmony__panel {
    min-height: 0 !important;
    height: calc(var(--harmony-visible-height, 100dvh) - 8px) !important;
    max-height: calc(var(--harmony-visible-height, 100dvh) - 8px) !important;
  }

  .harmony.is-keyboard-open .harmony__messages {
    min-height: 90px !important;
  }

  .harmony.is-keyboard-open .harmony__privacy {
    display: none;
  }

  .harmony.is-keyboard-open .harmony__form {
    position: relative;
    z-index: 30;
    flex: 0 0 auto;
    background: #fff;
    padding-bottom: max(9px, env(safe-area-inset-bottom));
  }

  .harmony.is-keyboard-open .harmony__input {
    font-size: 16px;
  }
}


/* Harmony 2.0.49: mobile keyboard visibility and compact post-quote actions. */
@media (max-width: 600px) {
  /* Keep the joke on desktop, remove it from the scarce phone action area. */
  .harmony__quick-button--joke {
    display: none !important;
  }

  /* Give the quote the largest possible reading area. */
  .harmony__quick:not([hidden]) {
    position: relative !important;
    inset: auto !important;
    z-index: 4;
    flex: 0 0 auto;
    max-height: 108px !important;
    overflow-y: auto !important;
    padding: 7px 10px 9px !important;
  }

  .harmony__quick-button--ask,
  .harmony__quick-button--goodbye {
    min-height: 38px !important;
    padding: 6px 10px !important;
  }

  .harmony__messages {
    scroll-padding-top: 8px;
    scroll-padding-bottom: 24px;
    overscroll-behavior: contain;
  }

  .harmony__quote {
    margin-bottom: 12px !important;
  }

  /* While the phone keyboard is open, temporarily pin Harmony to the actual
     visual viewport. This keeps the input above iOS and Android keyboards,
     even when the browser does not resize the normal page viewport. */
  .harmony--page.is-keyboard-open {
    position: fixed !important;
    top: var(--harmony-viewport-top, 0px) !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    z-index: 2147483000 !important;
    width: 100vw !important;
    height: var(--harmony-visible-height, 100dvh) !important;
    max-height: var(--harmony-visible-height, 100dvh) !important;
    padding: 4px !important;
    background: #f8fbfd;
    align-items: stretch;
  }

  .harmony--page.is-keyboard-open .harmony__panel,
  .harmony--floating.is-keyboard-open .harmony__panel {
    width: 100% !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    border-radius: 12px !important;
  }

  .harmony.is-keyboard-open .harmony__quick {
    display: none !important;
  }

  .harmony.is-keyboard-open .harmony__messages {
    flex: 1 1 auto !important;
    min-height: 64px !important;
    padding-bottom: 8px !important;
  }

  .harmony.is-keyboard-open .harmony__privacy {
    display: none !important;
  }

  .harmony.is-keyboard-open .harmony__form {
    position: relative !important;
    bottom: auto !important;
    z-index: 50;
    flex: 0 0 auto !important;
    padding: 8px !important;
    padding-bottom: max(8px, env(safe-area-inset-bottom)) !important;
    background: #fff;
    box-shadow: 0 -5px 14px rgba(17, 24, 39, .09);
  }

  .harmony.is-keyboard-open .harmony__input {
    min-height: 48px !important;
    font-size: 16px !important;
  }
}

/* Harmony 2.0.50: compact keyboard mode for a cleaner mobile conversation view. */
@media (max-width: 600px) {
  /* Shrink the branding bar only while the software keyboard is open. */
  .harmony.is-keyboard-open .harmony__header {
    min-height: 46px;
    gap: 7px;
    padding: 5px 8px;
  }

  .harmony.is-keyboard-open .harmony__header::after {
    display: none;
  }

  .harmony.is-keyboard-open .harmony__avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-width: 1px;
    font-size: 15px;
  }

  .harmony.is-keyboard-open .harmony__eyebrow,
  .harmony.is-keyboard-open .harmony__status {
    display: none;
  }

  .harmony.is-keyboard-open .harmony__heading h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.05;
  }

  .harmony.is-keyboard-open .harmony__reset,
  .harmony.is-keyboard-open .harmony__close {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    font-size: 17px;
  }

  .harmony.is-keyboard-open .harmony__reset strong {
    display: none;
  }

  .harmony.is-keyboard-open .harmony__progress {
    height: 3px;
  }

  /* Keep useful choices available instead of making buttons suddenly vanish. */
  .harmony.is-keyboard-open .harmony__quick:not([hidden]) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 72px !important;
    gap: 6px;
    padding: 5px 8px 6px !important;
    overflow-y: auto !important;
  }

  .harmony.is-keyboard-open .harmony__quick-button,
  .harmony.is-keyboard-open .harmony__quick-link {
    min-height: 32px !important;
    padding: 5px 7px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
  }

  .harmony.is-keyboard-open .harmony__messages {
    min-height: 92px !important;
    padding-top: 7px !important;
  }
}

@media (max-width: 390px) {
  .harmony.is-keyboard-open .harmony__quick:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
    max-height: 70px !important;
  }
}


/* Harmony 2.0.51: stable mobile keyboard mode. Keep Harmony in normal page flow
   to prevent Android from jumping between the full and compact headers. */
@media (max-width: 600px) {
  .harmony--page.is-keyboard-open {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .harmony--page.is-keyboard-open .harmony__panel {
    height: min(560px, calc(var(--harmony-visible-height, 100dvh) - 8px)) !important;
    min-height: 300px !important;
    max-height: calc(var(--harmony-visible-height, 100dvh) - 8px) !important;
    border-radius: 12px !important;
  }

  .harmony.is-keyboard-open .harmony__messages {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto !important;
  }

  .harmony.is-keyboard-open .harmony__quick:not([hidden]) {
    display: none !important;
  }
}

/* Harmony 2.1.0: dedicated mobile and desktop presentation shells. */
.harmony-device--mobile { display: none; }
.harmony-device--desktop { display: block; }

@media (max-width: 700px) {
  .harmony-device--desktop { display: none !important; }
  .harmony-device--mobile { display: block !important; }

  .harmony-device--mobile {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .harmony-device--mobile .harmony__panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: min(720px, calc(100dvh - 12px));
    min-height: 520px;
    max-height: calc(100dvh - 12px);
    border-radius: 14px;
    overflow: hidden;
  }

  .harmony-device--mobile .harmony__header--mobile {
    flex: 0 0 64px;
    min-height: 64px;
    padding: 7px 10px;
    gap: 8px;
  }

  .harmony-device--mobile .harmony__header--mobile::after { display: none !important; }

  .harmony-device--mobile .harmony__header--mobile .harmony__avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .harmony-device--mobile .harmony__heading--mobile h2 {
    margin: 0;
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1;
    white-space: nowrap;
  }

  .harmony-device--mobile .harmony__reset--mobile {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 50%;
    font-size: 24px;
  }

  .harmony-device--mobile .harmony__progress { flex: 0 0 4px; }

  .harmony-device--mobile .harmony__messages {
    flex: 1 1 auto;
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scroll-behavior: auto !important;
    padding: 12px 10px 14px;
  }

  .harmony-device--mobile .harmony__quick:not([hidden]) {
    flex: 0 0 auto;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    max-height: 132px !important;
    overflow-y: auto !important;
    padding: 7px 10px 8px !important;
    gap: 7px;
  }

  .harmony-device--mobile .harmony__quick-button--joke { display: none !important; }

  .harmony-device--mobile .harmony__quick-button--ask,
  .harmony-device--mobile .harmony__quick-button--goodbye {
    min-height: 40px !important;
    padding: 7px 10px !important;
  }

  .harmony-device--mobile .harmony__form {
    position: relative !important;
    inset: auto !important;
    z-index: 20;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 8px;
    padding: 8px 9px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -4px 12px rgba(17, 24, 39, .08);
  }

  .harmony-device--mobile .harmony__input {
    min-height: 50px;
    max-height: 96px;
    font-size: 16px;
  }

  .harmony-device--mobile .harmony__send {
    min-width: 76px;
    min-height: 50px;
  }

  .harmony-device--mobile .harmony__privacy {
    flex: 0 0 auto;
    padding: 2px 10px max(8px, env(safe-area-inset-bottom));
    font-size: 10px;
    line-height: 1.2;
  }

  /* Keyboard state never swaps headers or fixes the whole widget to the screen. */
  .harmony-device--mobile.is-keyboard-open {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .harmony-device--mobile.is-keyboard-open .harmony__panel {
    height: max(300px, calc(var(--harmony-visible-height, 100dvh) - 8px)) !important;
    min-height: 300px !important;
    max-height: calc(var(--harmony-visible-height, 100dvh) - 8px) !important;
  }

  .harmony-device--mobile.is-keyboard-open .harmony__header--mobile {
    flex-basis: 54px;
    min-height: 54px;
    padding: 5px 8px;
  }

  .harmony-device--mobile.is-keyboard-open .harmony__header--mobile .harmony__avatar {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .harmony-device--mobile.is-keyboard-open .harmony__heading--mobile h2 {
    font-size: 21px;
  }

  .harmony-device--mobile.is-keyboard-open .harmony__reset--mobile {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .harmony-device--mobile.is-keyboard-open .harmony__messages {
    flex: 1 1 auto !important;
    min-height: 80px !important;
    padding-top: 8px !important;
  }

  .harmony-device--mobile.is-keyboard-open .harmony__quick:not([hidden]) {
    display: grid !important;
    max-height: 62px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 4px 8px !important;
  }

  .harmony-device--mobile.is-keyboard-open .harmony__quick-button,
  .harmony-device--mobile.is-keyboard-open .harmony__quick-link {
    min-height: 34px !important;
    padding: 5px 7px !important;
    font-size: 12px !important;
  }

  .harmony-device--mobile.is-keyboard-open .harmony__privacy { display: none !important; }
}

@media (min-width: 701px) {
  .harmony-device--mobile { display: none !important; }
  .harmony-device--desktop { display: block !important; }
}

/* Harmony 2.1.1: stable Android scrolling and keyboard layout.
   These final overrides intentionally remove the older competing mobile states. */
@media (max-width: 700px) {
  .harmony-device--mobile,
  .harmony-device--mobile.is-keyboard-open {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    transform: none !important;
  }

  .harmony-device--mobile .harmony__panel {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .harmony-device--mobile.is-keyboard-open .harmony__panel {
    height: calc(var(--harmony-visible-height, 100dvh) - 8px) !important;
    min-height: 300px !important;
    max-height: calc(var(--harmony-visible-height, 100dvh) - 8px) !important;
  }

  .harmony-device--mobile .harmony__messages,
  .harmony-device--mobile.is-keyboard-open .harmony__messages {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior-y: contain !important;
    scroll-behavior: auto !important;
    overflow-anchor: none !important;
  }

  .harmony-device--mobile .harmony__header--mobile,
  .harmony-device--mobile.is-keyboard-open .harmony__header--mobile,
  .harmony-device--mobile .harmony__form,
  .harmony-device--mobile.is-keyboard-open .harmony__form,
  .harmony-device--mobile .harmony__quick,
  .harmony-device--mobile.is-keyboard-open .harmony__quick {
    flex-shrink: 0 !important;
  }

  /* Keep the compact mobile header stable. Do not swap between two header sizes. */
  .harmony-device--mobile.is-keyboard-open .harmony__header--mobile {
    flex-basis: 64px !important;
    min-height: 64px !important;
    padding: 7px 9px !important;
  }

  .harmony-device--mobile.is-keyboard-open .harmony__header--mobile .harmony__avatar {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
  }

  .harmony-device--mobile.is-keyboard-open .harmony__heading--mobile h2 {
    font-size: 23px !important;
  }

  .harmony-device--mobile.is-keyboard-open .harmony__quick:not([hidden]) {
    max-height: 92px !important;
  }
}


/* Tiny visible build marker for cache/version verification. */
.harmony__version {
  display: inline-block;
  margin-left: 6px;
  font-size: 9px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .02em;
  opacity: .62;
  vertical-align: middle;
  white-space: nowrap;
}

.harmony-device--mobile .harmony__version {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 999px;
  background: rgba(0, 0, 0, .28);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .03em;
  opacity: 1;
  vertical-align: middle;
  white-space: nowrap;
}


/* Harmony 2.2.0: unmistakable cache/device badge during mobile QA. */
.harmony__version {
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(0, 0, 0, .38);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .035em;
  opacity: 1;
}

.harmony-device--mobile .harmony__version {
  margin-left: 4px;
  padding: 4px 7px;
  font-size: 11px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .24);
}

/* Harmony 2.3.0 mobile app interface.
   The selected mobile template becomes one fixed application surface.
   Only the message list scrolls. The WordPress page behind it never moves. */
@media (max-width: 700px) {
  html.harmony-mobile-app-active,
  body.harmony-mobile-app-active {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  .harmony-device--mobile.harmony-mobile-app {
    position: fixed !important;
    z-index: 2147483000 !important;
    top: var(--harmony-app-top, 0px) !important;
    left: var(--harmony-app-left, 0px) !important;
    right: auto !important;
    bottom: auto !important;
    width: var(--harmony-app-width, 100vw) !important;
    height: var(--harmony-app-height, 100dvh) !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    transform: none !important;
    background: #eef7fc !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__panel {
    position: relative !important;
    display: grid !important;
    grid-template-rows: 56px 4px minmax(0, 1fr) auto auto !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
    background: #eef7fc !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__header--mobile {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 6px 9px !important;
    overflow: hidden !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__avatar {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    flex: 0 0 42px !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__heading--mobile {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__heading--mobile h2 {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    margin: 0 !important;
    gap: 5px !important;
    font-size: clamp(21px, 6vw, 27px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__version {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 4px 7px !important;
    font-size: 10px !important;
    line-height: 1 !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__reset--mobile {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    flex: 0 0 40px !important;
    padding: 0 !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__progress {
    height: 4px !important;
    min-height: 4px !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__messages {
    min-width: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    overflow-anchor: none !important;
    touch-action: pan-y !important;
    scroll-behavior: auto !important;
    padding: 10px 10px 14px !important;
    scroll-padding-bottom: 18px !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__quick {
    min-width: 0 !important;
    max-height: 124px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 6px 9px !important;
    gap: 6px !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__quick[hidden],
  .harmony-device--mobile.harmony-mobile-app .harmony__quick:empty {
    display: none !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__quick-button--joke {
    display: none !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__form {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 74px !important;
    gap: 7px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 7px 8px max(7px, env(safe-area-inset-bottom)) !important;
    transform: none !important;
    background: #f7fbfe !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__input {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    max-height: 88px !important;
    margin: 0 !important;
    font-size: 16px !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__send {
    min-width: 74px !important;
    min-height: 48px !important;
    margin: 0 !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__privacy {
    display: none !important;
  }
}

/* Harmony 2.3.2 mobile refinement layer.
   Desktop selectors are intentionally untouched. */
@media (max-width: 700px) {
  .harmony-device--mobile.harmony-mobile-app .harmony__panel {
    grid-template-rows: 30px 52px 4px auto minmax(0, 1fr) auto auto !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__sitebar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-width: 0 !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    background: #111827 !important;
    color: #ffffff !important;
    border-bottom: 2px solid var(--harmony-accent) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: .01em !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__sitebar-link {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    text-decoration: none !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__sitebar-link:focus-visible,
  .harmony-device--mobile.harmony-mobile-app .harmony__sitebar-link:hover {
    color: var(--harmony-accent) !important;
    text-decoration: underline !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__sitebar-label {
    flex: 0 0 auto !important;
    color: var(--harmony-accent) !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__header--mobile,
  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__header--mobile {
    height: 52px !important;
    min-height: 52px !important;
    padding: 5px 8px !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__avatar,
  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__avatar {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    flex: 0 0 38px !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__heading--mobile h2,
  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__heading--mobile h2 {
    font-size: clamp(20px, 5.4vw, 25px) !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__reset--mobile,
  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__reset--mobile {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    flex-basis: 36px !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__history-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 28px !important;
    padding: 3px 8px !important;
    background: #e6f4fb !important;
    border-bottom: 1px solid rgba(17, 24, 39, .18) !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__history-bar[hidden] {
    display: none !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__history-toggle {
    min-height: 22px !important;
    margin: 0 !important;
    padding: 2px 10px !important;
    border: 1px solid rgba(17, 24, 39, .35) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    cursor: pointer !important;
  }

  .harmony-device--mobile .harmony__message--mobile-hidden {
    display: none !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__messages,
  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__messages {
    padding: 9px 10px 12px !important;
    scroll-padding-top: 8px !important;
    scroll-padding-bottom: 12px !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__quick,
  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__quick {
    max-height: min(38vh, 180px) !important;
    padding: 6px 9px 8px !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__quick-button--joke {
    display: flex !important;
  }

  .harmony-device--mobile.harmony-mobile-app[data-input-type="ending"] .harmony__quick {
    max-height: 150px !important;
  }

  .harmony-device--mobile.harmony-mobile-app[data-input-type="ending"] .harmony__quick-button {
    min-height: 34px !important;
    padding: 5px 9px !important;
    font-size: 12px !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__form,
  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__form {
    grid-template-columns: minmax(0, 1fr) 70px !important;
    gap: 6px !important;
    padding: 6px 7px max(6px, env(safe-area-inset-bottom)) !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__input,
  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__input {
    min-height: 46px !important;
    max-height: 82px !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__send,
  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__send {
    min-width: 70px !important;
    min-height: 46px !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__celebration {
    position: absolute !important;
    z-index: 2147483600 !important;
    inset: 0 !important;
    display: none !important;
    overflow: hidden !important;
    pointer-events: none !important;
    background: rgba(17, 24, 39, .18) !important;
  }

  .harmony-device--mobile.harmony-mobile-app.is-celebrating .harmony__celebration {
    display: block !important;
  }

  .harmony-device--mobile.harmony-mobile-app.is-celebrating .harmony__celebration::after {
    content: "Everything’s sent!" !important;
    position: absolute !important;
    top: 43% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: max-content !important;
    max-width: calc(100% - 40px) !important;
    padding: 13px 20px !important;
    border: 3px solid #111827 !important;
    border-radius: 16px !important;
    background: var(--harmony-accent) !important;
    color: #111827 !important;
    box-shadow: 6px 6px 0 #111827 !important;
    font-size: clamp(22px, 7vw, 32px) !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    text-align: center !important;
    animation: harmony-celebration-pop .32s ease-out both !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__confetti-piece {
    position: absolute !important;
    top: -24px !important;
    left: var(--confetti-x) !important;
    width: 9px !important;
    height: 15px !important;
    border-radius: 2px !important;
    background: #f7d117 !important;
    opacity: 0 !important;
    animation: harmony-confetti-fall 1.55s cubic-bezier(.2, .75, .35, 1) var(--confetti-delay) both !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__confetti-piece:nth-child(4n+2) { background: #1597d4 !important; }
  .harmony-device--mobile.harmony-mobile-app .harmony__confetti-piece:nth-child(4n+3) { background: #ec1651 !important; }
  .harmony-device--mobile.harmony-mobile-app .harmony__confetti-piece:nth-child(4n+4) { background: #ffffff !important; }
}

@keyframes harmony-confetti-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -16px, 0) rotate(0deg);
  }
  12% { opacity: 1; }
  100% {
    opacity: 1;
    transform: translate3d(var(--confetti-drift), 110vh, 0) rotate(var(--confetti-spin));
  }
}

@keyframes harmony-celebration-pop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.72); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) and (max-width: 700px) {
  .harmony-device--mobile.harmony-mobile-app .harmony__confetti-piece {
    animation-duration: .01ms !important;
  }
}


/* Harmony 2.3.2 completion celebration, shared by mobile and desktop. */
.harmony .harmony__celebration {
  position: fixed;
  z-index: 2147483600;
  inset: 0;
  display: none;
  overflow: hidden;
  pointer-events: none;
  background: rgba(17, 24, 39, .20);
}

.harmony.is-celebrating .harmony__celebration {
  display: block;
}

.harmony.is-celebrating .harmony__celebration::after {
  content: "Everything’s sent!";
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 13px 20px;
  border: 3px solid #111827;
  border-radius: 16px;
  background: var(--harmony-accent);
  color: #111827;
  box-shadow: 6px 6px 0 #111827;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1;
  font-weight: 950;
  text-align: center;
  animation: harmony-celebration-pop .32s ease-out both;
}

.harmony .harmony__confetti-piece {
  position: absolute;
  top: -24px;
  left: var(--confetti-x);
  width: 9px;
  height: 15px;
  border-radius: 2px;
  background: #f7d117;
  opacity: 0;
  animation: harmony-confetti-fall 1.55s cubic-bezier(.2, .75, .35, 1) var(--confetti-delay) both;
}

.harmony .harmony__confetti-piece:nth-child(4n+2) { background: #1597d4; }
.harmony .harmony__confetti-piece:nth-child(4n+3) { background: #ec1651; }
.harmony .harmony__confetti-piece:nth-child(4n+4) { background: #ffffff; }

@media (prefers-reduced-motion: reduce) {
  .harmony .harmony__confetti-piece {
    animation-duration: .01ms !important;
  }
}


/* Harmony 2.3.3 mobile choice placement.
   On the Services and Referral Source steps, the current conversation uses only
   the height it needs and the choices begin immediately below it instead of
   being anchored near the composer. Desktop is intentionally untouched. */
@media (max-width: 700px) {
  .harmony-device--mobile.harmony-mobile-app[data-input-type="services"] .harmony__panel,
  .harmony-device--mobile.harmony-mobile-app[data-input-type="referral_source"] .harmony__panel {
    grid-template-rows: 30px 52px 4px auto auto minmax(0, 1fr) auto !important;
  }

  .harmony-device--mobile.harmony-mobile-app[data-input-type="services"] .harmony__messages,
  .harmony-device--mobile.harmony-mobile-app[data-input-type="referral_source"] .harmony__messages {
    min-height: 0 !important;
    max-height: 42vh !important;
    overflow-y: auto !important;
    padding-bottom: 8px !important;
  }

  .harmony-device--mobile.harmony-mobile-app[data-input-type="services"] .harmony__quick,
  .harmony-device--mobile.harmony-mobile-app[data-input-type="referral_source"] .harmony__quick {
    display: flex !important;
    flex-direction: column !important;
    align-content: stretch !important;
    justify-content: flex-start !important;
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 8px 9px 10px !important;
    gap: 7px !important;
  }

  .harmony-device--mobile.harmony-mobile-app[data-input-type="services"] .harmony__quick-button,
  .harmony-device--mobile.harmony-mobile-app[data-input-type="referral_source"] .harmony__quick-button {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-height: 42px !important;
  }
}

/* Harmony 2.3.3 denser celebration. */
.harmony .harmony__confetti-piece {
  animation-duration: 1.85s;
}

@media (max-width: 700px) {
  .harmony-device--mobile.harmony-mobile-app .harmony__confetti-piece {
    animation-duration: 1.85s !important;
  }
}


/* Harmony 2.3.4, stronger visual separation for Harmony's chat bubbles. */
.harmony .harmony__message--assistant .harmony__bubble {
  background: var(--harmony-brand-yellow) !important;
  border-color: var(--harmony-brand-black) !important;
  color: #000000 !important;
}

.harmony .harmony__message--assistant .harmony__bubble a,
.harmony .harmony__message--assistant .harmony__bubble .harmony__message-line {
  color: #000000 !important;
}


/* Harmony 2.3.5, always-visible completion confetti on iPhone, Android, and desktop.
   This intentionally keeps the brief celebration active even when the device
   has Reduce Motion enabled, so completion never appears broken. */
@media (prefers-reduced-motion: reduce) {
  .harmony .harmony__confetti-piece,
  .harmony-device--mobile.harmony-mobile-app .harmony__confetti-piece {
    animation-name: harmony-confetti-fall !important;
    animation-duration: 1.85s !important;
    animation-timing-function: cubic-bezier(.2, .75, .35, 1) !important;
    animation-delay: var(--confetti-delay) !important;
    animation-iteration-count: 1 !important;
    animation-fill-mode: both !important;
  }

  .harmony.is-celebrating .harmony__celebration::after {
    animation-name: harmony-celebration-pop !important;
    animation-duration: .32s !important;
    animation-timing-function: ease-out !important;
    animation-fill-mode: both !important;
  }
}


/* Harmony 2.5.1 desktop-only site launcher */
.harmony-site-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999999;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 10px;
  border: 4px solid var(--harmony-dark, #101827);
  border-radius: 999px;
  background: var(--harmony-accent, #ffd514);
  color: var(--harmony-dark, #101827) !important;
  box-shadow: 6px 6px 0 var(--harmony-dark, #101827);
  font: 900 17px/1.1 Arial, sans-serif;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease;
}
.harmony-site-launcher:hover,
.harmony-site-launcher:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--harmony-dark, #101827);
  color: var(--harmony-dark, #101827) !important;
}
.harmony-site-launcher__avatar {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  border: 3px solid var(--harmony-dark, #101827);
  border-radius: 50%;
  background: #fff;
}
.harmony-site-launcher__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 782px), (hover: none) and (pointer: coarse) {
  .harmony-site-launcher { display: none !important; }
}


/* Harmony 3.0 quote confirmation and closing prompt */
.harmony__quote-confirmation {
  margin: 14px 0 0;
  padding: 11px 13px;
  border: 2px solid var(--harmony-primary, #1597d4);
  border-radius: 14px;
  background: #eef8fd;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.harmony__quote-closing-question {
  margin: 12px 0 0;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

/* Harmony 3.0.19 mobile viewport and choice-panel corrections.
   The app uses the live visual viewport in JavaScript, while these rules let
   button groups use the space that is actually available instead of clipping
   the fourth or later option inside an unnecessarily short tray. */
@media (max-width: 700px) {
  .harmony-device--mobile.harmony-mobile-app.has-quick-replies .harmony__quick:not([hidden]) {
    max-height: min(52dvh, 340px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scroll-behavior: auto !important;
  }

  .harmony-device--mobile.harmony-mobile-app.has-many-quick-replies .harmony__quick:not([hidden]) {
    max-height: min(60dvh, 420px) !important;
  }

  .harmony-device--mobile.harmony-mobile-app.has-quick-replies .harmony__quick-button,
  .harmony-device--mobile.harmony-mobile-app.has-quick-replies .harmony__quick-link {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-height: 42px !important;
  }

  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__messages {
    scroll-padding-top: 10px !important;
    scroll-padding-bottom: 10px !important;
  }
}


/* Harmony 3.0.20 mobile layout, keyboard, restart, and recovery corrections. */
@media (max-width: 700px) {
  /* Keep Harmony above sticky WordPress navigation and move Restart away from
     the site's upper-right hamburger hit area. */
  .harmony-device--mobile.harmony-mobile-app {
    z-index: 2147483647 !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__reset--mobile,
  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__reset--mobile {
    position: relative !important;
    right: 46px !important;
    z-index: 20 !important;
  }

  /* When choices are present, the question and choices own the available
     middle space. Do not leave a large empty message row above the buttons. */
  .harmony-device--mobile.harmony-mobile-app.has-quick-replies .harmony__panel {
    grid-template-rows: 30px 52px 4px auto auto minmax(0, 1fr) auto !important;
  }

  .harmony-device--mobile.harmony-mobile-app.has-quick-replies .harmony__messages {
    align-self: start !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: min(26dvh, 190px) !important;
    overflow-y: auto !important;
    padding-bottom: 5px !important;
  }

  .harmony-device--mobile.harmony-mobile-app.has-quick-replies .harmony__quick:not([hidden]) {
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    padding-top: 6px !important;
    padding-bottom: 8px !important;
  }

  .harmony-device--mobile.harmony-mobile-app.has-many-quick-replies .harmony__quick:not([hidden]) {
    max-height: none !important;
  }

  /* The live visual viewport already removes keyboard height. Avoid extra
     transforms or top-focused scrolling that can leave only half the composer. */
  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open,
  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__panel,
  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__form {
    transform: none !important;
  }

  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__panel {
    grid-template-rows: 30px 52px 4px auto minmax(0, 1fr) auto auto !important;
  }

  .harmony-device--mobile.harmony-mobile-app.is-keyboard-open .harmony__form {
    position: relative !important;
    inset: auto !important;
    padding-bottom: max(7px, env(safe-area-inset-bottom)) !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__quick-button--retry {
    background: var(--harmony-accent) !important;
    color: var(--harmony-dark) !important;
    border-color: var(--harmony-dark) !important;
    font-weight: 950 !important;
  }
}

/* Harmony 3.0.21: keep theme scroll controls off the composer and compact the
   final quote actions so the pricing card retains the screen. */
@media (max-width: 700px) {
  /* Astra and common WordPress back-to-top controls can float above Harmony's
     Send button. Harmony owns the full mobile viewport, so those controls are
     unnecessary while the quote assistant is active. */
  html.harmony-mobile-app-active #ast-scroll-top,
  body.harmony-mobile-app-active #ast-scroll-top,
  body.harmony-mobile-app-active .ast-scroll-to-top-right,
  body.harmony-mobile-app-active .ast-scroll-to-top-left,
  body.harmony-mobile-app-active .scroll-to-top,
  body.harmony-mobile-app-active .back-to-top,
  body.harmony-mobile-app-active #scroll-to-top,
  body.harmony-mobile-app-active #back-to-top {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Final quote choices should be clear tap targets, not billboard-sized
     panels. This returns substantially more room to the actual pricing card. */
  .harmony-device--mobile.harmony-mobile-app[data-input-type="ending"] .harmony__panel {
    grid-template-rows: 30px 52px 4px auto minmax(0, 1fr) auto auto !important;
  }

  .harmony-device--mobile.harmony-mobile-app[data-input-type="ending"] .harmony__messages {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-self: stretch !important;
  }

  .harmony-device--mobile.harmony-mobile-app[data-input-type="ending"] .harmony__quick:not([hidden]) {
    height: auto !important;
    min-height: 0 !important;
    max-height: 198px !important;
    padding: 6px 9px 8px !important;
    gap: 7px !important;
    overflow-y: auto !important;
    align-self: end !important;
  }

  .harmony-device--mobile.harmony-mobile-app[data-input-type="ending"] .harmony__quick-button,
  .harmony-device--mobile.harmony-mobile-app[data-input-type="ending"] .harmony__quick-link {
    min-height: 56px !important;
    height: 56px !important;
    padding: 8px 12px !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
    border-radius: 14px !important;
  }
}

/* Harmony 3.0.24: keep the optional Already a Customer Skip choice compact.
   A single Skip action should look like a normal tap target, not a full-screen
   blue panel that crowds out the event-date question and composer. */
@media (max-width: 700px) {
  .harmony-device--mobile.harmony-mobile-app.has-skip-only-reply .harmony__panel {
    grid-template-rows: 30px 52px 4px auto minmax(0, 1fr) 64px auto !important;
  }

  .harmony-device--mobile.harmony-mobile-app.has-skip-only-reply .harmony__messages {
    align-self: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .harmony-device--mobile.harmony-mobile-app.has-skip-only-reply .harmony__quick:not([hidden]) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: end !important;
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    padding: 7px 10px 9px !important;
    overflow: visible !important;
  }

  .harmony-device--mobile.harmony-mobile-app .harmony__quick-button--skip {
    flex: 0 0 auto !important;
    width: 160px !important;
    max-width: calc(100vw - 40px) !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 8px 18px !important;
    border-radius: 14px !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }
}
