#aidex-advisor-root,
#aidex-advisor-root * {
  box-sizing: border-box;
}

#aidex-advisor-root {
  --aidex-ink: #101828;
  --aidex-muted: #667085;
  --aidex-line: #e6eaf0;
  --aidex-soft: #f6f8fc;
  --aidex-white: #fff;
  --aidex-success: #12b76a;
  --aidex-danger: #d92d20;
  --aidex-warning: #f79009;
  --aidex-shadow:
    0 30px 80px rgba(15, 23, 42, 0.24), 0 8px 25px rgba(15, 23, 42, 0.13);
  position: fixed;
  z-index: 2147482000;
  bottom: var(--aidex-bottom, 22px);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--aidex-ink);
  text-align: left;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#aidex-advisor-root.aidex-right {
  right: 22px;
}
#aidex-advisor-root.aidex-left {
  left: 22px;
}

#aidex-advisor-root button,
#aidex-advisor-root input,
#aidex-advisor-root textarea,
#aidex-advisor-root select {
  font: inherit;
}

#aidex-advisor-root button {
  cursor: pointer;
}
#aidex-advisor-root a {
  color: inherit;
}
#aidex-advisor-root [hidden] {
  display: none !important;
}

#aidex-advisor-root .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.aidex-launcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 7px 19px 7px 8px;
  border: 1px solid #f4c400;
  border-radius: 999px;
  background: linear-gradient(135deg, #050505, #1b1b1b);
  box-shadow:
    0 16px 38px rgba(244, 196, 0, 0.26),
    0 4px 12px rgba(15, 23, 42, 0.15);
  color: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.aidex-launcher:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 44px rgba(244, 196, 0, 0.34),
    0 7px 15px rgba(15, 23, 42, 0.17);
}

.aidex-launcher:focus-visible,
.aidex-header-actions button:focus-visible,
.aidex-human-open:focus-visible,
.aidex-services-open:focus-visible,
.aidex-services-toggle:focus-visible,
.aidex-get-started:focus-visible,
.aidex-quick-reply:focus-visible,
.aidex-message-form button:focus-visible,
.aidex-drawer button:focus-visible,
.aidex-drawer a:focus-visible,
.aidex-drawer input:focus-visible,
.aidex-drawer select:focus-visible,
.aidex-profile-form input:focus-visible,
.aidex-profile-form button:focus-visible,
.aidex-lead-form input:focus-visible,
.aidex-lead-form textarea:focus-visible,
.aidex-lead-form select:focus-visible {
  outline: 3px solid rgba(244, 196, 0, 0.34);
  outline-offset: 2px;
}

.aidex-launcher-pulse {
  position: absolute;
  left: 7px;
  top: 7px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.27);
  animation: aidex-pulse 2.4s ease-out infinite;
}

.aidex-launcher-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f4c400;
  color: #080808;
  backdrop-filter: blur(8px);
}

.aidex-launcher-icon svg,
.aidex-header-actions svg,
.aidex-drawer-head svg,
.aidex-message-form svg,
.aidex-service-search svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aidex-launcher-icon svg {
  width: 24px;
  height: 24px;
}
.aidex-launcher-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.aidex-icon-close {
  display: none;
}
.aidex-launcher[aria-expanded="true"] .aidex-icon-chat,
.aidex-launcher[aria-expanded="true"] .aidex-launcher-label,
.aidex-launcher[aria-expanded="true"] .aidex-launcher-pulse {
  display: none;
}
.aidex-launcher[aria-expanded="true"] .aidex-icon-close {
  display: grid;
}
.aidex-launcher[aria-expanded="true"] {
  padding: 7px;
}

.aidex-panel {
  position: absolute;
  bottom: 72px;
  width: min(440px, calc(100vw - 32px));
  height: min(
    690px,
    calc(var(--aidex-app-height, 100dvh) - var(--aidex-bottom, 22px) - 92px)
  );
  max-height: calc(
    var(--aidex-app-height, 100dvh) - var(--aidex-bottom, 22px) - 92px
  );
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--aidex-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.975);
  transform-origin: bottom right;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s;
}

.aidex-right .aidex-panel {
  right: 0;
}
.aidex-left .aidex-panel {
  left: 0;
  transform-origin: bottom left;
}
.aidex-panel.aidex-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.aidex-header {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 64px;
  min-height: 64px;
  padding: 8px 11px 8px 14px;
  border-bottom: 1px solid #eef0f4;
  background: #fff;
}

.aidex-brand {
  display: flex;
  align-items: center;
  max-width: 184px;
  height: 46px;
  overflow: hidden;
  text-decoration: none;
}

.aidex-brand img {
  display: block;
  width: 100%;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.aidex-header-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.aidex-header-actions button,
.aidex-drawer-head button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #e3e7ee;
  border-radius: 10px;
  background: #f8f9fc;
  color: #475467;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border 0.15s ease;
}

.aidex-header-actions button:hover,
.aidex-drawer-head button:hover {
  color: #111;
  background: #fff8cf;
  border-color: #e0b900;
}
.aidex-header-actions svg,
.aidex-drawer-head svg {
  width: 18px;
  height: 18px;
}
.aidex-sound-on-icon {
  display: none;
}
.aidex-sound-enabled .aidex-sound-on-icon {
  display: block;
}
.aidex-sound-enabled .aidex-sound-off-icon {
  display: none;
}
.aidex-sound-enabled .aidex-sound-toggle {
  color: #111;
  background: #fff8cf;
  border-color: #e0b900;
}

.aidex-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 0 0 58px;
  min-height: 58px;
  padding: 8px 13px;
  background:
    radial-gradient(
      circle at 90% -50%,
      rgba(255, 255, 255, 0.34),
      transparent 42%
    ),
    linear-gradient(135deg, #050505 0%, #171717 62%, #242424 130%);
  border-bottom: 2px solid #f4c400;
  color: #fff;
}

.aidex-status-copy {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.aidex-status-copy > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}
.aidex-status-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aidex-status-copy small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aidex-status-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px 12px 12px 4px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 800;
}

.aidex-status-avatar i {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--aidex-primary);
  border-radius: 50%;
  background: #32d583;
}

.aidex-human-open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 31px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.aidex-human-open:hover {
  background: rgba(255, 255, 255, 0.2);
}
.aidex-human-open span {
  color: #32d583;
  font-size: 8px;
  text-shadow: 0 0 9px rgba(50, 213, 131, 0.8);
}

.aidex-connection-banner {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-bottom: 1px solid #fedf89;
  background: #fffaeb;
  color: #93370d;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

.aidex-connection-banner.is-online {
  border-color: #abefc6;
  background: #ecfdf3;
  color: #067647;
}
.aidex-connection-banner.is-offline {
  border-color: #fecdca;
  background: #fef3f2;
  color: #b42318;
}
.aidex-connection-banner.is-human {
  border-color: #e7c62b;
  background: #fff9dc;
  color: #5d4900;
}

.aidex-trustbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 31px;
  min-height: 31px;
  padding: 6px 10px;
  overflow: hidden;
  border-bottom: 1px solid var(--aidex-line);
  background: #fff;
  color: #667085;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.aidex-trustbar span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.aidex-trustbar span::before {
  content: "✓";
  color: var(--aidex-success);
  font-weight: 800;
}

.aidex-service-showcase {
  flex: 0 0 42px;
  min-height: 42px;
  padding: 0;
  border-bottom: 1px solid var(--aidex-line);
  background: linear-gradient(180deg, #fbfcff 0%, #f7f9fd 100%);
  transition:
    flex-basis 0.2s ease,
    min-height 0.2s ease;
}
.aidex-service-showcase.is-expanded {
  flex-basis: 88px;
  min-height: 88px;
  padding-bottom: 7px;
}

.aidex-service-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 41px;
  padding: 4px 11px;
}
.aidex-services-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1;
  padding: 0;
  border: 0;
  background: transparent;
  color: #344054;
  text-align: left;
}
.aidex-services-toggle-icon {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8cf, #f4c400);
  color: #111;
  font-size: 11px;
  font-weight: 800;
}
.aidex-services-toggle > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.aidex-services-toggle strong {
  overflow: hidden;
  color: #344054;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aidex-services-toggle small {
  overflow: hidden;
  color: #98a2b3;
  font-size: 7.5px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aidex-services-toggle i {
  flex: 0 0 auto;
  color: #98a2b3;
  font-size: 13px;
  font-style: normal;
  transition: transform 0.2s ease;
}
.aidex-service-showcase.is-expanded .aidex-services-toggle i {
  transform: rotate(180deg);
}
.aidex-services-open {
  flex: 0 0 auto;
  padding: 1px 0;
  border: 0;
  background: transparent;
  color: #6f5600;
  font-size: 9px;
  font-weight: 700;
}

.aidex-service-rail {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 12px 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.aidex-service-rail[hidden] {
  display: none !important;
}
.aidex-service-rail::-webkit-scrollbar {
  display: none;
}

.aidex-service-card {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 158px;
  min-width: 158px;
  height: 47px;
  padding: 7px 8px;
  border: 1px solid #e2e8f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(16, 24, 40, 0.04);
  color: #344054;
  scroll-snap-align: start;
  text-decoration: none;
  transition:
    transform 0.16s ease,
    border 0.16s ease,
    box-shadow 0.16s ease;
}
.aidex-service-card:hover {
  transform: translateY(-1px);
  border-color: #e3c335;
  box-shadow: 0 6px 14px rgba(244, 196, 0, 0.13);
}

.aidex-service-icon {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(
    135deg,
    rgba(244, 196, 0, 0.2),
    rgba(17, 17, 17, 0.08)
  );
  color: #111;
  font-size: 10px;
  font-weight: 800;
}
.aidex-service-card > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.aidex-service-card strong {
  overflow: hidden;
  color: #344054;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aidex-service-card small {
  overflow: hidden;
  color: #98a2b3;
  font-size: 8px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aidex-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 15px 14px 8px;
  background:
    radial-gradient(
      circle at 108% 10%,
      rgba(244, 196, 0, 0.07),
      transparent 36%
    ),
    linear-gradient(180deg, #fbfcff 0%, #fff 43%);
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.aidex-messages::-webkit-scrollbar,
.aidex-drawer::-webkit-scrollbar,
.aidex-lead-wrap::-webkit-scrollbar {
  width: 5px;
}
.aidex-messages::-webkit-scrollbar-thumb,
.aidex-drawer::-webkit-scrollbar-thumb,
.aidex-lead-wrap::-webkit-scrollbar-thumb {
  background: #d0d5dd;
  border-radius: 8px;
}

.aidex-message {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
  animation: aidex-message-in 0.2s ease both;
}
.aidex-message.aidex-user {
  justify-content: flex-end;
}

.aidex-message-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 9px 9px 9px 3px;
  border: 1px solid #f4c400;
  background: #111;
  color: #f4c400;
  font-size: 9px;
  font-weight: 800;
}

.aidex-message-content {
  max-width: 84%;
  padding: 9px 11px 7px;
  border: 1px solid #e5e9f0;
  border-radius: 4px 15px 15px 15px;
  background: #fff;
  box-shadow: 0 3px 11px rgba(16, 24, 40, 0.05);
  color: #344054;
  font-size: 12.5px;
  line-height: 1.52;
  word-break: break-word;
}
.aidex-message-text {
  white-space: pre-wrap;
}

.aidex-user .aidex-message-content {
  border-color: #f4c400;
  border-radius: 15px 4px 15px 15px;
  background: linear-gradient(135deg, #111, #242424);
  box-shadow: 0 5px 13px rgba(17, 17, 17, 0.2);
  color: #fff;
}

.aidex-message-content a {
  color: var(--aidex-primary);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.aidex-user .aidex-message-content a {
  color: #fff;
}
.aidex-message-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 14px;
  margin-top: 5px;
}
.aidex-message-time {
  color: #98a2b3;
  font-size: 8px;
  line-height: 1;
}
.aidex-user .aidex-message-time {
  color: rgba(255, 255, 255, 0.68);
}
.aidex-message-tools {
  display: flex;
  align-items: center;
  gap: 3px;
}
.aidex-message-tool {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #98a2b3;
  font-size: 11px;
}
.aidex-message-tool:hover {
  background: #f1f4f9;
  color: var(--aidex-primary);
}

.aidex-human-message .aidex-message-avatar {
  flex-basis: 34px;
  width: 34px;
  background: linear-gradient(135deg, #067647, #12b76a);
  font-size: 7px;
}
.aidex-human-message .aidex-message-content {
  border-color: #abefc6;
  background: linear-gradient(135deg, #f6fef9, #fff);
}
.aidex-human-mode .aidex-statusbar {
  background: linear-gradient(105deg, #064e3b, #079455 58%, #12b76a);
}

.aidex-typing .aidex-message-content {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  color: #98a2b3;
  font-size: 9px;
}
.aidex-typing .aidex-message-content span {
  margin-right: 3px;
}
.aidex-typing .aidex-message-content i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #98a2b3;
  animation: aidex-typing 1.15s infinite ease-in-out;
}
.aidex-typing .aidex-message-content i:nth-child(3) {
  animation-delay: 0.14s;
}
.aidex-typing .aidex-message-content i:nth-child(4) {
  animation-delay: 0.28s;
}

#aidex-advisor-root .aidex-chat-action-card {
  width: calc(100% - 36px);
  max-width: 365px;
  margin: 2px 0 13px 36px;
  padding: 8px;
  border: 1px solid #eadc92;
  border-radius: 13px;
  background: linear-gradient(135deg, #fffbea 0%, #fff 58%, #fffdf5 100%);
  box-shadow: 0 5px 16px rgba(16, 24, 40, 0.06);
  animation: aidex-message-in 0.2s ease both;
}
#aidex-advisor-root .aidex-chat-action-card[hidden] {
  display: none !important;
}
.aidex-chat-action-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.aidex-chat-action-icon {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #111;
  box-shadow: 0 4px 10px rgba(17, 17, 17, 0.18);
  color: #f4c400;
  font-size: 13px;
  font-weight: 800;
}
.aidex-chat-action-head > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}
.aidex-chat-action-head strong {
  overflow: hidden;
  color: #1d2939;
  font-size: 10px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aidex-chat-action-head small {
  overflow: hidden;
  color: #98a2b3;
  font-size: 7.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aidex-get-started {
  flex: 0 0 auto;
  min-height: 29px;
  padding: 5px 10px;
  border: 0;
  border-radius: 8px;
  border: 1px solid #d9ae00;
  background: #f4c400;
  box-shadow: 0 5px 12px rgba(244, 196, 0, 0.2);
  color: #111;
  font-size: 8px;
  font-weight: 750;
  white-space: nowrap;
}
.aidex-chat-action-card.is-expanded .aidex-get-started {
  background: #eef2f8;
  box-shadow: none;
  color: #667085;
}
#aidex-advisor-root.aidex-actions-started .aidex-trustbar {
  display: none;
}

#aidex-advisor-root .aidex-quick-replies {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 5px;
  width: 100%;
  max-width: 100%;
  min-height: 30px;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 7px;
  padding: 6px 1px 0;
  border-top: 1px solid #e8ecf3;
  background: transparent;
  scroll-behavior: smooth;
  scroll-padding-inline: 10px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
#aidex-advisor-root .aidex-quick-replies[hidden] {
  display: none !important;
}
#aidex-advisor-root .aidex-quick-replies::-webkit-scrollbar {
  display: none;
}
#aidex-advisor-root .aidex-quick-replies:empty {
  display: none;
}

#aidex-advisor-root .aidex-quick-reply {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-width: max-content;
  max-width: none;
  min-height: 25px;
  padding: 4px 12px 4px 14px !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(
    135deg,
    #030405 0%,
    #171a20 52%,
    #050607 100%
  ) !important;
  color: #fff !important;
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 50%,
    calc(100% - 8px) 100%,
    0 100%,
    6px 50%
  );
  filter: drop-shadow(0 2px 3px rgba(3, 6, 12, 0.18));
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  scroll-snap-align: start;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    filter 0.15s ease,
    transform 0.15s ease;
}
#aidex-advisor-root .aidex-quick-reply::before {
  position: absolute;
  z-index: -1;
  top: 6px;
  bottom: 6px;
  left: 9px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd31a, #f4a900);
  content: "";
}
#aidex-advisor-root .aidex-quick-reply:hover {
  background: linear-gradient(
    135deg,
    #0a0b0e 0%,
    #242832 52%,
    #08090b 100%
  ) !important;
  color: #ffd31a !important;
  filter: drop-shadow(0 3px 5px rgba(3, 6, 12, 0.25));
  transform: translateY(-1px);
}
#aidex-advisor-root .aidex-quick-reply:active {
  filter: drop-shadow(0 2px 4px rgba(3, 6, 12, 0.18));
  transform: translateY(0);
}

.aidex-composer {
  position: relative;
  z-index: 7;
  flex: 0 0 auto;
  padding: 8px 10px 6px;
  border-top: 1px solid var(--aidex-line);
  background: #fff;
}

.aidex-message-form {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 6px;
  border: 1px solid #dfe3ea;
  border-radius: 16px;
  background: #f9fafb;
  transition:
    border 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.aidex-message-form:focus-within {
  border-color: rgba(205, 161, 0, 0.85);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(244, 196, 0, 0.12);
}

.aidex-message-form textarea {
  flex: 1;
  min-width: 0;
  min-height: 34px;
  max-height: 104px;
  padding: 7px 2px;
  resize: none;
  overflow-y: auto;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #1d2939;
  font-size: 12.5px;
  line-height: 1.45;
}
.aidex-message-form textarea::placeholder {
  color: #98a2b3;
}

.aidex-message-form button {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 11px;
}
.aidex-message-form button svg {
  width: 18px;
  height: 18px;
}
.aidex-mic {
  border: 1px solid #e2e6ec;
  background: #fff;
  color: #667085;
}
.aidex-mic:hover {
  border-color: #e0b900;
  color: #111;
  background: #fff8cf;
}
.aidex-listening .aidex-mic {
  border-color: #fda29b;
  background: #fef3f2;
  color: #d92d20;
  animation: aidex-mic-pulse 1.2s infinite;
}
.aidex-send {
  border: 0;
  border: 1px solid #d9ae00;
  background: #f4c400;
  color: #111;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.aidex-send:disabled {
  cursor: default;
  opacity: 0.35;
  filter: grayscale(0.25);
}
.aidex-send:not(:disabled):hover {
  transform: translateY(-1px);
}

.aidex-voice-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -1px 0 7px;
  padding: 6px 8px;
  border: 1px solid #fecdca;
  border-radius: 10px;
  background: #fef3f2;
  color: #b42318;
  font-size: 10px;
}
.aidex-voice-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f04438;
  animation: aidex-mic-pulse 1s infinite;
}
.aidex-voice-status span {
  flex: 1;
}
.aidex-voice-status button {
  padding: 1px 4px;
  border: 0;
  background: transparent;
  color: #b42318;
  font-size: 9px;
  font-weight: 700;
}

.aidex-composer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 5px;
  color: #98a2b3;
  font-size: 8.5px;
  line-height: 1.25;
  text-align: center;
}
.aidex-composer-meta a,
.aidex-composer-meta button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #667085;
  font-size: inherit;
  text-decoration: none;
}
.aidex-composer-meta a:hover,
.aidex-composer-meta button:hover {
  color: var(--aidex-primary);
  text-decoration: underline;
}

.aidex-lead-wrap,
.aidex-drawer {
  position: absolute;
  z-index: 12;
  inset: 64px 0 0;
  overflow-y: auto;
  padding: 16px 15px;
  background: #fff;
}

.aidex-lead-wrap {
  display: flex;
  flex-direction: column;
}
.aidex-drawer {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.aidex-drawer.aidex-drawer-open {
  opacity: 1;
  transform: translateY(0);
}

.aidex-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
}
.aidex-drawer-head > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aidex-drawer-head span {
  color: var(--aidex-primary);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.aidex-drawer-head strong {
  color: #101828;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.aidex-service-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  padding: 0 11px;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  background: #f9fafb;
}
.aidex-service-search:focus-within {
  border-color: var(--aidex-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(244, 196, 0, 0.12);
}
.aidex-service-search svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: #98a2b3;
}
.aidex-service-search input {
  width: 100%;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1d2939;
  font-size: 12px;
}

.aidex-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding-bottom: 12px;
}
.aidex-service-category {
  grid-column: 1 / -1;
  margin: 7px 0 1px;
  color: #475467;
  font-size: 10px;
  font-weight: 750;
}
.aidex-service-category:first-child {
  margin-top: 0;
}
.aidex-service-grid-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 49px;
  padding: 7px;
  border: 1px solid #e5e9f0;
  border-radius: 11px;
  background: #fbfcfd;
  text-decoration: none;
}
.aidex-service-grid-item:hover {
  border-color: #e3c335;
  background: #fffbea;
}
.aidex-service-grid-item .aidex-service-icon {
  flex-basis: 31px;
  width: 31px;
  height: 31px;
}
.aidex-service-grid-item > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.aidex-service-grid-item strong {
  color: #344054;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.3;
}
.aidex-service-grid-item small {
  overflow: hidden;
  color: #98a2b3;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aidex-service-empty {
  grid-column: 1 / -1;
  padding: 30px 12px;
  color: #667085;
  font-size: 11px;
  text-align: center;
}

.aidex-all-services-link,
.aidex-human-project {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: 11px;
  border: 1px solid #d9ae00;
  background: #f4c400;
  box-shadow: 0 6px 16px rgba(244, 196, 0, 0.2);
  color: #111 !important;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.aidex-human-intro {
  margin: -3px 0 13px;
  color: #667085;
  font-size: 11px;
  line-height: 1.55;
}
.aidex-live-human-start {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 62px;
  margin: 0 0 10px;
  padding: 9px 11px;
  border: 1px solid #abefc6;
  border-radius: 13px;
  background: linear-gradient(135deg, #ecfdf3, #f7fffa);
  color: #065f46;
  text-align: left;
}
.aidex-live-human-start:hover {
  border-color: #32d583;
  box-shadow: 0 8px 20px rgba(18, 183, 106, 0.12);
}
.aidex-live-human-start:disabled {
  cursor: wait;
  opacity: 0.65;
}
.aidex-live-human-start > span {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 44px;
  height: 40px;
  border-radius: 11px;
  background: #067647;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.aidex-live-human-start > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ce9a6;
  box-shadow: 0 0 0 4px rgba(108, 233, 166, 0.16);
}
.aidex-live-human-start strong {
  align-self: end;
  font-size: 11px;
}
.aidex-live-human-start small {
  align-self: start;
  overflow: hidden;
  color: #477a68;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aidex-live-human-start b {
  grid-column: 3;
  grid-row: 1 / 3;
  font-size: 16px;
}
.aidex-human-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.aidex-human-actions a {
  display: grid;
  grid-template-columns: 37px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  min-height: 65px;
  padding: 9px;
  border: 1px solid #e3e7ee;
  border-radius: 13px;
  background: #fbfcfd;
  text-decoration: none;
}
.aidex-human-actions a:hover {
  border-color: #e3c335;
  background: #fffbea;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.05);
}
.aidex-human-actions a > span {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: #fff8cf;
  color: #111;
  font-size: 11px;
  font-weight: 800;
}
.aidex-human-actions .is-whatsapp > span {
  background: #ecfdf3;
  color: #079455;
}
.aidex-human-actions .is-call > span {
  background: #fff8cf;
  color: #111;
}
.aidex-human-actions .is-email > span {
  background: #fff4ed;
  color: #e04f16;
}
.aidex-human-actions .is-book > span {
  background: #f3f3f3;
  color: #111;
}
.aidex-human-actions strong {
  align-self: end;
  color: #344054;
  font-size: 10.5px;
  font-weight: 700;
}
.aidex-human-actions small {
  align-self: start;
  overflow: hidden;
  color: #98a2b3;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aidex-human-actions b {
  grid-column: 3;
  grid-row: 1 / 3;
  color: #98a2b3;
  font-size: 13px;
}

.aidex-lead-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 13px;
}
.aidex-lead-heading strong {
  color: #101828;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.025em;
}
.aidex-lead-heading span {
  color: #667085;
  font-size: 10px;
}
.aidex-lead-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.aidex-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.aidex-lead-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #475467;
  font-size: 9.5px;
  font-weight: 650;
}

.aidex-lead-form input,
.aidex-lead-form textarea,
.aidex-lead-form select {
  width: 100%;
  min-height: 38px;
  padding: 8px 9px;
  border: 1px solid #dfe3ea;
  border-radius: 9px;
  outline: none;
  background: #fbfcfd;
  box-shadow: none;
  color: #1d2939;
  font-size: 11px;
  font-weight: 400;
}
.aidex-lead-form textarea {
  min-height: 70px;
  resize: vertical;
}
.aidex-lead-form input:focus,
.aidex-lead-form textarea:focus,
.aidex-lead-form select:focus {
  border-color: var(--aidex-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(244, 196, 0, 0.12);
}
.aidex-lead-form .aidex-invalid {
  border-color: var(--aidex-danger);
}
.aidex-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 7px !important;
  line-height: 1.4;
}
.aidex-consent input {
  flex: 0 0 15px;
  width: 15px;
  min-height: 15px;
  height: 15px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--aidex-primary);
}
.aidex-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.aidex-form-error {
  padding: 8px 10px;
  border: 1px solid #fecdca;
  border-radius: 9px;
  background: #fef3f2;
  color: #b42318;
  font-size: 10px;
}
.aidex-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 2px;
}
.aidex-form-back,
.aidex-form-submit {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 700;
}
.aidex-form-back {
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #475467;
}
.aidex-form-submit {
  flex: 1;
  border: 0;
  border: 1px solid #d9ae00;
  background: #f4c400;
  color: #111;
  box-shadow: 0 5px 14px rgba(244, 196, 0, 0.2);
}
.aidex-form-submit:disabled {
  cursor: wait;
  opacity: 0.6;
}

.aidex-success-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 10px;
  text-align: center;
}
.aidex-success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #ecfdf3;
  color: #039855;
  font-size: 26px;
  font-weight: 700;
}
.aidex-success-card strong {
  margin-bottom: 6px;
  color: #101828;
  font-size: 18px;
  font-weight: 750;
}
.aidex-success-card p {
  max-width: 300px;
  margin: 0 0 16px;
  color: #667085;
  font-size: 11px;
}
.aidex-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.aidex-success-actions a,
.aidex-success-actions button {
  min-height: 39px;
  padding: 9px 13px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
  color: #344054;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}
.aidex-success-actions a:first-child {
  border-color: transparent;
  background: #16a34a;
  color: #fff;
}

.aidex-onboarding {
  position: static;
  z-index: auto;
  display: block;
  width: calc(100% - 36px);
  margin: 2px 0 13px 36px;
  padding: 0;
  overflow: visible;
  background: transparent;
  animation: aidex-message-in 0.2s ease both;
}

.aidex-onboarding-card {
  width: 100%;
  max-width: none;
  padding: 11px;
  border: 1px solid #e0b900;
  border-radius: 14px;
  background: linear-gradient(145deg, #fffdf3, #fff 62%);
  box-shadow: 0 7px 20px rgba(17, 17, 17, 0.09);
}

.aidex-onboarding-badge {
  display: inline-grid;
  place-items: center;
  float: left;
  width: 28px;
  height: 28px;
  margin: 0 8px 5px 0;
  border: 1px solid #f4c400;
  border-radius: 9px;
  background: #111;
  box-shadow: 0 4px 10px rgba(17, 17, 17, 0.16);
  color: #f4c400;
  font-size: 12px;
}

.aidex-onboarding-copy strong {
  display: block;
  color: #101828;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.aidex-onboarding-copy p {
  margin: 2px 0 9px;
  color: #667085;
  font-size: 8.5px;
  line-height: 1.4;
}

.aidex-profile-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  clear: both;
}

.aidex-profile-form > label:first-child,
.aidex-profile-location,
.aidex-profile-consent,
.aidex-profile-error,
.aidex-profile-submit,
.aidex-profile-privacy {
  grid-column: 1 / -1;
}

.aidex-profile-form > label:not(.aidex-profile-location):not(.aidex-profile-consent) {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #475467;
  font-size: 8px;
  font-weight: 680;
}

.aidex-profile-form input[type="text"],
.aidex-profile-form input[type="email"],
.aidex-profile-form input[type="tel"] {
  width: 100%;
  height: 34px;
  padding: 7px 9px;
  border: 1px solid #d8dee9;
  border-radius: 10px;
  outline: 0;
  background: #fbfcfe;
  color: #1d2939;
  font-size: 9px;
  font-weight: 450;
}

.aidex-profile-form input[type="text"]:focus,
.aidex-profile-form input[type="email"]:focus,
.aidex-profile-form input[type="tel"]:focus {
  border-color: var(--aidex-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(244, 196, 0, 0.12);
}

.aidex-profile-location,
.aidex-profile-consent {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #475467;
  font-size: 7.8px;
  line-height: 1.4;
}

.aidex-profile-location input,
.aidex-profile-consent input {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--aidex-primary);
}

.aidex-profile-location span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.aidex-profile-location strong {
  color: #344054;
  font-size: 9.5px;
}

.aidex-profile-location small {
  color: #98a2b3;
  font-size: 7px;
}

.aidex-profile-error {
  padding: 8px 10px;
  border: 1px solid #fecdca;
  border-radius: 9px;
  background: #fef3f2;
  color: #b42318;
  font-size: 9.5px;
}

.aidex-profile-submit,
.aidex-language-save {
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #d9ae00;
  border-radius: 10px;
  background: #f4c400;
  box-shadow: 0 7px 18px rgba(244, 196, 0, 0.2);
  color: #111;
  font-size: 9.5px;
  font-weight: 750;
}

.aidex-profile-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.aidex-profile-privacy {
  color: #98a2b3;
  font-size: 7px;
  text-align: center;
}

.aidex-profile-privacy a {
  color: #6f5600 !important;
  text-decoration: underline;
}

.aidex-message-translation {
  margin-top: 7px;
  padding: 7px 8px;
  border-left: 2px solid var(--aidex-primary);
  border-radius: 0 7px 7px 0;
  background: #fffbea;
}

.aidex-message-translation span {
  display: block;
  margin-bottom: 2px;
  color: var(--aidex-primary);
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aidex-message-translation p {
  margin: 0;
  color: #344054;
  font-size: 10px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.aidex-message-tool.is-loading {
  animation: aidex-pulse 1s linear infinite;
}

.aidex-language-intro {
  margin: 0 0 15px;
  color: #667085;
  font-size: 11px;
  line-height: 1.55;
}

.aidex-language-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #344054;
  font-size: 10px;
  font-weight: 700;
}

.aidex-language-field select {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #d8dee9;
  border-radius: 11px;
  background: #fbfcfe;
  color: #1d2939;
  font-size: 11px;
}

.aidex-language-note {
  display: flex;
  gap: 9px;
  margin: 13px 0;
  padding: 11px;
  border: 1px solid #d1fadf;
  border-radius: 12px;
  background: #f6fef9;
}

.aidex-language-note > span {
  display: grid;
  flex: 0 0 26px;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #dcfae6;
  color: #079455;
  font-weight: 800;
}

.aidex-language-note p {
  display: flex;
  margin: 0;
  flex-direction: column;
  color: #344054;
  font-size: 10px;
}

.aidex-language-note small {
  margin-top: 2px;
  color: #667085;
  font-size: 8.5px;
  font-weight: 400;
}

.aidex-human-voice-brief,
.aidex-voice-brief {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 9px;
  align-items: center;
  width: 100%;
  min-height: 57px;
  padding: 8px 10px;
  border: 1px solid #e0b900;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8cf, #fffdf2);
  color: #111;
  text-align: left;
}

.aidex-human-voice-brief {
  margin-bottom: 10px;
}

.aidex-human-voice-brief > span,
.aidex-voice-brief > span {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f4c400;
  font-size: 16px;
}

.aidex-human-voice-brief strong,
.aidex-voice-brief strong {
  align-self: end;
  font-size: 10.5px;
}

.aidex-human-voice-brief small,
.aidex-voice-brief small {
  align-self: start;
  overflow: hidden;
  color: #667085;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aidex-human-voice-brief b {
  grid-column: 3;
  grid-row: 1 / 3;
}

.aidex-human-voice-brief.is-unavailable,
.aidex-voice-brief.is-unavailable {
  display: none;
}

.aidex-listening .aidex-voice-brief {
  border-color: #f04438;
  background: #fff4f3;
  color: #b42318;
  box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.08);
}

.aidex-listening .aidex-voice-brief strong::after {
  content: " — Listening… tap to stop";
}

@keyframes aidex-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.45;
  }
  75%,
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@keyframes aidex-message-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aidex-typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes aidex-mic-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(240, 68, 56, 0.18);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(240, 68, 56, 0);
  }
}

@media (max-height: 640px) and (min-width: 768px) {
  .aidex-service-showcase {
    display: none;
  }
  .aidex-trustbar {
    display: none;
  }
}

@media (max-width: 767px) {
  #aidex-advisor-root,
  #aidex-advisor-root.aidex-right,
  #aidex-advisor-root.aidex-left {
    right: 12px;
    left: auto;
    bottom: var(--aidex-mobile-bottom, 14px);
  }
  .aidex-launcher {
    min-height: 54px;
    padding: 6px 15px 6px 6px;
  }
  .aidex-launcher-icon {
    width: 42px;
    height: 42px;
  }
  .aidex-launcher-pulse {
    left: 6px;
    top: 6px;
    width: 42px;
    height: 42px;
  }
  .aidex-panel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: var(--aidex-app-height, 100dvh);
    max-height: var(--aidex-app-height, 100dvh);
    border: 0;
    border-radius: 0;
    transform: translateY(24px);
    transform-origin: bottom center;
  }
  .aidex-panel.aidex-open {
    transform: translateY(0);
  }
  .aidex-header {
    flex-basis: calc(61px + env(safe-area-inset-top));
    min-height: calc(61px + env(safe-area-inset-top));
    padding-top: max(8px, env(safe-area-inset-top));
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }
  .aidex-brand {
    max-width: min(176px, 46vw);
    height: 43px;
  }
  .aidex-brand img {
    height: 41px;
  }
  .aidex-statusbar {
    flex-basis: 54px;
    min-height: 54px;
    padding-inline: 12px;
  }
  .aidex-trustbar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-inline: 12px;
    scrollbar-width: none;
  }
  .aidex-service-showcase {
    flex-basis: 42px;
    min-height: 42px;
  }
  .aidex-service-showcase.is-expanded {
    flex-basis: 88px;
    min-height: 88px;
  }
  .aidex-messages {
    padding-inline: 12px;
  }
  #aidex-advisor-root .aidex-chat-action-card {
    width: calc(100% - 34px);
    margin-left: 34px;
  }
  .aidex-composer {
    padding-right: max(10px, env(safe-area-inset-right));
    padding-bottom: max(7px, env(safe-area-inset-bottom));
    padding-left: max(10px, env(safe-area-inset-left));
  }
  .aidex-lead-wrap,
  .aidex-drawer {
    inset: calc(61px + env(safe-area-inset-top)) 0 0;
    padding-right: max(14px, env(safe-area-inset-right));
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    padding-left: max(14px, env(safe-area-inset-left));
  }
  .aidex-onboarding {
    width: calc(100% - 34px);
    margin-left: 34px;
    padding: 0;
  }
  .aidex-onboarding-card {
    margin: 0;
  }
}

@media (max-width: 430px) {
  .aidex-header-actions {
    gap: 3px;
  }
  .aidex-header-actions button {
    width: 32px;
    height: 32px;
  }
  .aidex-brand {
    max-width: 43vw;
  }
  .aidex-status-copy strong {
    max-width: 44vw;
  }
  .aidex-trustbar {
    gap: 10px;
  }
  .aidex-trustbar span {
    flex: 0 0 auto;
  }
  .aidex-service-grid,
  .aidex-human-actions {
    grid-template-columns: 1fr;
  }
  .aidex-human-actions a {
    min-height: 61px;
  }
  .aidex-field-row {
    grid-template-columns: 1fr;
  }
  .aidex-profile-form {
    grid-template-columns: 1fr;
  }
  .aidex-message-content {
    max-width: 86%;
  }
  .aidex-chat-action-head small,
  .aidex-services-toggle small {
    display: none;
  }
  .aidex-get-started {
    padding-inline: 8px;
  }
}

@media (max-width: 350px) {
  .aidex-launcher-label {
    display: none;
  }
  .aidex-launcher {
    padding: 6px;
  }
  .aidex-brand {
    max-width: 42vw;
  }
  .aidex-sound-toggle {
    display: none !important;
  }
  .aidex-human-open {
    padding-inline: 7px;
    font-size: 9px;
  }
  .aidex-status-avatar {
    display: none;
  }
  .aidex-message-form button {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
  #aidex-advisor-root .aidex-quick-replies {
    padding-inline: 1px;
  }
}

@supports not (clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)) {
  #aidex-advisor-root .aidex-quick-reply {
    border-radius: 10px !important;
  }
}

@media (max-height: 560px) and (max-width: 767px) and (orientation: landscape) {
  .aidex-service-showcase,
  .aidex-trustbar {
    display: none;
  }
  .aidex-header {
    flex-basis: 52px;
    min-height: 52px;
    padding-block: 4px;
  }
  .aidex-brand,
  .aidex-brand img {
    height: 38px;
  }
  .aidex-statusbar {
    flex-basis: 46px;
    min-height: 46px;
    padding-block: 5px;
  }
  .aidex-lead-wrap,
  .aidex-drawer {
    inset: 52px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #aidex-advisor-root *,
  #aidex-advisor-root *::before,
  #aidex-advisor-root *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
