:root {
  --chu-chat-orange: #ff6b2c;
  --chu-chat-mint: #38d0c8;
  --chu-chat-lilac: #a99bf5;
  --chu-chat-night: #0f1519;
  --chu-chat-panel: #151d22;
  --chu-chat-line: rgba(255, 255, 255, 0.1);
  --chu-chat-text: #fffdf7;
  --chu-chat-muted: #98a4a8;
}

body.chu-chat-lock {
  overflow: hidden;
}

.chu-chat-launch {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 140;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 7px 16px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 21, 25, 0.9);
  color: var(--chu-chat-text);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 107, 44, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font: inherit;
  cursor: pointer;
  isolation: isolate;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.chu-chat-launch::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    rgba(255, 107, 44, 0.44),
    transparent 34%,
    transparent 66%,
    rgba(56, 208, 200, 0.32)
  );
  opacity: 0.6;
  filter: blur(9px);
}

.chu-chat-launch:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 44, 0.56);
  box-shadow:
    0 24px 65px rgba(0, 0, 0, 0.46),
    0 0 30px rgba(255, 107, 44, 0.12);
}

.chu-chat-launch-orb,
.chu-chat-avatar {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--chu-chat-night);
  background:
    radial-gradient(circle at 32% 25%, #fff7d9 0 7%, transparent 8%),
    linear-gradient(145deg, #ff9b64, var(--chu-chat-orange) 58%, #c83d16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 7px 20px rgba(255, 107, 44, 0.28);
  font: 950 24px/1 Arial, sans-serif;
}

.chu-chat-launch-orb::after,
.chu-chat-avatar::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: 2px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--chu-chat-night);
  border-radius: 50%;
  background: #59e290;
  box-shadow: 0 0 12px rgba(89, 226, 144, 0.66);
}

.chu-chat-launch-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.chu-chat-launch-copy strong {
  font-size: 13px;
  line-height: 1.1;
}

.chu-chat-launch-copy small {
  color: #aab5b9;
  font-size: 9px;
  line-height: 1.1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.chu-chat-launch-spark {
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--chu-chat-mint);
  box-shadow:
    0 0 0 5px rgba(56, 208, 200, 0.08),
    0 0 17px rgba(56, 208, 200, 0.72);
  animation: chu-chat-pulse 1.9s ease-in-out infinite;
}

.chu-chat-shell[hidden] {
  display: none;
}

.chu-chat-shell {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: end;
  padding: 18px;
}

.chu-chat-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 10, 12, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: default;
  animation: chu-chat-fade 180ms ease both;
}

.chu-chat-dialog {
  position: relative;
  z-index: 1;
  width: min(450px, calc(100vw - 36px));
  height: min(760px, calc(100dvh - 36px));
  min-height: 560px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 0, rgba(169, 155, 245, 0.14), transparent 30%),
    radial-gradient(circle at 0 15%, rgba(255, 107, 44, 0.13), transparent 34%),
    var(--chu-chat-panel);
  color: var(--chu-chat-text);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: chu-chat-rise 340ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.chu-chat-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, #000, transparent 58%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 58%);
}

.chu-chat-header {
  min-width: 0;
  padding: 16px 17px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chu-chat-person {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.chu-chat-avatar {
  width: 42px;
  height: 42px;
  font-size: 21px;
}

.chu-chat-person-copy {
  min-width: 0;
}

.chu-chat-person-copy strong {
  display: block;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chu-chat-person-copy span {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--chu-chat-muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chu-chat-person-copy span::before {
  content: "✦";
  color: var(--chu-chat-orange);
  font-size: 10px;
}

.chu-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.chu-chat-header-actions button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--chu-chat-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  color: #dce4e7;
  font: 500 20px/1 Arial, sans-serif;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.chu-chat-header-actions button:hover {
  border-color: rgba(255, 107, 44, 0.45);
  background: rgba(255, 107, 44, 0.1);
}

.chu-chat-nav {
  padding: 0 17px 12px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chu-chat-nav::-webkit-scrollbar {
  display: none;
}

.chu-chat-nav a {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--chu-chat-line);
  border-radius: 999px;
  color: #aeb9bd;
  text-decoration: none;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.chu-chat-nav a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.chu-chat-flow {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.chu-chat-intro {
  padding: 8px 17px 18px;
}

.chu-chat-intro.is-quiet {
  display: none;
}

.chu-chat-mode {
  margin-bottom: 15px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(5, 8, 10, 0.42);
}

.chu-chat-mode button {
  min-height: 36px;
  padding: 7px 9px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #7f8b90;
  font: 850 9px/1.2 Arial, sans-serif;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.chu-chat-mode button.is-active {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.chu-chat-root[data-mode="navigate"] .chu-chat-mode button.is-active {
  background: rgba(56, 208, 200, 0.12);
  color: #b9f5f1;
}

.chu-chat-root[data-mode="navigate"] .chu-chat-directions {
  display: none;
}

.chu-chat-ai-label {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(56, 208, 200, 0.2);
  border-radius: 999px;
  background: rgba(56, 208, 200, 0.07);
  color: #a7ece7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chu-chat-ai-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--chu-chat-mint);
  box-shadow: 0 0 11px var(--chu-chat-mint);
}

.chu-chat-intro h2 {
  max-width: 360px;
  margin: 0;
  font: 400 clamp(28px, 7.5vw, 40px) / 0.98 "Arial Narrow", Impact, Arial, sans-serif;
  letter-spacing: -0.035em;
}

.chu-chat-intro > p {
  max-width: 380px;
  margin: 10px 0 16px;
  color: #aeb9bd;
  font-size: 12px;
  line-height: 1.55;
}

.chu-chat-directions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.chu-chat-direction {
  position: relative;
  min-width: 0;
  min-height: 106px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--chu-chat-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.chu-chat-direction::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--direction-color, var(--chu-chat-orange));
  opacity: 0.12;
  filter: blur(2px);
}

.chu-chat-direction:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--direction-color) 60%, transparent);
  background: color-mix(in srgb, var(--direction-color) 9%, rgba(255, 255, 255, 0.04));
}

.chu-chat-direction-auto {
  --direction-color: var(--chu-chat-orange);
}

.chu-chat-direction-home {
  --direction-color: var(--chu-chat-mint);
}

.chu-chat-direction-legal {
  --direction-color: var(--chu-chat-lilac);
}

.chu-chat-direction i {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--direction-color) 18%, transparent);
  color: var(--direction-color);
  font-style: normal;
  font-size: 14px;
}

.chu-chat-direction strong {
  position: relative;
  z-index: 1;
  font-size: 12px;
}

.chu-chat-direction small {
  position: relative;
  z-index: 1;
  color: #849095;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chu-chat-prompt-row {
  margin-top: 12px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chu-chat-prompt-row::-webkit-scrollbar {
  display: none;
}

.chu-chat-prompt-row button {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #c3ccd0;
  font: 700 9px/1.2 Arial, sans-serif;
  cursor: pointer;
}

.chu-chat-status {
  position: relative;
  margin: 0 17px 14px;
  padding: 12px 12px 12px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(56, 208, 200, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(56, 208, 200, 0.09), transparent 64%),
    rgba(255, 255, 255, 0.035);
}

.chu-chat-status-pulse {
  position: absolute;
  left: 14px;
  top: 16px;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(56, 208, 200, 0.28);
  border-radius: 50%;
  background: var(--chu-chat-mint);
  box-shadow: 0 0 13px rgba(56, 208, 200, 0.62);
}

.chu-chat-status[data-phase="draft"] .chu-chat-status-pulse {
  background: #8b969a;
  border-color: rgba(139, 150, 154, 0.24);
  box-shadow: none;
}

.chu-chat-status[data-phase="human"] {
  border-color: rgba(89, 226, 144, 0.28);
  background:
    linear-gradient(135deg, rgba(89, 226, 144, 0.1), transparent 64%),
    rgba(255, 255, 255, 0.035);
}

.chu-chat-status[data-phase="human"] .chu-chat-status-pulse {
  background: #59e290;
  box-shadow: 0 0 13px rgba(89, 226, 144, 0.66);
}

.chu-chat-status[data-risk="red"] {
  border-color: rgba(255, 90, 70, 0.52);
  background:
    linear-gradient(135deg, rgba(255, 70, 50, 0.18), transparent 72%),
    rgba(255, 255, 255, 0.04);
}

.chu-chat-status[data-risk="red"] .chu-chat-status-pulse {
  background: #ff5947;
  border-color: rgba(255, 89, 71, 0.35);
  box-shadow: 0 0 16px rgba(255, 89, 71, 0.76);
  animation: chu-chat-pulse 1.1s ease-in-out infinite;
}

.chu-chat-status-copy {
  min-width: 0;
}

.chu-chat-status-copy strong {
  display: block;
  color: #edf6f5;
  font-size: 11px;
  line-height: 1.3;
}

.chu-chat-status-copy p {
  margin: 3px 0 5px;
  color: #a5b0b4;
  font-size: 9px;
  line-height: 1.45;
}

.chu-chat-status-copy small {
  display: block;
  overflow: hidden;
  color: #7f8d91;
  font-size: 8px;
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.chu-chat-status-contact {
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 107, 44, 0.34);
  border-radius: 10px;
  background: rgba(255, 107, 44, 0.1);
  color: #ffb08b;
  font: 850 8px/1.2 Arial, sans-serif;
  cursor: pointer;
}

.chu-chat-status-contact[hidden] {
  display: none;
}

.chu-chat-messages {
  padding: 0 17px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.chu-chat-message {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  animation: chu-chat-message-in 260ms ease both;
}

.chu-chat-message-user {
  grid-template-columns: minmax(0, 1fr);
  justify-items: end;
}

.chu-chat-message-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #ff9258, var(--chu-chat-orange));
  color: var(--chu-chat-night);
  box-shadow: 0 6px 14px rgba(255, 107, 44, 0.16);
  font: 950 12px/1 Arial, sans-serif;
}

.chu-chat-message-body {
  min-width: 0;
}

.chu-chat-message-body > p {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px 16px 16px 16px;
  background: rgba(255, 255, 255, 0.055);
  color: #e2e8ea;
  font-size: 12px;
  line-height: 1.52;
  white-space: pre-wrap;
}

.chu-chat-message-user .chu-chat-message-body {
  max-width: 86%;
}

.chu-chat-message-user .chu-chat-message-body > p {
  border: 0;
  border-radius: 16px 4px 16px 16px;
  background: linear-gradient(145deg, #ff8d52, var(--chu-chat-orange));
  color: var(--chu-chat-night);
  font-weight: 650;
}

.chu-chat-actions {
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chu-chat-actions button,
.chu-chat-actions a {
  min-height: 35px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 107, 44, 0.3);
  border-radius: 11px;
  background: rgba(255, 107, 44, 0.08);
  color: #ffb08b;
  text-decoration: none;
  font: 800 9px/1.25 Arial, sans-serif;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.chu-chat-actions button:hover,
.chu-chat-actions a:hover {
  border-color: rgba(255, 107, 44, 0.64);
  background: rgba(255, 107, 44, 0.16);
  color: #fff;
}

.chu-chat-actions button:disabled {
  opacity: 0.48;
  cursor: wait;
}

.chu-chat-thinking {
  margin: 0 17px 16px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(56, 208, 200, 0.14);
  border-radius: 15px;
  background: rgba(56, 208, 200, 0.05);
  color: #a9b6ba;
  font-size: 10px;
}

.chu-chat-thinking[hidden] {
  display: none;
}

.chu-chat-thinking-orbit {
  position: relative;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border: 1px solid rgba(56, 208, 200, 0.3);
  border-radius: 50%;
  animation: chu-chat-spin 1.4s linear infinite;
}

.chu-chat-thinking-orbit::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--chu-chat-mint);
  box-shadow: 0 0 9px var(--chu-chat-mint);
}

.chu-chat-thinking strong {
  display: block;
  margin-bottom: 2px;
  color: #dfe7e9;
  font-size: 10px;
}

.chu-chat-offline {
  margin: 0 17px 15px;
  padding: 13px;
  border: 1px solid rgba(169, 155, 245, 0.22);
  border-radius: 16px;
  background: rgba(169, 155, 245, 0.07);
}

.chu-chat-offline[hidden] {
  display: none;
}

.chu-chat-offline strong {
  display: block;
  color: #ded8ff;
  font-size: 11px;
}

.chu-chat-offline p {
  margin: 5px 0 10px;
  color: #9fa9ad;
  font-size: 10px;
  line-height: 1.5;
}

.chu-chat-offline-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chu-chat-offline-actions button,
.chu-chat-offline-actions a {
  min-height: 36px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 11px;
  color: #fff;
  text-decoration: none;
  font: 850 9px/1.2 Arial, sans-serif;
  cursor: pointer;
}

.chu-chat-offline-actions button {
  background: #229ed9;
}

.chu-chat-offline-actions a {
  background: #6f5cff;
}

.chu-chat-contact {
  margin: 0 12px 10px;
  padding: 13px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--chu-chat-line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.045);
}

.chu-chat-contact[hidden] {
  display: none;
}

.chu-chat-contact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chu-chat-contact-head strong {
  font-size: 11px;
}

.chu-chat-contact-head button {
  border: 0;
  background: transparent;
  color: #8f9a9e;
  font-size: 18px;
  cursor: pointer;
}

.chu-chat-contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.chu-chat-contact input:not([type="checkbox"]) {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--chu-chat-line);
  border-radius: 11px;
  outline: none;
  background: rgba(5, 8, 10, 0.42);
  color: #fff;
  font: 500 11px/1 Arial, sans-serif;
}

.chu-chat-contact input:not([type="checkbox"]):focus {
  border-color: rgba(255, 107, 44, 0.56);
}

.chu-chat-contact label {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #89959a;
  font-size: 9px;
  line-height: 1.4;
}

.chu-chat-contact label input {
  margin-top: 1px;
  accent-color: var(--chu-chat-orange);
}

.chu-chat-contact > button {
  min-height: 40px;
  border: 0;
  border-radius: 11px;
  background: #fff;
  color: var(--chu-chat-night);
  font: 900 10px/1 Arial, sans-serif;
  cursor: pointer;
}

.chu-chat-compose-wrap {
  padding: 0 12px 11px;
  background: linear-gradient(to top, var(--chu-chat-panel) 78%, transparent);
}

.chu-chat-compose {
  padding: 6px 6px 6px 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(8, 12, 14, 0.82);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.24);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.chu-chat-compose:focus-within {
  border-color: rgba(255, 107, 44, 0.52);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.24),
    0 0 0 3px rgba(255, 107, 44, 0.06);
}

.chu-chat-compose textarea {
  width: 100%;
  min-height: 40px;
  max-height: 120px;
  padding: 10px 0 7px;
  resize: none;
  overflow-y: auto;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 500 12px/1.38 Arial, sans-serif;
}

.chu-chat-compose textarea::placeholder {
  color: #6f7b80;
}

.chu-chat-contact-toggle,
.chu-chat-send {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  cursor: pointer;
}

.chu-chat-contact-toggle {
  background: rgba(255, 255, 255, 0.06);
  color: #9da9ad;
  font-size: 17px;
}

.chu-chat-send {
  background: var(--chu-chat-orange);
  color: var(--chu-chat-night);
  box-shadow: 0 8px 18px rgba(255, 107, 44, 0.22);
  font-size: 20px;
  font-weight: 900;
  transition:
    transform 150ms ease,
    opacity 150ms ease;
}

.chu-chat-send:hover:not(:disabled) {
  transform: translateY(-1px) rotate(-3deg);
}

.chu-chat-send:disabled {
  opacity: 0.28;
  cursor: default;
}

.chu-chat-fineprint {
  margin: 6px 0 0;
  color: #657176;
  text-align: center;
  font-size: 8px;
  line-height: 1.35;
}

.chu-chat-toast {
  position: absolute;
  left: 50%;
  bottom: 92px;
  z-index: 8;
  max-width: calc(100% - 36px);
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--chu-chat-night);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.34);
  font-size: 9px;
  font-weight: 800;
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.chu-chat-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.chu-example-interactive {
  position: relative !important;
  isolation: isolate;
}

.chu-example-action {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  min-width: min(285px, calc(100% - 24px));
  min-height: 58px;
  padding: 9px 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 17px;
  background: rgba(15, 21, 25, 0.9);
  color: #fff;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 107, 44, 0.06);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    box-shadow 170ms ease;
}

.chu-example-action:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 44, 0.6);
  box-shadow:
    0 19px 45px rgba(0, 0, 0, 0.4),
    0 0 25px rgba(255, 107, 44, 0.12);
}

.chu-example-action span {
  grid-column: 1;
  color: #8f9ba0;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.chu-example-action strong {
  grid-column: 1;
  font-size: 11px;
  line-height: 1.2;
}

.chu-example-action i {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--chu-chat-orange);
  color: var(--chu-chat-night);
  font-style: normal;
  font-size: 15px;
  font-weight: 900;
}

@keyframes chu-chat-rise {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.965);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chu-chat-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes chu-chat-message-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes chu-chat-pulse {
  50% {
    transform: scale(0.72);
    opacity: 0.55;
  }
}

@media (max-width: 720px) {
  .chu-chat-launch {
    right: 12px;
    bottom: 68px;
    min-height: 54px;
    padding: 6px 13px 6px 6px;
  }

  .chu-chat-launch-orb {
    width: 40px;
    height: 40px;
    font-size: 21px;
  }

  .chu-chat-launch-copy small {
    display: none;
  }

  .chu-example-action {
    right: 8px;
    bottom: 8px;
    min-width: calc(100% - 16px);
  }

  .chu-chat-shell {
    align-items: end;
    padding: 0;
  }

  .chu-chat-dialog {
    width: 100%;
    height: min(820px, calc(100dvh - 14px));
    min-height: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 28px 28px 0 0;
  }

  .chu-chat-dialog::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 36px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    transform: translateX(-50%);
  }

  .chu-chat-header {
    padding-top: 19px;
  }
}

@media (max-width: 390px) {
  .chu-chat-directions {
    gap: 5px;
  }

  .chu-chat-direction {
    min-height: 96px;
    padding: 10px 8px;
  }

  .chu-chat-direction small {
    display: none;
  }

  .chu-chat-contact-fields {
    grid-template-columns: 1fr;
  }

  .chu-chat-status {
    grid-template-columns: 1fr;
  }

  .chu-chat-status-contact {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chu-chat-launch-spark,
  .chu-chat-thinking-orbit,
  .chu-chat-dialog,
  .chu-chat-backdrop,
  .chu-chat-message {
    animation: none !important;
  }
}
