.n93cw {
  --n93cw-ink: #111318;
  --n93cw-panel: #fbfaf7;
  --n93cw-panel-soft: #f3eee4;
  --n93cw-panel-warm: #fffdf8;
  --n93cw-line: rgba(18, 19, 24, 0.12);
  --n93cw-muted: #6d717a;
  --n93cw-gold: #c7a76b;
  --n93cw-gold-dark: #8e6b34;
  --n93cw-forest: #31443a;
  --n93cw-success: #216e4e;
  --n93cw-error: #a13a32;
  color: var(--n93cw-ink);
  font-family: Mulish, Arial, sans-serif;
  position: fixed;
  z-index: 2147482000;
}

.n93cw,
.n93cw * {
  box-sizing: border-box;
}

.n93cw button,
.n93cw input,
.n93cw textarea {
  font-family: inherit;
}

.n93cw__teaser {
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(199, 167, 107, 0.46);
  border-radius: 12px;
  bottom: 104px;
  box-shadow: 0 18px 48px rgba(36, 31, 24, 0.18);
  color: #211c16;
  cursor: pointer;
  display: grid;
  gap: 6px;
  max-width: min(340px, calc(100vw - 32px));
  opacity: 0;
  padding: 14px 16px;
  pointer-events: none;
  position: fixed;
  right: 20px;
  text-align: left;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.n93cw.has-teaser:not(.is-open) .n93cw__teaser {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.n93cw__teaser-name {
  color: var(--n93cw-gold-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.n93cw__teaser-text {
  color: var(--n93cw-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.n93cw__launcher {
  align-items: center;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(199, 167, 107, 0.52);
  border-radius: 22px;
  bottom: 20px;
  box-shadow: 0 18px 44px rgba(36, 31, 24, 0.18);
  color: #211c16;
  cursor: pointer;
  display: flex;
  gap: 12px;
  min-height: 74px;
  max-width: min(330px, calc(100vw - 32px));
  padding: 10px 18px 10px 10px;
  position: fixed;
  right: 20px;
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.n93cw__launcher:hover {
  box-shadow: 0 22px 54px rgba(36, 31, 24, 0.24);
  transform: translateY(-1px);
}

.n93cw.is-open .n93cw__launcher {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.n93cw__avatar {
  align-items: center;
  background: #e5ddcf url('/local/templates/nonvo93/images/team/2.webp') center 36% / cover no-repeat;
  border: 2px solid rgba(255, 253, 248, 0.96);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  height: 48px;
  justify-content: center;
  line-height: 1;
  position: relative;
  width: 48px;
}

.n93cw__avatar--head {
  height: 50px;
  width: 50px;
}

.n93cw__status {
  background: #28b46f;
  border: 2px solid #fffdf8;
  border-radius: 50%;
  bottom: 2px;
  box-shadow: 0 0 0 3px rgba(40, 180, 111, 0.12);
  height: 12px;
  position: absolute;
  right: 1px;
  width: 12px;
}

.n93cw__launcher-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.n93cw__launcher-title {
  color: #17120c;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.2;
}

.n93cw__launcher-sub {
  color: var(--n93cw-forest);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  max-width: 225px;
}

.n93cw__panel {
  background: var(--n93cw-panel);
  border: 1px solid rgba(199, 167, 107, 0.34);
  border-radius: 12px;
  bottom: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  display: none;
  max-height: min(720px, calc(100vh - 40px));
  overflow: hidden;
  position: fixed;
  right: 20px;
  width: min(420px, calc(100vw - 32px));
}

.n93cw.is-open .n93cw__panel {
  display: flex;
  flex-direction: column;
}

.n93cw__head {
  align-items: flex-start;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(246, 241, 231, 0.98));
  border-bottom: 1px solid rgba(199, 167, 107, 0.28);
  color: var(--n93cw-ink);
  display: flex;
  gap: 14px;
  padding: 18px 18px 16px;
}

.n93cw__mark {
  align-items: center;
  background: linear-gradient(135deg, #d7bd82, #9c7337);
  border-radius: 50%;
  color: #111318;
  display: flex;
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.n93cw__head-copy {
  flex: 1;
  min-width: 0;
}

.n93cw__eyebrow {
  color: var(--n93cw-gold-dark);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.n93cw__title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.n93cw__close {
  align-items: center;
  background: rgba(17, 19, 24, 0.05);
  border: 1px solid rgba(17, 19, 24, 0.08);
  border-radius: 50%;
  color: var(--n93cw-ink);
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  font-size: 20px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

.n93cw__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.n93cw__view {
  display: none;
  min-height: 0;
  overflow: auto;
  padding: 18px;
}

.n93cw__view.is-active {
  display: block;
}

.n93cw__intro {
  color: var(--n93cw-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.n93cw__action {
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--n93cw-line);
  border-radius: 8px;
  color: var(--n93cw-ink);
  cursor: pointer;
  display: flex;
  gap: 13px;
  margin: 0 0 10px;
  min-height: 70px;
  padding: 13px;
  text-align: left;
  width: 100%;
}

.n93cw__action:hover {
  border-color: rgba(199, 167, 107, 0.72);
}

.n93cw__action-icon {
  align-items: center;
  background: rgba(199, 167, 107, 0.12);
  border-radius: 50%;
  color: var(--n93cw-gold-dark);
  display: flex;
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.n93cw__action strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
  margin-bottom: 3px;
}

.n93cw__action span:last-child {
  color: var(--n93cw-muted);
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

.n93cw__back {
  background: transparent;
  border: 0;
  color: var(--n93cw-gold-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 14px;
  padding: 0;
}

.n93cw__view-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 10px;
}

.n93cw__form {
  display: grid;
  gap: 11px;
  margin-top: 15px;
}

.n93cw__field {
  display: grid;
  gap: 6px;
}

.n93cw__field span {
  color: var(--n93cw-muted);
  font-size: 12px;
  font-weight: 700;
}

.n93cw__input,
.n93cw__textarea {
  background: #fff;
  border: 1px solid var(--n93cw-line);
  border-radius: 8px;
  color: var(--n93cw-ink);
  font-size: 15px;
  outline: none;
  padding: 13px 14px;
  width: 100%;
}

.n93cw__textarea {
  min-height: 76px;
  resize: vertical;
}

.n93cw__input:focus,
.n93cw__textarea:focus {
  border-color: var(--n93cw-gold);
  box-shadow: 0 0 0 3px rgba(199, 167, 107, 0.16);
}

.n93cw__submit {
  background: linear-gradient(135deg, #d6bd83, #a47d3d);
  border: 0;
  border-radius: 8px;
  color: #16130e;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  min-height: 52px;
  padding: 14px;
}

.n93cw__submit:disabled {
  cursor: default;
  opacity: 0.7;
}

.n93cw__msg {
  border-radius: 8px;
  display: none;
  font-size: 13px;
  line-height: 1.45;
  padding: 11px 12px;
}

.n93cw__msg.is-visible {
  display: block;
}

.n93cw__msg.is-success {
  background: rgba(33, 110, 78, 0.1);
  color: var(--n93cw-success);
}

.n93cw__msg.is-error {
  background: rgba(161, 58, 50, 0.1);
  color: var(--n93cw-error);
}

.n93cw__fine {
  color: var(--n93cw-muted);
  font-size: 11px;
  line-height: 1.45;
  margin: 2px 0 0;
}

.n93cw__chat {
  display: flex;
  flex-direction: column;
  height: 500px;
  max-height: calc(100vh - 160px);
  min-height: 340px;
}

.n93cw__messages {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(199, 167, 107, 0.2);
  border-radius: 8px;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px;
}

.n93cw__bubble {
  border-radius: 8px;
  clear: both;
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0 0 10px;
  max-width: 86%;
  padding: 11px 12px;
}

.n93cw__bubble.is-ai {
  background: #f0eadf;
  color: var(--n93cw-ink);
  float: left;
}

.n93cw__bubble.is-user {
  background: var(--n93cw-forest);
  color: #fffdf8;
  float: right;
}

.n93cw__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 11px 0;
}

.n93cw__quick button {
  background: #fff;
  border: 1px solid rgba(199, 167, 107, 0.42);
  border-radius: 999px;
  color: var(--n93cw-gold-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  min-height: 36px;
  padding: 8px 12px;
}

.n93cw__chat-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.n93cw__chat-form .n93cw__input {
  min-height: 48px;
}

.n93cw__chat-send {
  align-items: center;
  background: linear-gradient(135deg, #d6bd83, #a47d3d);
  border: 0;
  border-radius: 8px;
  color: #16130e !important;
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
  min-width: 108px;
  padding: 0 16px;
  text-align: center;
}

.n93cw__messengers {
  display: grid;
  gap: 10px;
}

.n93cw__messenger {
  align-items: center;
  background: #fff;
  border: 1px solid var(--n93cw-line);
  border-radius: 8px;
  color: var(--n93cw-ink);
  display: flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 14px;
  text-decoration: none;
}

.n93cw__messenger:hover {
  border-color: rgba(199, 167, 107, 0.72);
}

@media (max-width: 640px) {
  .n93cw__teaser {
    bottom: 96px;
    left: 14px;
    max-width: none;
    right: 14px;
  }

  .n93cw__launcher {
    bottom: 14px;
    border-radius: 20px;
    min-height: 68px;
    padding-right: 14px;
    right: 14px;
  }

  .n93cw__launcher-sub {
    max-width: 190px;
  }

  .n93cw__panel {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    bottom: 0;
    left: 0;
    max-height: 84vh;
    right: 0;
    width: 100vw;
  }

  .n93cw__head {
    padding: 16px;
  }

  .n93cw__view {
    padding: 16px;
  }

  .n93cw__chat {
    height: 58vh;
    max-height: none;
    min-height: 320px;
  }

  .n93cw__chat-form {
    gap: 7px;
  }

  .n93cw__chat-send {
    min-width: 92px;
    padding: 0 12px;
  }
}
