.ng-ai-widget {
  --ng-ai-primary: #123c69;
  --ng-ai-accent: #e1b12c;
  --ng-ai-text: #17202a;
  --ng-ai-muted: #68717c;
  --ng-ai-border: #d9dee5;
  --ng-ai-bg: #ffffff;
  bottom: 22px;
  font-family: Arial, Helvetica, sans-serif;
  position: fixed;
  right: 22px;
  z-index: 99999;
}

.ng-ai-toggle {
  align-items: center;
  background: linear-gradient(135deg, #123c69 0%, #0e2f54 100%);
  border: 2px solid #d6336c;
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(18, 60, 105, 0.3), 0 0 0 4px rgba(214, 51, 108, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  min-height: 56px;
  padding: 10px 20px 10px 10px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ng-ai-toggle::before {
  border: 1px solid rgba(214, 51, 108, 0.55);
  border-radius: inherit;
  content: "";
  inset: -7px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: scale(0.96);
}

.ng-ai-widget:not(.is-open):not(.is-muted) .ng-ai-toggle::before {
  animation: ng-ai-toggle-halo 2.4s ease-out infinite;
}

.ng-ai-toggle:hover {
  box-shadow: 0 22px 52px rgba(18, 60, 105, 0.36), 0 0 0 5px rgba(214, 51, 108, 0.12);
  transform: translateY(-2px);
}

.ng-ai-toggle__icon {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: #123c69;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  overflow: hidden;
  width: 34px;
}

.ng-ai-toggle .ng-ai-toggle__text {
  color: #ffffff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.ng-ai-toggle__icon img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.ng-ai-panel__header .ng-ai-clear-btn,
.ng-ai-panel__header .ng-ai-icon-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.58) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.ng-ai-panel__header .ng-ai-clear-btn:hover,
.ng-ai-panel__header .ng-ai-icon-btn:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #123c69 !important;
  text-shadow: none;
}

.ng-project-guide {
  --ng-project-blue: #123c69;
  --ng-project-ink: #082747;
  --ng-project-pink: #d6336c;
  --ng-project-gold: #e1b12c;
  --ng-project-line: #d9e5f1;
  box-sizing: border-box;
  color: var(--ng-project-ink);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0 auto 28px;
  max-width: 1180px;
  padding: 18px 16px 8px;
}

.ng-project-guide *,
.ng-project-guide *::before,
.ng-project-guide *::after {
  box-sizing: border-box;
}

.ng-project-guide__shell {
  align-items: stretch;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 56%, #eef6ff 100%);
  border: 1px solid var(--ng-project-line);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(18, 60, 105, 0.13);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
  position: relative;
}

.ng-project-guide__shell::before {
  background: linear-gradient(180deg, var(--ng-project-blue), #2c6f95);
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 6px;
}

.ng-project-guide__intro {
  align-content: center;
  display: grid;
  padding: 6px 12px 6px 4px;
}

.ng-project-guide__eyebrow {
  color: var(--ng-project-pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.ng-project-guide h2 {
  color: var(--ng-project-ink);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 900;
  line-height: 1.02;
  margin: 0 0 14px;
  max-width: 620px;
}

.ng-project-guide__intro p {
  color: #526376;
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  max-width: 580px;
}

.ng-project-guide__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.ng-project-guide__chips span {
  background: #ffffff;
  border: 1px solid #dce7f2;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(18, 60, 105, 0.08);
  color: #123c69;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 12px;
}

.ng-project-guide__card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d7e3ef;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(8, 39, 71, 0.12);
  display: grid;
  min-height: 388px;
  padding: 18px;
}

.ng-project-guide__progress {
  color: #617286;
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 9px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.ng-project-guide__progress div {
  background: #edf3f9;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.ng-project-guide__progress i {
  background: linear-gradient(90deg, var(--ng-project-blue), var(--ng-project-pink));
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 0.25s ease;
  width: 20%;
}

.ng-project-guide__step {
  display: none;
}

.ng-project-guide__step.is-active {
  animation: ng-project-step-in 0.22s ease both;
  display: grid;
  gap: 14px;
}

.ng-project-guide h3 {
  color: var(--ng-project-ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
}

.ng-project-guide__choices {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ng-project-guide__choices button,
.ng-project-guide__next,
.ng-project-guide__submit,
.ng-project-guide__back {
  border-radius: 10px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  min-height: 48px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ng-project-guide__choices button {
  background: #ffffff;
  border: 1px solid #cfddeb;
  color: var(--ng-project-ink);
  padding: 0 14px;
  text-align: left;
}

.ng-project-guide__choices button:hover,
.ng-project-guide__choices button.is-selected {
  background: #123c69;
  border-color: #123c69;
  box-shadow: 0 12px 28px rgba(18, 60, 105, 0.18);
  color: #ffffff;
  transform: translateY(-1px);
}

.ng-project-guide label {
  display: grid;
  gap: 7px;
  margin: 0;
}

.ng-project-guide label span {
  color: #5d6d80;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ng-project-guide input,
.ng-project-guide select {
  background: #ffffff;
  border: 1px solid #cbd8e6;
  border-radius: 10px;
  color: var(--ng-project-ink);
  font-size: 15px;
  min-height: 50px;
  padding: 0 14px;
  width: 100%;
}

.ng-project-guide input:focus,
.ng-project-guide select:focus {
  border-color: var(--ng-project-blue);
  box-shadow: 0 0 0 3px rgba(18, 60, 105, 0.12);
  outline: none;
}

.ng-project-guide__input-error {
  border-color: #d6336c !important;
  box-shadow: 0 0 0 3px rgba(214, 51, 108, 0.12) !important;
}

.ng-project-guide__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ng-project-guide__actions {
  align-items: end;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 18px;
}

.ng-project-guide__back {
  background: #ffffff;
  border: 1px solid #cfddeb;
  color: #123c69;
  padding: 0 18px;
}

.ng-project-guide__next,
.ng-project-guide__submit {
  background: #e1b12c;
  border: 1px solid #e1b12c;
  color: #142033;
  padding: 0 20px;
}

.ng-project-guide__submit {
  background: #123c69;
  border-color: #123c69;
  color: #ffffff;
}

.ng-project-guide__back:hover,
.ng-project-guide__next:hover,
.ng-project-guide__submit:hover {
  box-shadow: 0 12px 28px rgba(18, 60, 105, 0.16);
  transform: translateY(-1px);
}

.ng-project-guide__card.is-final-step .ng-project-guide__next,
.ng-project-guide__card:not(.is-final-step) .ng-project-guide__submit,
.ng-project-guide [hidden] {
  display: none !important;
}

.ng-project-guide__privacy {
  color: #6c7a89;
  font-size: 12px;
  margin: 0;
}

.ng-project-guide__result {
  background: #f3f8fc;
  border: 1px solid #d8e5f1;
  border-radius: 12px;
  color: #203248;
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
}

.ng-project-guide__result strong {
  color: #123c69;
  font-size: 15px;
  line-height: 1.35;
}

.ng-project-guide__result span {
  color: #5a6878;
  font-size: 13px;
}

.ng-project-guide__result ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ng-project-guide__result li {
  background: #ffffff;
  border: 1px solid #dce6f0;
  border-radius: 9px;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
}

.ng-project-guide__result a {
  color: #123c69;
  font-weight: 900;
  text-decoration: none;
}

.ng-project-guide__result em {
  color: #526376;
  font-size: 12px;
  font-style: normal;
}

.ng-project-guide__card.is-complete .ng-project-guide__step,
.ng-project-guide__card.is-complete .ng-project-guide__progress,
.ng-project-guide__card.is-complete .ng-project-guide__actions {
  display: none;
}

@keyframes ng-project-step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .ng-project-guide {
    padding: 12px 8px 4px;
  }

  .ng-project-guide__shell {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .ng-project-guide h2 {
    font-size: 30px;
  }

  .ng-project-guide__intro p {
    font-size: 15px;
  }

  .ng-project-guide__card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .ng-project-guide__choices,
  .ng-project-guide__grid {
    grid-template-columns: 1fr;
  }

  .ng-project-guide__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ng-project-guide__actions button {
    width: 100%;
  }
}

.ng-ai-panel {
  background: var(--ng-ai-bg);
  border: 1px solid var(--ng-ai-border);
  border-radius: 8px;
  bottom: 74px;
  box-shadow: 0 18px 50px rgba(23, 32, 42, 0.24);
  display: none;
  flex-direction: column;
  max-height: min(640px, calc(100vh - 96px));
  overflow: hidden;
  position: absolute;
  right: 0;
  width: min(390px, calc(100vw - 28px));
}

.ng-ai-widget.is-open .ng-ai-panel {
  display: flex;
}

.ng-ai-widget.is-intro-pending .ng-ai-toggle,
.ng-ai-widget.is-intro-running .ng-ai-toggle {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.94);
}

.ng-ai-widget.has-intro-finished .ng-ai-toggle {
  animation: ng-ai-toggle-arrive 0.42s ease both;
}

.ng-ai-mobile-bar {
  display: none;
}

.ng-ai-hidden-original-cta {
  display: none !important;
}

.ng-property-cta-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #d8e4f0;
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(18, 60, 105, 0.14);
  box-sizing: border-box;
  color: #082747;
  display: grid;
  gap: 8px;
  margin-top: 12px;
  max-width: 310px;
  padding: 16px;
  width: 100%;
}

.ng-property-cta__eyebrow {
  color: #d6336c;
  display: block;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.ng-property-cta__title {
  color: #082747;
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.ng-property-cta__subtitle {
  color: #5d6b7b;
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

.ng-property-cta__actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin-top: 4px;
}

.ng-property-cta__button {
  align-items: center;
  border-radius: 8px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  width: 100%;
}

.ng-property-cta__note {
  color: #5d6b7b;
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2px;
  text-align: center;
}

.ng-property-cta__button:hover {
  transform: translateY(-1px);
}

.ng-property-cta-panel .ng-property-cta__button--primary {
  background: #123c69 !important;
  border: 1px solid #123c69 !important;
  box-shadow: 0 10px 22px rgba(18, 60, 105, 0.22);
  color: #ffffff !important;
  grid-column: 1 / -1;
}

.ng-property-cta-panel .ng-property-cta__button--secondary {
  background: #ffffff !important;
  border: 1px solid #d6336c !important;
  color: #d6336c !important;
}

.ng-property-cta-panel .ng-property-cta__button--call {
  background: #e1b12c !important;
  border: 1px solid #e1b12c !important;
  color: #17202a !important;
}

.ng-ai-404 {
  background: #f5f8fb;
  color: #10243d;
  font-family: Arial, Helvetica, sans-serif;
  padding: 64px 20px 86px;
}

.ng-ai-404__hero,
.ng-ai-404__properties {
  margin: 0 auto;
  max-width: 1080px;
}

.ng-ai-404__hero {
  background: #ffffff;
  border: 1px solid #dbe5ef;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(16, 36, 61, 0.1);
  padding: clamp(28px, 5vw, 56px);
}

.ng-ai-404__eyebrow {
  color: #d6336c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.ng-ai-404 h1 {
  color: #082747;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin: 0 0 14px;
}

.ng-ai-404__hero p {
  color: #526173;
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 700px;
}

.ng-ai-404__search {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 720px;
}

.ng-ai-404__search input {
  border: 1px solid #cfd9e5;
  border-radius: 10px;
  font-size: 16px;
  min-height: 52px;
  padding: 0 16px;
}

.ng-ai-404__search button,
.ng-ai-404__actions a,
.ng-ai-404__actions button {
  align-items: center;
  border-radius: 10px;
  border: 1px solid #123c69;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none !important;
}

.ng-ai-404__search button,
.ng-ai-404__actions a:first-child {
  background: #123c69;
  color: #ffffff !important;
}

.ng-ai-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ng-ai-404__actions a,
.ng-ai-404__actions button {
  background: #ffffff;
  color: #123c69;
}

.ng-ai-404__actions button {
  border-color: #d6336c;
  color: #d6336c;
}

.ng-ai-404__properties {
  margin-top: 34px;
}

.ng-ai-404__properties h2 {
  color: #082747;
  font-size: 24px;
  margin: 0 0 16px;
}

.ng-ai-404__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ng-ai-404__property {
  background: #ffffff;
  border: 1px solid #dbe5ef;
  border-radius: 12px;
  color: #10243d !important;
  display: grid;
  gap: 12px;
  min-height: 120px;
  padding: 18px;
  text-decoration: none !important;
}

.ng-ai-404__property span {
  color: #0f8f7a;
  font-weight: 900;
}

@keyframes ng-ai-toggle-arrive {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ng-ai-toggle-halo {
  0% {
    box-shadow: 0 0 0 0 rgba(214, 51, 108, 0.24);
    opacity: 0.9;
    transform: scale(0.98);
  }
  70% {
    box-shadow: 0 0 0 13px rgba(214, 51, 108, 0);
    opacity: 0;
    transform: scale(1.06);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(214, 51, 108, 0);
    opacity: 0;
    transform: scale(1.06);
  }
}

.ng-ai-intro {
  align-items: center;
  background: #123c69 !important;
  background-image: linear-gradient(135deg, #123c69 0%, #0e2f54 100%) !important;
  border: 2px solid #d6336c !important;
  border-radius: 999px !important;
  bottom: 120px;
  box-shadow: 0 24px 60px rgba(18, 60, 105, 0.38), 0 0 0 5px rgba(214, 51, 108, 0.12) !important;
  color: #ffffff !important;
  cursor: pointer;
  display: inline-flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px !important;
  font-weight: 900 !important;
  gap: 10px;
  justify-content: center;
  left: 50%;
  min-height: 58px;
  opacity: 0;
  padding: 0 26px;
  pointer-events: auto;
  position: fixed;
  transform: translate(-50%, 18px) scale(0.96);
  transition: opacity 0.5s ease, transform 0.65s cubic-bezier(0.2, 0.85, 0.2, 1), bottom 0.75s ease, left 0.75s ease, right 0.75s ease;
  z-index: 99998;
}

.ng-ai-intro::before {
  background: #fff;
  border-radius: 999px;
  color: #123c69;
  content: "NG";
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
}

.ng-ai-intro.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.ng-ai-intro.is-docking {
  bottom: 22px;
  left: auto;
  right: 22px;
  transform: translate(0, 0) scale(0.9);
}

.ng-ai-intro.is-leaving {
  opacity: 0;
  transform: translate(0, 0) scale(0.9);
}

@media (prefers-reduced-motion: reduce) {
  .ng-ai-intro {
    display: none;
  }
}

.ng-ai-panel__header {
  align-items: center;
  background: var(--ng-ai-primary);
  color: #fff;
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  padding: 14px 16px;
}

.ng-ai-panel__header strong,
.ng-ai-panel__header span {
  display: block;
}

.ng-ai-panel__header span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  margin-top: 2px;
}

.ng-ai-panel__actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.ng-ai-clear-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  min-height: 32px;
  padding: 0 10px;
}

.ng-ai-clear-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ng-ai-icon-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  line-height: 1;
  width: 32px;
}

.ng-ai-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 82px;
  overflow-y: auto;
  padding: 12px 16px;
}

.ng-ai-quick-actions {
  border-bottom: 1px solid var(--ng-ai-border);
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 12px;
  scrollbar-width: none;
}

.ng-ai-quick-actions::-webkit-scrollbar {
  display: none;
}

.ng-ai-quick-actions button {
  background: #f7f8fa;
  border: 1px solid var(--ng-ai-border);
  border-radius: 999px;
  color: var(--ng-ai-text);
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  min-height: 34px;
  min-width: 122px;
  overflow: hidden;
  padding: 7px 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ng-ai-quick-actions button:hover {
  border-color: var(--ng-ai-primary);
  color: var(--ng-ai-primary);
}

.ng-ai-context {
  background: #eef6fb;
  border-bottom: 1px solid var(--ng-ai-border);
  color: var(--ng-ai-primary);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  overflow: hidden;
  padding: 8px 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ng-ai-message {
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 88%;
  padding: 10px 12px;
  white-space: pre-wrap;
}

.ng-ai-message--assistant {
  align-self: flex-start;
  background: #f1f4f7;
  color: var(--ng-ai-text);
}

.ng-ai-message--user {
  align-self: flex-end;
  background: var(--ng-ai-primary);
  color: #fff;
}

.ng-ai-message a {
  color: var(--ng-ai-primary);
  display: inline-block;
  font-weight: 700;
  margin-top: 3px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ng-ai-message--user a {
  color: #fff;
}

.ng-ai-response-actions {
  align-self: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 92%;
}

.ng-ai-response-actions button {
  background: #fff;
  border: 1px solid var(--ng-ai-border);
  border-radius: 999px;
  color: var(--ng-ai-primary);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  min-height: 32px;
  padding: 7px 11px;
}

.ng-ai-response-actions button:hover {
  background: var(--ng-ai-primary);
  border-color: var(--ng-ai-primary);
  color: #fff;
}

.ng-ai-compose {
  display: grid;
  flex: 0 0 auto;
  gap: 10px;
  grid-template-columns: 1fr auto;
  border-top: 1px solid var(--ng-ai-border);
  padding: 12px;
}

.ng-ai-compose textarea {
  border: 1px solid var(--ng-ai-border);
  border-radius: 6px;
  box-sizing: border-box;
  color: var(--ng-ai-text);
  font: inherit;
  min-height: 46px;
  padding: 10px;
  resize: none;
  width: 100%;
}

.ng-ai-compose button {
  background: var(--ng-ai-accent);
  border: 0;
  border-radius: 6px;
  color: #17202a;
  cursor: pointer;
  font-weight: 700;
  min-height: 46px;
  padding: 0 15px;
}

.ng-ai-compose.is-loading button {
  opacity: 0.65;
}

.ng-ai-privacy {
  color: var(--ng-ai-muted);
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1.35;
  margin: -6px 12px 10px;
}

@media (max-width: 768px) {
  .ng-ai-404 {
    padding: 34px 14px 112px;
  }

  .ng-ai-404__hero {
    border-radius: 12px;
    padding: 24px 18px;
  }

  .ng-ai-404__search,
  .ng-ai-404__grid {
    grid-template-columns: 1fr;
  }

  .ng-ai-404__actions {
    display: grid;
  }

  .ng-property-cta-panel,
  .ng-ai-hidden-original-cta {
    display: none !important;
  }

  .ng-ai-intro {
    display: none;
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .ng-ai-widget {
    bottom: 0 !important;
    left: 0;
    right: 0 !important;
    width: 100%;
  }

  .ng-ai-toggle__text {
    display: none;
  }

  .ng-ai-toggle {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .mobile-call-btn {
    display: none !important;
  }

  .ng-ai-toggle__icon {
    height: 34px;
    width: 34px;
  }

  .ng-ai-mobile-bar {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--ng-ai-border);
    box-shadow: 0 -10px 26px rgba(23, 32, 42, 0.16);
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    width: 100%;
  }

  .ng-ai-mobile-bar__item {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ng-ai-border);
    border-radius: 8px;
    color: var(--ng-ai-primary);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 44px;
    padding: 0 8px;
    text-decoration: none;
  }

  .ng-ai-mobile-bar__item:first-child {
    background: var(--ng-ai-primary);
    border-color: var(--ng-ai-primary);
    color: #fff;
  }

  .ng-ai-mobile-bar__item span {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
  }

  .ng-ai-mobile-bar__item img {
    display: block;
    height: 24px;
    object-fit: contain;
    width: 24px;
  }

  .ng-ai-panel {
    bottom: 68px;
    left: 8px;
    max-height: calc(100vh - 92px);
    right: 8px;
    width: auto;
  }

  .ng-ai-clear-btn {
    font-size: 0;
    padding: 0;
    position: relative;
    width: 32px;
  }

  .ng-ai-clear-btn::before {
    content: "↻";
    font-size: 16px;
  }

  .ng-ai-messages {
    min-height: 0;
  }

  .ng-ai-quick-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px;
    scrollbar-width: none;
  }

  .ng-ai-quick-actions::-webkit-scrollbar {
    display: none;
  }

  .ng-ai-quick-actions button {
    flex: 0 0 auto;
    font-size: 12px;
    min-height: 32px;
    min-width: 84px;
    padding: 6px 10px;
  }
}
