#na-modal.na-modal {
  position: fixed;
  inset: 0;
  z-index: 999999999999999999999;
  display: flex !important;
  justify-content: center;
  align-items: center;
  background: rgba(234, 234, 234, 0.93);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--all);
}

#na-modal.na-modal[hidden] {
  display: flex !important;
}

#na-modal.na-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#na-modal.na-modal .na-modal-inner.hvacoe-front-inner {
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

#na-modal.na-modal .hvacoe-header {
  margin-bottom: -34px;
  position: relative;
  z-index: 2;
}

#na-modal.na-modal .hvacoe-header .welcome-person {
  background: #f2f2f2;
  padding: 30px 0 10px 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

#na-modal.na-modal .hvacoe-header .welcome-person .image-wrap {
  width: 65px;
  height: 65px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

#na-modal.na-modal .hvacoe-header .welcome-person .image-wrap .headshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#na-modal.na-modal .hvacoe-header .header-border {
  width: 100%;
  margin-top: -8px;
  z-index: -1;
  position: relative;
}

#na-modal.na-modal .na-close.hvacoe-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
}

#na-modal.na-modal .na-close.hvacoe-close:hover {
  background: #f8fafc;
}

#na-modal.na-modal .popup-content-wrap {
  overflow-y: auto;
  min-height: 61vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 49px 0;
  max-height: 85vh;
}

#na-modal.na-modal .popup-content-wrap::-webkit-scrollbar {
  width: 0;
}

#na-modal.na-modal .na-title {
  width: 95%;
  max-width: 800px;
  margin: 0 auto 22px;
  text-align: center;
  font-size: 32px;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.2px;
}

#na-modal.na-modal .na-form {
  width: 95%;
  max-width: 800px;
}

#na-modal.na-modal .na-form.is-estimate-step {
  max-width: 940px;
}

#na-modal.na-modal .na-step {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

#na-modal.na-modal .na-step .na-section.small-print {
  text-align: center;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

#na-modal.na-modal .na-step .na-intro {
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: center;
  color: #334155;
  line-height: 1.45;
}

#na-modal.na-modal .na-step .na-question {
  margin: 0 auto 20px;
  font-size: 32px;
  text-align: center;
  line-height: 1.2;
  color: #0f172a;
}

#na-modal.na-modal .na-step .na-question span {
  font-size: 18px;
}

#na-modal.na-modal .na-step .na-question .na-question-title {
  display: block;
  font-size: inherit;
  line-height: inherit;
}

#na-modal.na-modal .na-step .na-question .na-question-description {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.45;
  text-align: center;
}

#na-modal.na-modal .na-sub-question {
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #334155;
}

#na-modal.na-modal .na-options.options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
  margin-top: 18px;
}

#na-modal.na-modal .na-options.options.contact-method {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

#na-modal.na-modal .na-option-tile.button {
  min-height: 150px;
  border: 1px solid #f2f2f2;
  background: #f9f9f9;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  transition: var(--all);
  cursor: pointer;
  position: relative;
  color: var(--black);
  padding: 14px;
}

#na-modal.na-modal .na-options.options.contact-method .na-option-tile.button {
  min-height: 70px;
}

#na-modal.na-modal .na-option-tile.button input {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0 !important;
  cursor: pointer;
  z-index: 1;
}

#na-modal.na-modal .na-option-tile.button .na-option-title {
  line-height: 1.2;
  display: block;
  font-size: 15px;
  position: relative;
  z-index: 2;
}

#na-modal.na-modal .na-option-tile.button.has-icon,
#na-modal.na-modal .na-option-tile.button.na-option-has-icon,
#na-modal.na-modal .na-option-tile.button:has(.option-icon) {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

#na-modal.na-modal .na-option-tile.button .option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 52px;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

#na-modal.na-modal .na-option-tile.button .option-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

#na-modal.na-modal .na-option-tile.button:hover {
  background: #f5f5f5;
}

#na-modal.na-modal .na-option-tile.button.selected,
#na-modal.na-modal .na-option-tile.button:has(input:checked) {
  background: #f1f1f1;
  border-color: var(--accent);
}

#na-modal.na-modal .na-single-field {
  margin-top: 10px;
}

#na-modal.na-modal .na-single-field label {
  display: block;
  font-size: 13px;
  color: #64748b;
  margin: 0 0 6px;
}

#na-modal.na-modal .na-single-field input,
#na-modal.na-modal .na-single-field textarea {
  width: 100%;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  background: #ffffff;
  padding: 11px 12px;
  color: #0f172a;
}

#na-modal.na-modal .na-single-field input:focus,
#na-modal.na-modal .na-single-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

#na-modal.na-modal .na-single-field textarea {
  min-height: 130px;
  resize: vertical;
}

#na-modal.na-modal .na-nav.hvacoe-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 30px 25px 15px;
}

#na-modal.na-modal .na-nav.hvacoe-nav .sos-button {
  border-radius: var(--radius);
  padding: 10px 23px !important;
  height: auto;
  margin-top: 0 !important;
  min-width: 180px;
  width: calc(50% - 5px);
  max-width: 220px;
  flex: 1 1 0;
}

#na-modal.na-modal .form-disclaimer {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #6b7280;
  text-align: center;
}

#na-modal.na-modal .na-success {
  width: 95%;
  max-width: 800px;
  text-align: center;
  padding: 35px 10px 20px;
}

#na-modal.na-modal .na-success p {
  font-size: 32px;
  line-height: 1.2;
  color: #0f172a;
  margin: 0;
}

#na-modal.na-modal .na-score-scale {
  width: 100%;
  margin: 0 auto 18px;
  padding-top: 34px;
}

#na-modal.na-modal .na-score-scale-bar {
  position: relative;
  width: 100%;
  height: 26px;
  border-radius: 0;
  background: linear-gradient(90deg, #d62828 0%, #f59e0b 50%, #2a9d5b 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

#na-modal.na-modal .na-score-scale-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 13px;
  color: #475569;
}

#na-modal.na-modal .na-score-scale-marker {
  position: absolute;
  top: -34px;
  left: 100%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

#na-modal.na-modal .na-score-scale-marker::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #0f172a;
  margin-top: 6px;
}

#na-modal.na-modal .na-score-scale-value {
  min-width: 54px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

#na-modal.na-modal .na-result-copy {
  max-width: 680px;
  margin: 0 auto 10px;
  text-align: center;
  color: #334155;
}

#na-modal.na-modal .na-result-copy p {
  margin: 0 auto;
  text-align: center;
}

#na-modal.na-modal .na-result-actions {
  display: flex;
  justify-content: center;
}

#na-modal.na-modal .na-extended-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 25px;
}

#na-modal.na-modal .na-extended-results .single-option {
  padding: 14px;
  margin: 12px 0;
  position: relative;
  background: #ffffff;
}

#na-modal.na-modal .na-extended-results .tier-label {
  width: fit-content;
  border: 1px solid #cccccc;
  background: #ffffff;
  border-radius: 30px;
  text-align: center;
  padding: 3px;
  margin: -37px auto 0;
  position: relative;
  z-index: 90;
}

#na-modal.na-modal .na-extended-results .tier-label span {
  width: 100%;
  display: block;
  padding: 8px 20px;
  background: #cccccc;
  border-radius: 50px;
  color: #ffffff;
}

#na-modal.na-modal .na-extended-results .tile-border {
  border: 1px solid #dddddd;
  border-radius: 14px;
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=good] .tier-label {
  border-color: #D88867;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=good] .tier-label span {
  background: #D88867;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=good] .tile-border {
  border-color: #D88867;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=good] .sos-button {
  border: 1px solid #D88867 !important;
  color: #D88867 !important;
  background: none !important;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=good] .sos-button:hover {
  background: #D88867 !important;
  color: #ffffff !important;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=better] .tier-label {
  border-color: #B4B4B4;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=better] .tier-label span {
  background: #B4B4B4;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=better] .tile-border {
  border-color: #B4B4B4;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=better] .sos-button {
  border: 1px solid #B4B4B4 !important;
  color: #B4B4B4 !important;
  background: none !important;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=better] .sos-button:hover {
  background: #B4B4B4 !important;
  color: #ffffff !important;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=best] .tier-label {
  border-color: #D7AF4F;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=best] .tier-label span {
  background: #D7AF4F;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=best] .tile-border {
  border-color: #D7AF4F;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=best] .sos-button {
  border: 1px solid #D7AF4F !important;
  color: #D7AF4F !important;
  background: none !important;
}

#na-modal.na-modal .na-extended-results .single-option[data-tier=best] .sos-button:hover {
  background: #D7AF4F !important;
  color: #ffffff !important;
}

#na-modal.na-modal .na-extended-results .unit-image {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: 230px;
  padding: 13px 0;
}

#na-modal.na-modal .na-extended-results .unit-image img {
  max-height: 210px;
  max-width: 100%;
}

#na-modal.na-modal .na-extended-results h4 {
  font-size: 19px;
  text-align: center;
  min-height: 56px;
  position: relative;
  z-index: 2;
}

#na-modal.na-modal .na-extended-results .base-price {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  padding: 10px;
  border-radius: 15px;
  background: #f8f8f8;
  border: 1px solid #f2f2f2;
  gap: 7px;
  color: #0f172a;
  position: relative;
  z-index: 2;
}

#na-modal.na-modal .na-extended-results .base-price strong,
#na-modal.na-modal .na-extended-results .per-month strong {
  font-size: 20px;
  color: var(--accent);
}

#na-modal.na-modal .na-extended-results .financing-section {
  min-height: 160px;
  position: relative;
  z-index: 2;
  color: #334155;
}

#na-modal.na-modal .na-extended-results .select-ft {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #64748b;
}

#na-modal.na-modal .na-extended-results .select-field-wrap {
  border: 1px solid #dddddd;
  border-radius: 50px;
  position: relative;
}

#na-modal.na-modal .na-extended-results .select-field-wrap::after {
  content: "";
  width: 20px;
  height: 20px;
  background: url("../../online-estimation/assets/icons/down.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 99;
}

#na-modal.na-modal .na-extended-results .select-field-wrap select {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 50px;
  background: none;
}

#na-modal.na-modal .na-extended-results .financing-single-term,
#na-modal.na-modal .na-extended-results .per-month {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  padding: 10px;
  border-radius: 15px;
  background: #f8f8f8;
  border: 1px solid #f2f2f2;
  gap: 7px;
}

#na-modal.na-modal .na-extended-results .per-month {
  margin-top: 5px;
}

#na-modal.na-modal .na-extended-results .financing-disclaimer {
  line-height: 110%;
  font-size: 12px;
  margin-top: 15px;
}

#na-modal.na-modal .na-extended-results .single-option .sos-button {
  font-size: 14px !important;
  padding: 7px 20px !important;
  z-index: 99;
  position: relative;
}

@media (max-width: 1000px) {
  #na-modal.na-modal .na-modal-inner.hvacoe-front-inner {
    height: 93vh;
    border-radius: 0;
  }

  #na-modal.na-modal .popup-content-wrap {
    height: 88vh;
  }
}

@media (max-width: 873px) {
  #na-modal.na-modal .hvacoe-header .welcome-person {
    padding: 25px 0 0;
  }

  #na-modal.na-modal .hvacoe-header .welcome-person .image-wrap {
    width: 55px;
    height: 55px;
  }

  #na-modal.na-modal .hvacoe-header .header-border {
    height: 29px;
  }
}

@media (max-width: 700px) {
  #na-modal.na-modal .na-step .na-question {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  #na-modal.na-modal .na-options.options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 872px) {
  #na-modal.na-modal .na-form.is-estimate-step {
    max-width: 100%;
  }

  #na-modal.na-modal .na-extended-results {
    display: block;
  }

  #na-modal.na-modal .na-extended-results .slick-list {
    padding: 23px 20% 0 20% !important;
  }

  #na-modal.na-modal .na-extended-results .slick-list .slick-track .single-option {
    margin: 0 15px !important;
  }
}

@media (max-width: 578px) {
  #na-modal.na-modal .na-extended-results .slick-list {
    padding: 23px 12% 0 12% !important;
  }
}

@media (max-width: 480px) {
  #na-modal.na-modal .na-extended-results .slick-list {
    padding: 23px 10% 0 10% !important;
  }

  #na-modal.na-modal .na-extended-results .slick-list .slick-track .single-option {
    margin: 0 7px !important;
  }
}

@media (max-width: 500px) {
  #na-modal.na-modal .na-title,
  #na-modal.na-modal .na-step .na-question {
    font-size: 25px;
  }

  #na-modal.na-modal .na-option-tile.button {
    min-height: 120px;
  }

  #na-modal.na-modal .na-options.options.contact-method .na-option-tile.button {
    min-height: 60px;
  }
}

#na-modal.na-modal .na-chat-shell {
  width: min(94vw, 520px);
  height: min(76vh, 720px);
  display: grid;
  grid-template-rows: 1fr auto auto auto;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
  background:
    radial-gradient(circle at 0 25%, rgba(225, 77, 67, 0.08), transparent 32%),
    radial-gradient(circle at 100% 78%, rgba(225, 77, 67, 0.06), transparent 34%),
    #ffffff;
}

#na-modal.na-modal .na-modal-inner:has(.na-chat-shell) {
  max-width: 560px;
}

#na-modal.na-modal .na-modal-inner:has(.na-chat-shell) .popup-content-wrap {
  min-height: 0;
  max-height: none;
  height: auto;
  padding: 0;
  display: block;
  overflow: hidden;
}

#na-modal.na-modal .na-modal-inner:has(.na-chat-shell) .hvacoe-header {
  margin-bottom: 0;
  border-bottom: 1px solid #e5e7eb;
}

#na-modal.na-modal .na-modal-inner:has(.na-chat-shell) .hvacoe-header .welcome-person {
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: #f7f7fb;
}

#na-modal.na-modal .na-modal-inner:has(.na-chat-shell) .hvacoe-header .welcome-person::after {
  content: "Eva";
  color: #26283a;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

#na-modal.na-modal .na-modal-inner:has(.na-chat-shell) .hvacoe-header .welcome-person .image-wrap {
  width: 52px;
  height: 52px;
}

#na-modal.na-modal .na-modal-inner:has(.na-chat-shell) .hvacoe-header .header-border {
  display: none;
}

#na-modal.na-modal .na-chat-log {
  min-height: 0;
  overflow-y: auto;
  padding: 22px 22px 16px;
  scrollbar-width: thin;
}

#na-modal.na-modal .na-chat-message {
  display: flex;
  gap: 9px;
  align-items: flex-end;
  margin: 0 0 14px;
}

#na-modal.na-modal .na-chat-message.visitor {
  justify-content: flex-end;
}

#na-modal.na-modal .na-chat-avatar {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f8e7df;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
}

#na-modal.na-modal .na-chat-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#na-modal.na-modal .na-chat-bubble {
  max-width: min(78%, 380px);
  padding: 12px 14px;
  border-radius: 15px 15px 15px 4px;
  background: #f0f1f6;
  color: #303447;
  font-size: 15px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

#na-modal.na-modal .na-chat-message.visitor .na-chat-bubble {
  border-radius: 15px 15px 4px 15px;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(225, 77, 67, 0.24);
}

#na-modal.na-modal .na-chat-message.human .na-chat-avatar {
  background: color-mix(in srgb, var(--accent) 12%, #ffffff);
  color: var(--accent);
}

#na-modal.na-modal .na-chat-bubble-title {
  margin-bottom: 5px;
  color: inherit;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  opacity: 0.8;
}

#na-modal.na-modal .na-chat-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  width: 56px;
  height: 34px;
  padding: 0 12px;
  border-radius: 16px;
  background: #f0f1f6;
}

#na-modal.na-modal .na-chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d9aa93;
  animation: na-chat-bounce 1.1s infinite ease-in-out;
}

#na-modal.na-modal .na-chat-typing span:nth-child(2) {
  animation-delay: 0.12s;
}

#na-modal.na-modal .na-chat-typing span:nth-child(3) {
  animation-delay: 0.24s;
}

#na-modal.na-modal .na-chat-searching {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

#na-modal.na-modal .na-chat-searching em {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border: 2px solid rgba(225, 77, 67, 0.24);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: na-chat-spin 0.8s linear infinite;
}

#na-modal.na-modal .na-chat-searching span {
  font-size: 13px;
  font-weight: 600;
}

@keyframes na-chat-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes na-chat-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-4px); opacity: 1; }
}

#na-modal.na-modal .na-chat-choices {
  display: flex;
  gap: 8px;
  padding: 0 18px 10px;
  overflow-x: auto;
}

#na-modal.na-modal .na-chat-choice {
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid rgba(225, 77, 67, 0.24);
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff7f3;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

#na-modal.na-modal .na-chat-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.94);
}

#na-modal.na-modal .na-chat-composer input {
  min-width: 0;
  width: 100%;
  height: 50px;
  border: 1px solid #d8dde8;
  border-radius: 999px;
  padding: 0 18px;
  background: #ffffff;
  color: #272a3b;
  font-size: 16px;
  line-height: 1;
  box-shadow: none;
}

#na-modal.na-modal .na-chat-composer input:focus {
  outline: none;
  border-color: rgba(225, 77, 67, 0.42);
  box-shadow: 0 0 0 4px rgba(225, 77, 67, 0.08);
}

#na-modal.na-modal .na-chat-send {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(225, 77, 67, 0.24);
}

#na-modal.na-modal .na-chat-send svg {
  width: 25px;
  height: 25px;
  transform: translateX(1px);
}

#na-modal.na-modal .na-chat-products {
  width: min(86%, 420px);
}

#na-modal.na-modal .na-chat-assessment {
  width: min(88%, 430px);
}

#na-modal.na-modal .na-assessment-score-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

#na-modal.na-modal .na-assessment-score-head strong {
  color: #202234;
  font-size: 15px;
  line-height: 1.25;
}

#na-modal.na-modal .na-assessment-score-head span {
  min-width: 44px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

#na-modal.na-modal .na-assessment-scale {
  position: relative;
  padding-top: 30px;
  margin: 4px 0 12px;
}

#na-modal.na-modal .na-assessment-bar {
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(90deg, #d62828 0%, #f59e0b 50%, #2a9d5b 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
}

#na-modal.na-modal .na-assessment-marker {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

#na-modal.na-modal .na-assessment-marker em {
  min-width: 42px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

#na-modal.na-modal .na-assessment-marker::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #111827;
  margin-top: 5px;
}

#na-modal.na-modal .na-assessment-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: #6b6f84;
  font-size: 11px;
  line-height: 1.2;
}

#na-modal.na-modal .na-chat-assessment p {
  margin: 8px 0 0;
}

#na-modal.na-modal .na-chat-assessment ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

#na-modal.na-modal .na-chat-assessment li {
  margin: 3px 0;
}

#na-modal.na-modal .na-chat-product {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

#na-modal.na-modal .na-chat-product span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

#na-modal.na-modal .na-chat-product strong {
  color: #272a3b;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

#na-modal.na-modal .na-chat-product small {
  color: #6b6f84;
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 640px) {
  #na-modal.na-modal {
    align-items: stretch;
    background: rgba(234, 234, 234, 0.82);
  }

  #na-modal.na-modal .na-modal-inner.hvacoe-front-inner {
    width: 100%;
    max-width: none;
    min-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  #na-modal.na-modal .na-chat-shell {
    width: 100%;
    height: calc(100dvh - 85px);
    border-radius: 0;
  }

  #na-modal.na-modal .na-chat-log {
    padding: 18px 14px 14px;
  }

  #na-modal.na-modal .na-chat-bubble {
    max-width: 82%;
    font-size: 16px;
  }

  #na-modal.na-modal .na-chat-composer {
    padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
  }
}

#na-modal.na-modal.na-ai-powered {
  inset: 0;
  display: block !important;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

#na-modal.na-modal.na-ai-powered.active {
  opacity: 1;
  visibility: visible;
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

#na-modal.na-modal.na-ai-powered .na-modal-inner.hvacoe-front-inner {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(440px, calc(100vw - 28px));
  max-width: 440px;
  height: min(680px, calc(100vh - 48px));
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(220, 222, 235, 0.9);
  box-shadow: 0 22px 70px rgba(31, 39, 70, 0.24);
  backdrop-filter: blur(18px);
  color: #202234;
  pointer-events: auto;
}

#na-modal.na-modal.na-ai-powered .na-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px 18px;
  border-bottom: 1px solid #e7e8f0;
  background: rgba(248, 248, 253, 0.92);
}

#na-modal.na-modal.na-ai-powered .na-ai-profile {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

#na-modal.na-modal.na-ai-powered .na-ai-avatar-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

#na-modal.na-modal.na-ai-powered .na-ai-avatar,
#na-modal.na-modal.na-ai-powered .na-ai-avatar-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}

#na-modal.na-modal.na-ai-powered .na-ai-avatar-initials {
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent, #e2460a) 12%, #fff);
  color: var(--accent, #e2460a);
  font-size: 13px;
  font-weight: 600;
}

#na-modal.na-modal.na-ai-powered .na-ai-status-dot {
  position: absolute;
  right: 2px;
  bottom: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #20c968;
  border: 2px solid #fff;
}

#na-modal.na-modal.na-ai-powered .na-ai-name {
  display: block;
  color: #202234;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#na-modal.na-modal.na-ai-powered .na-ai-status {
  display: block;
  margin-top: 3px;
  color: #6b6f84;
  font-size: 14px;
  line-height: 1.2;
}

#na-modal.na-modal.na-ai-powered .na-ai-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

#na-modal.na-modal.na-ai-powered .na-ai-tool {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #202234;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: none;
}

#na-modal.na-modal.na-ai-powered .na-ai-tool:hover {
  background: #eef0f8;
}

#na-modal.na-modal.na-ai-powered .na-ai-tool svg {
  width: 23px;
  height: 23px;
  display: block;
}

#na-modal.na-modal.na-ai-powered .na-ai-sound {
  opacity: 0.52;
}

#na-modal.na-modal.na-ai-powered .na-ai-history-back {
  width: 28px;
  height: 36px;
  flex: 0 0 28px;
  margin-left: -8px;
  color: #202234;
}

#na-modal.na-modal.na-ai-powered.na-chat-home-mode .na-ai-history-back {
  display: none;
}

#na-modal.na-modal.na-ai-powered .popup-content-wrap {
  flex: 1;
  min-height: 0;
  max-height: none;
  height: auto;
  display: block;
  padding: 0;
  overflow: hidden;
}

#na-modal.na-modal.na-ai-powered .na-chat-shell {
  width: 100%;
  height: 100%;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--accent, #6f4cff) 7%, transparent), transparent 34%),
    radial-gradient(circle at 90% 100%, color-mix(in srgb, var(--accent, #6f4cff) 7%, transparent), transparent 38%),
    #ffffff;
}

#na-modal.na-modal.na-ai-powered .air-home {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent, #6f4cff) 13%, #fff) 0%, #fff 45%),
    #fff;
}

#na-modal.na-modal.na-ai-powered.na-chat-home-mode .na-chat-log,
#na-modal.na-modal.na-ai-powered.na-chat-home-mode .na-chat-choices,
#na-modal.na-modal.na-ai-powered.na-chat-home-mode .na-chat-composer,
#na-modal.na-modal.na-ai-powered.na-chat-home-mode .na-chat-disclaimer {
  display: none;
}

#na-modal.na-modal.na-ai-powered:not(.na-chat-home-mode) .air-home {
  display: none;
}

#na-modal.na-modal.na-ai-powered .air-home-hero {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

#na-modal.na-modal.na-ai-powered .air-home-hero h2 {
  margin: 0;
  color: #202234;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 800;
}

#na-modal.na-modal.na-ai-powered .air-home-start {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid #e2e5ef;
  border-radius: 8px;
  background: #fff;
  color: #202234;
  box-shadow: 0 10px 28px rgba(31, 39, 70, 0.1);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

#na-modal.na-modal.na-ai-powered .air-home-start svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: var(--accent, #6f4cff);
}

#na-modal.na-modal.na-ai-powered .air-home-card {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e7e8f0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(31, 39, 70, 0.08);
}

#na-modal.na-modal.na-ai-powered .air-home-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: #202234;
  font-size: 14px;
}

#na-modal.na-modal.na-ai-powered .air-home-card-head button {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: color-mix(in srgb, var(--accent, #6f4cff) 10%, #fff);
  color: var(--accent, #6f4cff);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

#na-modal.na-modal.na-ai-powered .air-session-list {
  display: grid;
  gap: 8px;
}

#na-modal.na-modal.na-ai-powered .air-session-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 6px;
}

#na-modal.na-modal.na-ai-powered .air-session-item,
#na-modal.na-modal.na-ai-powered .air-session-remove {
  border: 1px solid #edf0f6;
  border-radius: 8px;
  background: #fff;
  color: #202234;
  cursor: pointer;
}

#na-modal.na-modal.na-ai-powered .air-session-item {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  text-align: left;
}

#na-modal.na-modal.na-ai-powered .air-session-item span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

#na-modal.na-modal.na-ai-powered .air-session-item strong,
#na-modal.na-modal.na-ai-powered .air-session-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#na-modal.na-modal.na-ai-powered .air-session-item strong {
  font-size: 13px;
  line-height: 1.25;
}

#na-modal.na-modal.na-ai-powered .air-session-item small,
#na-modal.na-modal.na-ai-powered .air-session-empty {
  color: #6b6f84;
  font-size: 12px;
  line-height: 1.3;
}

#na-modal.na-modal.na-ai-powered .air-session-item em {
  color: #8a8da0;
  font-size: 12px;
  font-style: normal;
}

#na-modal.na-modal.na-ai-powered .air-session-remove {
  width: 30px;
  color: #8a8da0;
  font-size: 18px;
  line-height: 1;
}

#na-modal.na-modal.na-ai-powered .air-session-empty {
  padding: 14px 10px;
  text-align: center;
}

#na-modal.na-modal.na-ai-powered .na-title,
#na-modal.na-modal.na-ai-powered .na-form,
#na-modal.na-modal.na-ai-powered .na-success {
  display: none !important;
}

#na-modal.na-modal.na-ai-powered .na-chat-log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 18px 14px;
}

#na-modal.na-modal.na-ai-powered .na-chat-composer {
  position: relative;
  padding: 12px 14px 10px;
}

#na-modal.na-modal.na-ai-powered .na-chat-shell {
  padding-bottom: 0;
}

#na-modal.na-modal .na-chat-disclaimer {
  margin: 0;
  padding: 0 12px 9px;
  color: #9aa0b4;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}

@media (max-width: 640px) {
  #na-modal.na-modal.na-ai-powered {
    background: transparent;
  }

  #na-modal.na-modal.na-ai-powered .na-modal-inner.hvacoe-front-inner {
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    min-height: 100dvh;
    border-radius: 0;
  }

  #na-modal.na-modal.na-ai-powered .na-chat-shell {
    height: 100%;
  }

  #na-modal.na-modal.na-ai-powered .na-chat-bubble {
    font-size: 16px;
  }

  #na-modal.na-modal.na-ai-powered .na-chat-composer {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
}

/* ------------------------------------------------------------------
   Standalone shortcode embed: [needs-assessment]
   Same tool as the popup, laid out inline on the page. The shortcode only
   prints .na-inline-host; the script moves the single #na-modal into it.
   ------------------------------------------------------------------ */
.na-inline-host {
  display: block;
  width: 100%;
}

/* Keep field titles visible above inputs in the standalone assessment.
   The theme's global .single-field rules otherwise turn these into
   floating labels that only shrink after the customer enters a value. */
#na-modal.na-modal.na-standalone .single-field label {
  position: static;
  inset: auto;
  display: block;
  transform: none;
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.35;
  color: #64748b;
  z-index: auto;
}

#na-modal.na-modal.na-standalone .single-field label.with-value {
  position: static;
  inset: auto;
  transform: none;
  font-size: 13px;
}

#na-modal.na-modal.na-standalone .single-field input,
#na-modal.na-modal.na-standalone .single-field select {
  margin-top: 0;
}
#na-modal.na-modal.na-standalone {
  position: relative;
  inset: auto;
  z-index: 1;
  display: block !important;
  justify-content: initial;
  align-items: initial;
  background: transparent;
  backdrop-filter: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}

#na-modal.na-modal.na-standalone[hidden] {
  display: block !important;
}

#na-modal.na-modal.na-standalone .na-modal-inner.hvacoe-front-inner {
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

#na-modal.na-modal.na-standalone .popup-content-wrap {
  max-height: none;
  min-height: 0;
  overflow: visible;
  padding: 40px 0 48px;
}

/* The popup pins its card to the viewport (93vh / 100dvh) and clips the
   overflow, because the modal scrolls internally. Inline on a page there is no
   internal scroller, so any step taller than the viewport was cut off - taking
   the Prev/Next row with it. Height has to be reset too; overriding only
   max-height/min-height above still left the modal's `height` in force. */
#na-modal.na-modal.na-standalone .na-modal-inner.hvacoe-front-inner {
  height: auto;
  min-height: 0;
  max-height: none;
}

#na-modal.na-modal.na-standalone .popup-content-wrap {
  height: auto;
  align-items: flex-start;
}

@media (max-width: 1000px) {
  #na-modal.na-modal.na-standalone .popup-content-wrap {
    padding: 28px 0 56px;
  }
}

#na-modal.na-modal.na-standalone .na-close,
#na-modal.na-modal.na-standalone .na-ai-tool.na-close {
  display: none !important;
}

#na-modal.na-modal.na-standalone.na-ai-powered {
  min-height: 640px;
}

#na-modal.na-modal.na-standalone.na-ai-powered .na-modal-inner.hvacoe-front-inner {
  min-height: 640px;
  display: flex;
  flex-direction: column;
}

#na-modal.na-modal.na-standalone.na-ai-powered .popup-content-wrap {
  flex: 1 1 auto;
  min-height: 520px;
}
