/* Public assistant: responsive avatar chamber, conversation, and lead form. */
.nav-ai { color: var(--gold); }
.sales-page { --sales-blue: #77ccff; --sales-edge: #274460; }
.sales-page main { overflow: clip; }
.sales-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);
  min-height: 740px;
  padding: 58px clamp(24px, 4vw, 64px) 66px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 80% 48%, #0c438534, transparent 55%);
}
.sales-hero > div { min-width: 0; }
.sales-hero .eyebrow { color: var(--sales-blue); }
.sales-hero h1 {
  max-width: 790px;
  font-size: clamp(48px, 5.3vw, 78px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.sales-hero h1 em { color: var(--gold); }
.sales-hero .lead { max-width: 640px; margin-block: 25px; font-size: 17px; }
.sales-hero .actions { margin-block: 28px 0; }
.sales-hero .notice { max-width: 600px; font-size: 12px; }
.sales-state-key { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.sales-state-key span,
.sales-capabilities article > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: #c0ccda;
  background: #0d1724b3;
  font-size: 11px;
  line-height: 1.6;
}
.sales-page [data-state="available"] { --state: #60dec1; }
.sales-page [data-state="integration"] { --state: var(--gold); }
.sales-page [data-state="roadmap"] { --state: #80b3ff; }
.sales-state-key span::before,
.sales-capabilities article > span::before {
  content: '';
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--state);
  box-shadow: 0 0 9px color-mix(in srgb, var(--state) 35%, transparent);
}

.sales-avatar {
  --voice-energy: 0;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-height: 638px;
  padding: 10px 16px 48px;
  border: 1px solid #274f715e;
  border-radius: 26px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 44%, #1464a44a, #092b4826 47%, #0a142033 72%);
  box-shadow: inset 0 1px 0 #8aceff12, 0 40px 100px #0004;
}
.sales-avatar::before,
.sales-avatar::after {
  content: '';
  position: absolute;
  inset-inline: 24px;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #77ccff8c, transparent);
}
.sales-avatar::before { top: 18px; }
.sales-avatar::after { bottom: 19px; opacity: .4; }
.sales-avatar > img {
  position: relative;
  z-index: 3;
  display: block;
  height: 548px;
  width: min(100%, 366px);
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 24px #1483d851);
  /* Alpha-cutout fallback remains available if the GPU cannot render. */
  transform: none;
}
.sales-avatar > canvas[data-hologram-scene] {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2;
  pointer-events: none; opacity: .94;
}
.sales-avatar > canvas[data-avatar-character] {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4;
  pointer-events: none;
}
.sales-avatar[data-character-ready="true"] > img { opacity: 0; }
.avatar-preview {
  position: absolute; top: 23px; inset-inline-end: 20px; z-index: 6;
  border: 1px solid #69c9ff45; border-radius: 999px;
  background: #081727dd; color: #d7edff; padding: 8px 13px;
  font: inherit; font-size: 11px; line-height: 1.4; cursor: pointer;
  min-height: 36px;
}
.avatar-preview:hover { border-color: #78cfff; background: #133552; }
.avatar-preview:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.avatar-preview[aria-pressed="true"] { color: var(--gold); border-color: #e4a64688; }
.avatar-preview:disabled { opacity: .4; cursor: default; }
.sales-avatar:has(canvas[data-renderer="webgl"]) .avatar-platform { opacity: .4; }
.sales-avatar:has(canvas[data-renderer="webgl"]) .avatar-halo { opacity: .35; }
.holo-beacon { position:absolute; inset-inline-start:25px; top:30px; display:flex; gap:6px; z-index:5; }
.holo-beacon i { width:5px; height:5px; border-radius:50%; background:var(--cyan); box-shadow:0 0 12px #77ccff; }
.holo-beacon i:nth-child(2) { background:var(--gold); box-shadow:0 0 12px #ffb13b; }
.holo-beacon i:nth-child(3) { opacity:.35; }
.avatar-halo {
  position: absolute;
  z-index: 1;
  width: 78%;
  max-width: 420px;
  aspect-ratio: 1;
  top: 16%;
  border: 1px solid #52baff55;
  border-radius: 50%;
  box-shadow: 0 0 calc(25px + var(--voice-energy) * 30px) #1489e92e,
    inset 0 0 50px #1282d21a;
}
.avatar-halo::before,
.avatar-halo::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px dashed #52baff3b;
  border-radius: inherit;
}
.avatar-halo::after { inset: -17px; border: 1px solid #ffb13b24; }
.avatar-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(#428dba29 1px, transparent 1px),
    linear-gradient(90deg, #428dba29 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, #000 15%, transparent 74%);
  pointer-events: none;
}
.avatar-platform {
  position: absolute;
  z-index: 2;
  inset-inline: 12%;
  bottom: 61px;
  height: 45px;
  border: 1px solid #6fccff86;
  border-radius: 50%;
  background: radial-gradient(ellipse, #259ceb26, transparent 65%);
  box-shadow: 0 0 27px #26a4fd27, inset 0 0 18px #6dccff24;
}
.avatar-platform::after {
  content: '';
  position: absolute;
  inset: 7px 18px;
  border: 1px solid #ffb13b55;
  border-radius: inherit;
}
.voice-orbit {
  position: absolute;
  z-index: 4;
  inset-inline: 16px;
  bottom: 53px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  height: 34px;
  pointer-events: none;
}
.voice-orbit i {
  width: 3px;
  height: calc(5px + var(--voice-energy) * 24px);
  border-radius: 8px;
  background: var(--gold);
  box-shadow: 0 0 8px #ffb13b55;
  transition: height 100ms linear;
}
.voice-orbit i:nth-child(2), .voice-orbit i:nth-child(4) {
  height: calc(9px + var(--voice-energy) * 15px);
}
.voice-orbit i:nth-child(3) { height: calc(13px + var(--voice-energy) * 20px); }
.sales-avatar > p {
  position: absolute;
  z-index: 5;
  inset-inline: 18px;
  bottom: 12px;
  width: fit-content;
  max-width: calc(100% - 36px);
  margin: 0 auto;
  padding: 8px 14px;
  border: 1px solid #2c4962;
  border-radius: 12px;
  background: #07131fed;
  color: #d4e8f9;
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
  overflow-wrap: anywhere;
  backdrop-filter: blur(12px);
}
.sales-avatar[data-avatar-state="speaking"] > img { animation: none; }
.sales-avatar[data-avatar-state="thinking"] .avatar-halo { animation: sales-pulse 1.5s ease-in-out infinite; }
.sales-avatar[data-avatar-state="connecting"] .avatar-halo { animation: sales-pulse 2.4s ease-in-out infinite; }
@keyframes sales-breathe { 50% { transform: translateY(-3px) scale(1.006); } }
@keyframes sales-pulse { 50% { opacity: .4; transform: scale(.98); } }

.sales-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  align-items: start;
  gap: 26px;
  padding: 72px clamp(24px, 4vw, 64px);
  scroll-margin-top: 24px;
  background: radial-gradient(ellipse at 12% 45%, #0e365627, transparent 58%);
}
.sales-thread {
  min-width: 0;
  border: 1px solid #344960;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(150deg, #101c2bed, #09111ded);
  box-shadow: inset 0 1px 0 #c3eaff0a, 0 30px 80px #0005;
}
.sales-thread > header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: #0e1d2d88;
}
.sales-thread > header > img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.sales-thread > header > div { display: grid; min-width: 0; }
.sales-thread > header strong { font-size: 15px; line-height: 1.4; }
.sales-thread > header small { color: var(--muted); font-size: 11px; line-height: 1.6; }
.sales-thread > header button {
  flex: 0 1 auto;
  min-height: 40px;
  margin-inline-start: auto;
  padding: 9px 13px;
  border: 1px solid #856333;
  border-radius: 8px;
  background: #ffb13b12;
  color: var(--gold-soft);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}
.sales-thread > header button:hover { border-color: var(--gold); background: #ffb13b20; }
.sales-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 290px;
  height: min(46vh, 430px);
  padding: 24px 20px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #3d5d77 transparent;
}
.sales-messages article {
  align-self: flex-start;
  max-width: min(88%, 680px);
  padding: 15px 17px;
  border: 1px solid #293c50;
  border-radius: 3px 14px 14px;
  background: #142538a3;
  overflow-wrap: anywhere;
}
.sales-messages article.user {
  align-self: flex-end;
  border-color: #88652e6b;
  border-radius: 14px 3px 14px 14px;
  background: linear-gradient(135deg, #4e361757, #2a261e88);
}
[dir="rtl"] .sales-messages article { border-radius: 14px 3px 14px 14px; }
[dir="rtl"] .sales-messages article.user { border-radius: 3px 14px 14px; }
.sales-messages b { display: block; margin-bottom: 6px; color: var(--sales-blue); font-size: 11px; }
.sales-messages .user b { color: var(--gold-soft); }
.sales-messages p { margin: 0; font-size: 14px; line-height: 1.85; white-space: pre-wrap; }
.sales-suggestions {
  display: flex;
  gap: 8px;
  max-width: 100%;
  padding: 0 20px 18px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #3d5d77 transparent;
}
.sales-suggestion {
  flex: none;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #30475e;
  border-radius: 999px;
  background: #101e2b;
  color: #c5d7e7;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}
.sales-suggestion:hover { border-color: var(--sales-blue); color: #fff; background: #18334b; }
.sales-processing-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: #07111b70;
  color: #aebed0;
  font-size: 12px;
  line-height: 1.7;
  cursor: pointer;
}
.sales-processing-consent.needs-consent { background: #4b2b183d; color: #ffd8a6; box-shadow: inset 3px 0 var(--gold); }
.sales-processing-consent input,
.sales-voice-options input,
.sales-lead-form input[type="checkbox"] { flex: none; width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--gold); }
.sales-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 14px 20px; }
.sales-composer textarea,
.sales-lead-form input:not([type="checkbox"]),
.sales-lead-form select,
.sales-lead-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #31465c;
  border-radius: 9px;
  background: #07111d;
  color: var(--paper);
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
}
.sales-composer textarea { min-height: 68px; max-height: 240px; }
.sales-composer textarea::placeholder,
.sales-lead-form input::placeholder,
.sales-lead-form textarea::placeholder { color: #8196ad; opacity: 1; }
.sales-composer textarea:focus,
.sales-lead-form input:focus,
.sales-lead-form select:focus,
.sales-lead-form textarea:focus { outline: 2px solid var(--sales-blue); outline-offset: 2px; }
.sales-page button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.sales-composer button,
.sales-voice-row button {
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--gold);
  border-radius: 9px;
  background: var(--gold);
  color: #0b1119;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
}
.sales-composer button:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.sales-page button:disabled { opacity: .55; cursor: wait; }
.sales-voice-options { padding: 0 20px 14px; }
.sales-voice-options > label { display: flex; align-items: flex-start; gap: 11px; padding: 13px; border: 1px solid #2a3f53; border-radius: 10px; background: #091622; cursor: pointer; }
.sales-voice-options span { display: grid; gap: 3px; min-width: 0; }
.sales-voice-options strong { font-size: 12px; color: #d2e1ee; }
.sales-voice-options small { font-size: 11px; line-height: 1.7; color: var(--muted); }
.sales-voice-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 0 20px 22px; }
.sales-voice-row button { border-color: #3b85b7; background: #123654; color: #dcefff; box-shadow: inset 0 1px #b6eaff0d; }
.sales-voice-row button:hover { background: #174768; border-color: var(--sales-blue); }
.sales-voice-row .voice-secondary { border-color: #3c5067; background: #162333; color: var(--paper); }
.sales-voice-row .voice-ptt { min-width: 150px; border-color: #a4742e; background: #483310; color: #ffe5b7; touch-action: none; user-select: none; -webkit-user-select: none; }
.sales-voice-row .voice-ptt.is-active { background: var(--gold); color: #131313; box-shadow: 0 0 0 4px #ffb13b30; }
.sales-voice-row button[aria-pressed="true"] { border-color: #a85866; background: #48242e; color: #ffccd6; }
.sales-voice-row #sales-voice-status { flex: 1 1 180px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.sales-trust { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, #132132c9, #09121ec9); }
.sales-trust .eyebrow { color: var(--gold); margin-bottom: 18px; }
.sales-trust p:not(.eyebrow) { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; margin: 0; padding: 17px 0; border-top: 1px solid #26394d; color: #adbdcf; font-size: 12px; line-height: 1.9; }
.sales-trust p:last-child { padding-bottom: 0; }
.sales-trust span { color: var(--sales-blue); font: 11px/1.9 var(--sans); }
.sales-capabilities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 8px clamp(24px, 4vw, 64px) 90px; }
.sales-capabilities article { padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, #152338, #0b131e); }
.sales-capabilities h2 { margin: 23px 0 13px; font-size: 21px; line-height: 1.4; }
.sales-capabilities p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }

.sales-lead-dialog {
  width: min(900px, calc(100% - 32px));
  max-height: 92vh;
  max-height: 92dvh;
  padding: 0;
  border: 1px solid #465f79;
  border-radius: 20px;
  background: linear-gradient(145deg, #132236, #091321 65%);
  color: var(--paper);
  box-shadow: 0 35px 120px #000a, inset 0 1px #d2eaff14;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #3d5d77 transparent;
}
.sales-lead-dialog::backdrop { background: #01060dcc; backdrop-filter: blur(9px); }
.dialog-close { position: sticky; top: 0; z-index: 5; height: 0; text-align: end; }
.dialog-close button { width: 40px; height: 40px; margin: 12px; padding: 0; border: 1px solid #39516a; border-radius: 50%; background: #15283c; color: #e7f2fd; font: 26px/1 var(--sans); cursor: pointer; }
.dialog-close button:hover { background: #26435e; }
.sales-lead-form { padding: 38px 40px 42px; }
.sales-lead-form header { padding-inline-end: 36px; margin-bottom: 28px; }
.sales-lead-form header .eyebrow { margin-bottom: 12px; color: var(--gold); }
.sales-lead-form header h2 { font-size: 34px; line-height: 1.35; }
.sales-lead-form header p:not(.eyebrow) { margin-block: 16px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.lead-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sales-lead-form > label,
.lead-fields label { display: grid; min-width: 0; gap: 8px; color: #c8d7e6; font-size: 13px; line-height: 1.7; }
.sales-lead-form > label { margin-top: 18px; }
.sales-lead-form input[type="email"],
.sales-lead-form input[type="tel"] { direction: ltr; text-align: start; }
.sales-lead-form fieldset { min-width: 0; margin: 24px 0; padding: 17px; border: 1px solid #31475d; border-radius: 11px; }
.sales-lead-form legend { padding-inline: 8px; color: var(--gold-soft); font-size: 13px; }
.lead-interests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 18px; }
.lead-interests label,
.sales-lead-form > .consent-row { display: flex; gap: 10px; align-items: flex-start; color: #bacbdc; font-size: 12px; line-height: 1.8; }
.consent-row span { min-width: 0; }
.consent-row a { color: var(--gold-soft); }
.lead-submit { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.lead-submit button { flex: none; cursor: pointer; font-family: inherit; }
.lead-submit p { margin: 0; font-size: 13px; line-height: 1.8; }
.lead-submit .success { color: #7ce5c2; }
.lead-submit .error { color: #ffaba6; }

.kiosk-mode .site-header,
.kiosk-mode .site-footer,
.kiosk-mode .sales-capabilities { display: none; }
.kiosk-mode .sales-processing-consent input,
.kiosk-mode .sales-voice-options,
.kiosk-mode #sales-push-to-talk { display: none; }
.kiosk-mode .sales-processing-consent { cursor: default; border-inline-start: 2px solid var(--gold); }

@media (min-width: 1051px) {
  .kiosk-mode main {
    display: grid;
    grid-template-columns: minmax(320px, .88fr) minmax(480px, 1.12fr);
    grid-template-areas: 'intro chat' 'avatar chat' 'trust trust';
    align-items: start;
    gap: 20px 34px;
    max-width: 1600px;
    min-height: 100vh;
    padding: 30px clamp(24px, 3vw, 52px);
  }
  .kiosk-mode .sales-hero,
  .kiosk-mode .sales-console { display: contents; }
  .kiosk-mode .sales-hero > div:first-child { grid-area: intro; }
  .kiosk-mode .sales-hero .eyebrow { margin-bottom: 12px; font-size: 11px; }
  .kiosk-mode .sales-hero h1 { font-size: clamp(31px, 3vw, 44px); line-height: 1.2; }
  .kiosk-mode .sales-hero .lead { margin-block: 14px; font-size: 13px; line-height: 1.8; }
  .kiosk-mode .sales-hero .notice { margin-block: 12px 0; font-size: 11px; line-height: 1.7; }
  .kiosk-mode .sales-hero .actions { margin-top: 16px; }
  .kiosk-mode .sales-hero .button { min-height: 38px; padding: 9px 14px; font-size: 11px; }
  .kiosk-mode .sales-state-key { margin-top: 15px; gap: 7px; }
  .kiosk-mode .sales-state-key span { font-size: 10px; padding: 4px 8px; }
  .kiosk-mode .sales-avatar { grid-area: avatar; min-height: 478px; padding-top: 5px; }
  .kiosk-mode .sales-avatar > img { height: 430px; width: min(100%, 260px); }
  .kiosk-mode .sales-thread { grid-area: chat; align-self: stretch; display: flex; flex-direction: column; }
  .kiosk-mode .sales-messages { flex: 1 1 auto; min-height: 280px; height: clamp(300px, 44vh, 490px); }
  .kiosk-mode .sales-trust { grid-area: trust; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; padding-block: 20px; }
  .kiosk-mode .sales-trust .eyebrow { grid-column: 1 / -1; margin-bottom: 12px; }
  .kiosk-mode .sales-trust p:not(.eyebrow) { padding-bottom: 0; }
}

@media (max-width: 1050px) {
  .sales-hero { grid-template-columns: minmax(0, 1fr) minmax(290px, .9fr); gap: 26px; min-height: 660px; }
  .sales-hero h1 { font-size: clamp(42px, 5.5vw, 62px); }
  .sales-hero .lead { font-size: 15px; }
  .sales-avatar { min-height: 568px; }
  .sales-avatar > img { height: 510px; width: min(100%, 300px); }
  .sales-console { grid-template-columns: minmax(0, 1fr); }
  .sales-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
  .sales-trust .eyebrow { grid-column: 1 / -1; }
  .sales-trust p:not(.eyebrow) { padding-bottom: 0; }
  .sales-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .sales-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 42px 22px; }
  .sales-hero h1 { max-width: 580px; font-size: clamp(39px, 8.6vw, 61px); letter-spacing: -.035em; }
  .sales-hero .lead { font-size: 15px; margin-block: 22px; }
  .sales-hero .notice { margin-top: 22px; font-size: 12px; }
  .sales-avatar { width: min(100%, 460px); min-height: 568px; margin-inline: auto; }
  .sales-avatar > img { height: 510px; }
  .sales-avatar > p { font-size: 11px; }
  .sales-console { padding: 42px 22px; gap: 20px; }
  .sales-thread > header { flex-wrap: wrap; padding: 18px; }
  .sales-thread > header > div { flex: 1 1 120px; }
  .sales-thread > header button { font-size: 11px; }
  .sales-messages { min-height: 290px; height: 390px; padding: 20px 16px; }
  .sales-messages article { max-width: 92%; padding: 13px 14px; }
  .sales-messages p { font-size: 13px; }
  .sales-suggestions { padding-inline: 16px; }
  .sales-processing-consent { padding-inline: 16px; }
  .sales-composer { padding-inline: 16px; }
  .sales-voice-options { padding-inline: 16px; }
  .sales-voice-row { padding-inline: 16px; }
  .sales-trust { display: block; padding: 22px; }
  .sales-trust p:not(.eyebrow) { padding-block: 15px; }
  .sales-trust p:last-child { padding-bottom: 0; }
  .sales-capabilities { padding: 12px 22px 56px; gap: 14px; }
  .sales-capabilities article { padding: 21px; }
  .sales-capabilities h2 { font-size: 19px; }
  .sales-lead-form { padding: 32px 22px; }
  .sales-lead-form header h2 { font-size: 27px; }
  .kiosk-mode .sales-hero { padding-top: 28px; }
  .kiosk-mode .sales-hero h1 { font-size: 36px; }
}

@media (max-width: 480px) {
  .sales-hero { padding-inline: 16px; }
  .sales-hero .actions .button { width: 100%; }
  .sales-avatar { min-height: 510px; padding-inline: 10px; border-radius: 20px; }
  .sales-avatar > img { height: 452px; width: min(100%, 266px); }
  .sales-avatar > p { inset-inline: 12px; max-width: calc(100% - 24px); padding: 7px 10px; font-size: 10px; }
  .sales-console { padding-inline: 12px; }
  .sales-thread { border-radius: 16px; }
  .sales-thread > header button { flex-basis: 100%; margin-inline-start: 0; }
  .sales-composer { grid-template-columns: minmax(0, 1fr); }
  .sales-composer button { min-height: 44px; }
  .sales-voice-row { align-items: stretch; }
  .sales-voice-row button { flex: 1 1 100%; }
  .sales-voice-row #sales-voice-status { flex-basis: 100%; }
  .sales-state-key { gap: 6px; }
  .sales-state-key span { font-size: 10px; padding: 5px 8px; }
  .sales-capabilities { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; }
  .sales-lead-dialog { width: calc(100% - 20px); border-radius: 16px; }
  .sales-lead-form { padding: 30px 18px; }
  .sales-lead-form header { padding-inline-end: 28px; }
  .sales-lead-form header h2 { font-size: 24px; }
  .lead-fields,
  .lead-interests { grid-template-columns: minmax(0, 1fr); }
  .lead-submit { flex-direction: column; align-items: stretch; gap: 14px; }
  .lead-submit .button { width: 100%; }
}

/* Keep the actual visual in the first screen of a narrow assistant panel. */
@media (max-width: 760px) {
  .sales-hero { padding-top:22px; gap:28px; }
  .sales-hero > .sales-avatar { grid-row:1; height:clamp(380px,56svh,480px); min-height:0; padding-bottom:52px; }
  .sales-hero > div:first-child { grid-row:2; }
  .sales-avatar > img { height:clamp(290px,calc(56svh - 90px),390px); width:min(100%,280px); }
  .sales-hero h1 { font-size:clamp(32px,7vw,45px); }
  html[dir=rtl] .sales-hero h1 { font-size:clamp(29px,6.6vw,41px); line-height:1.55; }
  .sales-hero .lead { margin-block:18px; }
}
html[data-motion="paused"] .sales-avatar > img,
html[data-motion="paused"] .sales-avatar .avatar-halo,
html[data-motion="paused"] .sales-avatar .voice-orbit i { animation: none; transition: none; }
html[data-motion="paused"] .sales-avatar > img { transform: none; }
html[data-motion="paused"] .sales-avatar .avatar-halo { box-shadow: 0 0 25px #1489e92e, inset 0 0 50px #1282d21a; }
html[data-motion="paused"] .sales-avatar .voice-orbit i { height: 8px; }
@media (prefers-reduced-motion: reduce) {
  .sales-avatar > img,
  .sales-avatar .avatar-halo,
  .sales-avatar .voice-orbit i { animation: none; transition: none; }
  .sales-avatar > img { transform: none; }
  .sales-avatar .avatar-halo { box-shadow: 0 0 25px #1489e92e, inset 0 0 50px #1282d21a; }
  .sales-avatar .voice-orbit i { height: 8px; }
}

/* Customer conversation stage: equal avatar and conversation panels. */
.composer-actions { display:flex; align-items:center; gap:7px; padding:0 4px 2px; }
.sales-conversation-v32 .sales-composer { grid-template-columns:minmax(0,1fr); }
.sales-conversation-v32 .sales-composer button.composer-icon { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; min-width:44px; min-height:44px; padding:10px; border:1px solid #344c63; border-radius:50%; background:#142639; color:#d7edff; }
.sales-conversation-v32 .sales-composer button.composer-icon[hidden] { display:none; }
.sales-conversation-v32 .sales-composer button.composer-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.sales-conversation-v32 .sales-composer #sales-send { margin-inline-start:auto; background:var(--gold); color:#101820; border-color:var(--gold); }
.sales-conversation-v32 .sales-composer #sales-voice[data-active=true], .sales-conversation-v32 .sales-composer #sales-mute[aria-pressed=true] { background:#492733; border-color:#bc657b; color:#ffd1dc; }
.sales-conversation-v32 .sales-composer #sales-interrupt:not(:disabled) { border-color:var(--gold); color:var(--gold-soft); }
.sales-conversation-v32 .sales-composer #sales-interrupt:disabled { opacity:.35; cursor:default; }
.sales-conversation-v32 .sales-composer:focus-within { border-color:var(--sales-blue); box-shadow:0 0 0 2px #77ccff18; }
.sales-conversation-v32 .sales-thread { max-height:850px; }
.sales-conversation-v32 .sales-messages { min-height:0; overflow-y:auto; }
.sales-conversation-v32 .sales-hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: auto;
  padding-block: clamp(46px, 6vw, 82px);
  background: radial-gradient(ellipse at 78% 28%, #0c43852b, transparent 58%);
}
.sales-conversation-v32 .sales-hero > div:first-child { max-width: 980px; }
.sales-conversation-v32 .sales-hero h1 { max-width: 900px; }
.sales-conversation-v32 .sales-console {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "avatar chat" "trust trust";
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 32px);
  width: min(1600px, 100%);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 64px);
  background:
    radial-gradient(ellipse at 18% 38%, #0e4b7f2b, transparent 55%),
    radial-gradient(ellipse at 82% 62%, #7d53101a, transparent 50%);
}
.sales-conversation-v32 .sales-console > .sales-avatar {
  grid-area: avatar;
  width: 100%;
  min-height: 690px;
  margin: 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 34%, #1675c054, transparent 35%),
    linear-gradient(155deg, #0b2135 0%, #07111c 72%);
}
.sales-conversation-v32 .sales-console > .sales-avatar > img {
  height: 610px;
  width: min(100%, 410px);
}
.sales-conversation-v32 .sales-thread {
  grid-area: chat;
  display: flex;
  min-height: 690px;
  flex-direction: column;
  border-radius: 24px;
  background: linear-gradient(155deg, #101f30f5, #07101af7);
}
.sales-conversation-v32 .sales-thread > header { min-height: 76px; padding: 17px 20px; }
.sales-conversation-v32 .sales-messages {
  flex: 1 1 auto;
  min-height: 270px;
  height: auto;
  padding-block: 22px;
  background: radial-gradient(circle at 50% 0%, #163b5825, transparent 54%);
}
.sales-conversation-v32 .sales-composer {
  margin: 0 16px 12px;
  padding: 8px;
  border: 1px solid #30475e;
  border-radius: 14px;
  background: #07111d;
  box-shadow: inset 0 1px #ccecff0a;
}
.sales-conversation-v32 .sales-composer textarea {
  min-height: 52px;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  resize: none;
}
.sales-conversation-v32 .sales-composer textarea:focus { outline: 0; }
.sales-conversation-v32 .sales-composer button { min-width: 92px; border-radius: 10px; }
.sales-conversation-v32:not(.kiosk-mode) .sales-voice-options { display: none; }
.sales-conversation-v32 .sales-voice-row {
  margin: 0 16px 17px;
  padding: 0;
}
.sales-conversation-v32 .sales-voice-row button { border-radius: 11px; }
.sales-conversation-v32 .sales-trust {
  grid-area: trust;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 22px;
  padding: 20px 24px;
}
.sales-conversation-v32 .sales-trust .eyebrow { grid-column: 1 / -1; margin-bottom: 8px; }
.sales-conversation-v32 .holo-beacon::after {
  content: "LIVE";
  margin-inline-start: 5px;
  color: #9fdcff;
  font: 600 10px/1.2 var(--sans);
  letter-spacing: .12em;
}
.sales-conversation-v32[data-conversation-language="ckb"] .holo-beacon::after {
  content: "AKLP · SORANI";
  color: var(--gold-soft);
}

@media (max-width: 980px) {
  .sales-conversation-v32 .sales-console {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "avatar" "chat" "trust";
    width: 100%;
  }
  .sales-conversation-v32 .sales-console > .sales-avatar { min-height: 520px; }
  .sales-conversation-v32 .sales-console > .sales-avatar > img { height: 465px; width: min(100%, 320px); }
  .sales-conversation-v32 .sales-thread { min-height: 640px; }
  .sales-conversation-v32 .sales-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .sales-conversation-v32 .sales-hero { padding: 34px 18px 38px; }
  .sales-conversation-v32 .sales-console { padding: 14px 12px 34px; gap: 14px; }
  .sales-conversation-v32 .sales-console > .sales-avatar {
    min-height: 410px;
    height: 52svh;
    max-height: 475px;
    border-radius: 18px;
  }
  .sales-conversation-v32 .sales-console > .sales-avatar > img {
    height: calc(100% - 52px);
    width: min(100%, 280px);
  }
  .sales-conversation-v32 .sales-thread { min-height: 590px; border-radius: 18px; }
  .sales-conversation-v32 .sales-messages { min-height: 250px; padding: 16px 13px; }
  .sales-conversation-v32 .sales-composer { grid-template-columns: minmax(0, 1fr) auto; margin-inline: 12px; }
  .sales-conversation-v32 .sales-composer button { min-width: 72px; padding-inline: 12px; }
  .sales-conversation-v32 .sales-voice-row { margin-inline: 12px; }
  .sales-conversation-v32 .sales-voice-row button { flex: 1 1 120px; }
  .sales-conversation-v32 .sales-trust { display: block; }
}

.sales-conversation-v32 .sales-composer { grid-template-columns:minmax(0,1fr); }
.sales-conversation-v32 .sales-messages { min-height:180px; height:0; }
body.projection-mode .sales-thread { min-height:0; height:100%; }
body.projection-mode .sales-messages { flex:1 1 200px; min-height:80px; }
body.projection-mode .sales-processing-consent { font-size:11px; }
