:root {
  --nkq-bg: radial-gradient(95% 70% at 20% 18%, rgba(36, 128, 120, 0.34) 0%, rgba(36, 128, 120, 0) 60%),
    radial-gradient(80% 65% at 82% 72%, rgba(128, 72, 40, 0.24) 0%, rgba(128, 72, 40, 0) 62%),
    linear-gradient(160deg, #0f5b66 0%, #1e4f67 40%, #3f3a63 78%, #5a3a44 100%);
  --nkq-card: transparent;
  --nkq-txt: #ffffff;
  --nkq-muted: rgba(246, 250, 255, 0.86);
  --nkq-line: rgba(233, 244, 252, 0.38);
  --nkq-brand: #f3f8ff;
  --nkq-brand2: #dcecff;
  --nkq-shadow: none;
  --nkq-radius: 0;
}

.nkq-wrap {
  background: var(--nkq-bg);
  min-height: 100dvh;
  padding: 24px 20px calc(26px + env(safe-area-inset-bottom));
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--nkq-txt);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.nkq-wrap::before,
.nkq-wrap::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.nkq-wrap::before {
  width: 480px;
  height: 480px;
  top: -210px;
  right: -170px;
  background: radial-gradient(circle at center, rgba(123, 196, 226, 0.22), rgba(123, 196, 226, 0));
}

.nkq-wrap::after {
  width: 500px;
  height: 500px;
  left: -220px;
  bottom: -210px;
  background: radial-gradient(circle at center, rgba(115, 153, 255, 0.2), rgba(115, 153, 255, 0));
}

.nkq {
  max-width: 780px;
  margin: 0 auto;
}

.nkq-card {
  background: var(--nkq-card);
  border: none;
  border-radius: var(--nkq-radius);
  backdrop-filter: none;
  box-shadow: var(--nkq-shadow);
  overflow: hidden;
}

.nkq-resume {
  border: 1px solid var(--nkq-line);
  background: rgba(255, 255, 255, 0.14);
  color: var(--nkq-txt);
  padding: 10px 12px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.3;
}

.nkq-resume-btns {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.nkq-top {
  padding: 2px 2px 10px;
  border-bottom: none;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.nkq-pill {
  font-size: 17px;
  color: rgba(243, 250, 255, 0.95);
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 36px;
}

.nkq-pill b {
  color: var(--nkq-txt);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nkq-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.nkq-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nkq-progress-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(230, 241, 250, 0.7);
  text-align: right;
}

.nkq-progress {
  height: 2px;
  background: rgba(238, 248, 255, 0.34);
  border-radius: 999px;
  overflow: hidden;
  flex: 1;
}

.nkq-progress > i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(223, 242, 255, 0.95));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.nkq-body {
  padding: 18px 2px 8px;
  min-height: 66vh;
}

.nkq-step {
  opacity: 0;
  transform: translateY(4px);
}

.nkq-step.in {
  animation: nkqStepIn 220ms ease forwards;
}

@keyframes nkqStepIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nkq-title {
  font-size: clamp(28px, 4.5vw, 54px);
  line-height: 1.14;
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.nkq-sub {
  font-size: clamp(18px, 2.4vw, 32px);
  line-height: 1.28;
  margin: 0 0 20px;
  color: var(--nkq-muted);
  white-space: pre-line;
  text-align: center;
}

.nkq-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.nkq-options.nkq-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nkq-options.nkq-options-single {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 26px;
}

.nkq-step-start .nkq-title {
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.16;
  margin-bottom: 8px;
  text-align: center;
}

.nkq-step-start .nkq-sub {
  font-size: clamp(15px, 2vw, 22px);
  line-height: 1.32;
  margin-bottom: 12px;
  text-align: center;
}

.nkq-start-illustration-wrap {
  width: min(calc(100% - 32px), 720px);
  margin: 16px auto 16px;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(236, 247, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
}

.nkq-start-illustration-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.nkq-start-illustration-wrap.is-fallback {
  display: none;
}

.nkq-start-illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.nkq-start-hero {
  display: none;
  font-size: 48px;
  line-height: 1;
  text-align: center;
}

.nkq-start-card {
  margin: 0 auto;
  width: min(100%, 620px);
  border-radius: 24px;
  border: 1px solid rgba(230, 242, 255, 0.55);
  background: rgba(247, 252, 255, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(3, 11, 30, 0.16);
  padding: 14px 14px 12px;
  display: grid;
  gap: 10px;
}

.nkq-start-micro-trust {
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(246, 251, 255, 0.92);
}

.nkq-start-cta {
  margin-top: 4px;
  min-height: 52px;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  animation: nkqCtaIn 220ms ease;
}

@keyframes nkqCtaIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.nkq-start-cta:active {
  transform: scale(0.98);
}

.nkq-start-hint {
  margin-top: 2px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(236, 248, 255, 0.8);
}

.nkq-step-support .nkq-title {
  font-size: clamp(20px, 3.4vw, 32px);
  margin-bottom: 8px;
}

.nkq-support-visual {
  width: min(100%, 200px);
  height: 110px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(231, 244, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.nkq-support-visual-img {
  width: 74%;
  height: 74%;
  max-width: 74%;
  max-height: 74%;
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: auto;
  transform: translateY(-2px);
}

.nkq-support-visual-emoji {
  font-size: 62px;
  line-height: 1;
  display: none;
}

.nkq-support-visual.is-fallback .nkq-support-visual-img {
  display: none;
}

.nkq-support-visual.is-fallback .nkq-support-visual-emoji {
  display: block;
}

.nkq-support-card {
  width: min(100%, 760px);
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid rgba(233, 245, 255, 0.52);
  background: rgba(249, 253, 255, 0.15);
  box-shadow: 0 8px 24px rgba(3, 11, 30, 0.14);
  padding: 16px;
}

.nkq-support-text {
  margin: 0;
  white-space: pre-line;
  text-align: center;
  font-size: clamp(15px, 2vw, 22px);
  line-height: 1.34;
  color: rgba(245, 251, 255, 0.97);
}

.nkq-support-process {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(231, 246, 255, 0.86);
}

.nkq-support-btn {
  width: min(100%, 360px);
  margin: 0 auto;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
}

.nkq-support-btn .nkq-ico {
  width: 28px;
  height: 28px;
  font-size: 16px;
}

.nkq-btn {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--nkq-line);
  background: linear-gradient(180deg, rgba(20, 41, 63, 0.22), rgba(26, 40, 62, 0.18));
  font-size: 15px;
  font-weight: 800;
  color: var(--nkq-txt);
  cursor: pointer;
  text-align: left;
  transition: transform 0.04s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nkq-btn:active {
  transform: scale(0.99);
}

.nkq-btn:hover {
  border-color: rgba(240, 248, 255, 0.54);
  box-shadow: 0 10px 24px rgba(4, 13, 35, 0.2);
}

.nkq-btn:focus-visible,
.nkq-link:focus-visible,
.nkq-cta:focus-visible,
.nkq-cta2:focus-visible {
  outline: 3px solid rgba(14, 165, 164, 0.35);
  outline-offset: 2px;
}

.nkq-btn.is-active {
  border-color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, rgba(248, 253, 255, 0.2), rgba(233, 246, 255, 0.12));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.nkq-ico {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 20px;
  flex: 0 0 auto;
}

.nkq-btn-option {
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  text-align: center;
  min-height: 132px;
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 600;
  backdrop-filter: blur(2px);
}

.nkq-btn-option .nkq-emoji {
  width: 44px;
  height: 44px;
  font-size: 26px;
  border-radius: 999px;
}

.nkq-btn-single {
  min-height: 82px;
  border-radius: 999px;
  font-size: 24px;
}

.nkq-foot {
  padding: 10px 2px 0;
  border-top: none;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.nkq-link {
  appearance: none;
  border: none;
  background: transparent;
  padding: 8px 6px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
}

.nkq-cta {
  appearance: none;
  border: none;
  background: linear-gradient(120deg, var(--nkq-brand), var(--nkq-brand2));
  color: #163047;
  font-weight: 900;
  font-size: 18px;
  padding: 14px 24px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(9, 46, 109, 0.24);
}

.nkq-top-cta {
  min-width: 116px;
  font-size: 16px;
  padding: 12px 18px;
}

.nkq-cta[disabled] {
  opacity: 1;
  color: rgba(22, 48, 71, 0.55);
  background: linear-gradient(120deg, rgba(236, 244, 252, 0.9), rgba(219, 232, 245, 0.9));
  cursor: not-allowed;
  box-shadow: none;
}

.nkq-cta-done {
  color: #13324f;
  background: linear-gradient(120deg, #eef5ff, #d8e9ff);
}

.nkq-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
  color: #ffffff;
  background: rgba(92, 179, 255, 0.24);
  border: 1px solid rgba(149, 209, 255, 0.5);
  padding: 6px 10px;
  border-radius: 999px;
}

.nkq-report {
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.45;
  color: var(--nkq-txt);
  margin-top: 12px;
}

.nkq-offer {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 212, 255, 0.35);
  background: linear-gradient(180deg, rgba(47, 113, 192, 0.3), rgba(16, 56, 111, 0.45));
}

.nkq-offer-title {
  font-size: 13px;
  font-weight: 900;
}

.nkq-offer-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--nkq-muted);
}

.nkq-offer-check {
  font-weight: 900;
  color: #8ee8ff;
}

.nkq-result-meta {
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(171, 222, 255, 0.28);
  background: linear-gradient(180deg, rgba(111, 166, 193, 0.34), rgba(90, 130, 150, 0.36));
}

.nkq-result-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
}

.nkq-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.nkq-result-chip {
  appearance: none;
  border: 1px solid rgba(198, 230, 245, 0.3);
  background: rgba(29, 72, 95, 0.35);
  color: #e8f5ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.nkq-result-chip.is-active {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(248, 252, 255, 0.92);
  color: #213546;
}

.nkq-result-note {
  width: 100%;
  min-height: 98px;
  border-radius: 16px;
  border: 1px solid rgba(195, 229, 247, 0.3);
  background: rgba(134, 170, 189, 0.42);
  color: #ffffff;
  padding: 12px 14px;
  resize: vertical;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
}

.nkq-result-note::placeholder {
  color: rgba(228, 245, 255, 0.72);
}

.nkq-cta2 {
  display: block;
  width: 100%;
  text-decoration: none;
  text-align: center;
  margin-top: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(9, 27, 58, 0.9);
  color: #fff;
  font-weight: 900;
}

.nkq-cta-primary {
  border: none;
  background: linear-gradient(100deg, #1ca7ff, #1967ff);
  box-shadow: 0 12px 28px rgba(27, 112, 255, 0.45);
}

.nkq-cta-ai {
  background: linear-gradient(90deg, #07b6b4, #22c55e);
  border: none;
  cursor: pointer;
}

.nkq-cta-secondary {
  background: rgba(4, 20, 44, 0.95);
}

.nkq-small {
  font-size: 12px;
  color: var(--nkq-muted);
  margin-top: 10px;
}

.nkq-chat-open {
  overflow: hidden;
}

.nkq-chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 18, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  z-index: 9999;
}

@media (max-width: 620px) {
  .nkq-wrap {
    padding: 14px 14px calc(16px + env(safe-area-inset-bottom));
  }

  .nkq-top {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nkq-progress-text {
    text-align: left;
  }

  .nkq-title {
    font-size: clamp(28px, 8.2vw, 36px);
  }

  .nkq-sub {
    font-size: 18px;
  }

  .nkq-options.nkq-options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nkq-step-start .nkq-title {
    font-size: clamp(23px, 7vw, 30px);
  }

  .nkq-step-start .nkq-sub {
    font-size: clamp(14px, 4.5vw, 18px);
    margin-bottom: 10px;
  }

  .nkq-start-hero {
    font-size: 42px;
  }

  .nkq-start-illustration-wrap {
    width: calc(100% - 32px);
    margin: 16px auto;
    border-radius: 24px;
  }

  .nkq-start-card {
    padding: 12px 10px 10px;
    gap: 8px;
    border-radius: 20px;
  }

  .nkq-start-micro-trust {
    font-size: 13px;
    line-height: 1.32;
  }

  .nkq-start-cta {
    min-height: 48px;
    font-size: 17px;
  }

  .nkq-step-support .nkq-title {
    font-size: clamp(18px, 6.2vw, 24px);
    margin-bottom: 6px;
  }

  .nkq-support-visual {
    width: min(100%, 170px);
    height: 88px;
    border-radius: 16px;
  }

  .nkq-support-visual-img {
    width: 78%;
    height: 78%;
    max-width: 78%;
    max-height: 78%;
    transform: translateY(-1px);
  }

  .nkq-support-visual-emoji {
    font-size: 48px;
  }

  .nkq-support-card {
    border-radius: 16px;
    padding: 12px;
  }

  .nkq-support-text {
    font-size: clamp(13px, 3.8vw, 16px);
    line-height: 1.3;
  }

  .nkq-support-process {
    font-size: 12px;
  }

  .nkq-support-btn {
    min-height: 46px;
    width: min(100%, 320px);
    font-size: 15px;
  }

  .nkq-btn-option {
    min-height: 120px;
    font-size: 17px;
  }

  .nkq-btn-option .nkq-emoji {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .nkq-btn-single {
    font-size: 20px;
    min-height: 78px;
  }

  .nkq-result-meta {
    padding: 12px;
    border-radius: 16px;
  }

  .nkq-result-chip {
    font-size: 13px;
    padding: 8px 11px;
  }

  .nkq-foot {
    gap: 8px;
  }
}

@media (min-width: 621px) {
  .nkq-btn-option {
    min-height: 146px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nkq-step.in {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .nkq-progress > i {
    transition: none;
  }

  .nkq-btn {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
}

.nkq-chat-modal {
  width: min(520px, 100%);
  height: min(88vh, 760px);
  max-height: min(88vh, 760px);
  background: linear-gradient(180deg, rgba(13, 40, 81, 0.96) 0%, rgba(8, 28, 58, 0.98) 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 28px 56px rgba(2, 8, 22, 0.5);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.nkq-chat-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
}

.nkq-chat-header-title {
  margin-right: auto;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

.nkq-chat-close {
  border: none;
  background: transparent;
  font-size: 30px;
  line-height: 0.7;
  padding: 0;
  width: 34px;
  height: 34px;
  color: #ffffff;
  cursor: pointer;
}

.nkq-chat-hero {
  align-self: center;
  justify-self: center;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  margin-top: -14px;
  text-align: center;
  letter-spacing: -0.02em;
  padding: 0 20px;
}

.nkq-chat-list {
  overflow: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}

.nkq-chat-msg {
  white-space: pre-line;
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.45;
  max-width: 78%;
}

.nkq-chat-msg a {
  color: #bfe3ff;
}

.nkq-chat-msg-assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

.nkq-chat-msg-user {
  align-self: flex-end;
  background: rgba(93, 170, 255, 0.3);
  border: 1px solid rgba(130, 193, 255, 0.45);
  color: #ffffff;
}

.nkq-chat-composer {
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 26, 52, 0.5);
}

.nkq-chat-composer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 6px 6px 6px 12px;
}

.nkq-chat-input {
  resize: none;
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 8px 2px;
  font: inherit;
  font-size: 15px;
  color: #ffffff;
  min-height: 24px;
}

.nkq-chat-input:focus {
  outline: none;
}

.nkq-chat-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.nkq-chat-send {
  border: none;
  border-radius: 999px;
  width: 38px;
  min-height: 38px;
  background: linear-gradient(120deg, var(--nkq-brand), var(--nkq-brand2));
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
}

.nkq-chat-add,
.nkq-chat-voice {
  display: none;
}

.nkq-chat-pay {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 26, 52, 0.56);
}

.nkq-chat-field {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
}

.nkq-chat-pay-btn {
  border: none;
  border-radius: 12px;
  min-height: 48px;
  padding: 0 14px;
  background: linear-gradient(90deg, var(--nkq-brand), var(--nkq-brand2));
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.nkq-chat-has-messages .nkq-chat-hero {
  display: none;
}

.nkq-chat-has-messages .nkq-chat-list {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .nkq-chat-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .nkq-chat-modal {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 22px 22px 0 0;
    border-bottom: none;
  }

  .nkq-chat-hero {
    font-size: clamp(24px, 8vw, 34px);
    margin-top: -20px;
    padding: 0 14px;
  }
}

@media (max-width: 640px) {
  .nkq-chat-header {
    padding: 10px 12px;
  }

  .nkq-chat-close {
    width: 32px;
    height: 32px;
    font-size: 28px;
  }

  .nkq-chat-composer-inner {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 6px 6px 6px 10px;
  }

  .nkq-chat-send {
    min-height: 36px;
    width: 36px;
    font-size: 15px;
  }
}

@media (min-width: 901px) {
  .nkq-chat-overlay {
    align-items: center;
    padding: 14px;
  }

  .nkq-chat-modal {
    height: min(88vh, 760px);
    max-height: min(88vh, 760px);
    border-radius: 20px;
  }
}
