[data-impact-one-chat-root] {
  position: fixed;
  z-index: 2147483000;
  bottom: 20px;
  color: #172033;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

[data-impact-one-chat-root],
[data-impact-one-chat-root] * {
  box-sizing: border-box;
}

[data-impact-one-chat-root] {
  color-scheme: light;
  text-align: left;
}

[data-impact-one-chat-root] button,
[data-impact-one-chat-root] input,
[data-impact-one-chat-root] textarea {
  margin: 0;
  letter-spacing: normal;
  text-transform: none;
}

[data-impact-one-chat-root] button {
  appearance: none;
}

[data-impact-one-chat-root] img,
[data-impact-one-chat-root] svg {
  max-width: none;
}

[data-impact-one-chat-root].io-right { right: 20px; }
[data-impact-one-chat-root].io-left { left: 20px; }

.io-launcher {
  min-width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  padding: 0 19px;
  color: var(--io-text);
  background: var(--io-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--io-primary) 28%, transparent);
  cursor: pointer;
  font: 700 14px/1 inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}

.io-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px color-mix(in srgb, var(--io-primary) 36%, transparent);
}

.io-launcher svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.io-launcher:focus-visible,
.io-close:focus-visible,
.io-reset:focus-visible,
.io-expand:focus-visible,
.io-send:focus-visible,
.io-input:focus-visible,
.io-suggestion:focus-visible,
.io-related-card:focus-visible,
.io-product-card a:focus-visible,
.io-comparison-action:focus-visible,
.io-recommendation-action:focus-visible,
.io-retry:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--io-primary) 40%, #bfdbfe);
  outline-offset: 2px;
}

.io-panel {
  position: absolute;
  bottom: 74px;
  width: min(var(--io-width), calc(100vw - 32px));
  height: min(var(--io-height), calc(100vh - 120px));
  min-width: 0;
  min-height: 440px;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: var(--io-radius);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.io-right .io-panel { right: 0; }
.io-left .io-panel { left: 0; }
.io-hidden { display: none !important; }

.io-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.io-header {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px 7px 12px;
  color: var(--io-text);
  background: var(--io-primary);
  flex: none;
}

.io-avatar {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.io-avatar svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.io-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.io-identity {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  line-height: 1.15;
}

.io-title {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.io-subtitle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  opacity: .94;
}

.io-subtitle > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
}

.io-header-actions {
  display: flex;
  align-items: center;
  flex: none;
  gap: 2px;
}

.io-close,
.io-reset,
.io-expand {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.io-close svg,
.io-reset svg,
.io-expand svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.io-close:hover,
.io-reset:hover,
.io-expand:hover {
  background: rgba(255, 255, 255, .16);
}

.io-panel.io-expanded {
  position: fixed;
  top: 20px;
  bottom: 20px;
  height: auto;
  max-height: none;
}

.io-right .io-panel.io-expanded { right: 20px; }
.io-left .io-panel.io-expanded { left: 20px; }

.io-messages {
  min-width: 0;
  min-height: 0;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.io-welcome {
  min-width: 0;
  color: #334155;
  animation: io-welcome-in .22s ease-out;
}

.io-welcome-brand {
  width: 46px;
  height: 46px;
  margin-bottom: 13px;
}

.io-welcome-brand .io-avatar {
  width: 46px;
  height: 46px;
  border: 0;
  color: var(--io-primary);
  background: color-mix(in srgb, var(--io-primary) 10%, #fff);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--io-primary) 16%, transparent);
}

.io-welcome-brand .io-avatar svg {
  width: 25px;
  height: 25px;
}

.io-welcome-heading {
  color: #111827;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.io-welcome p {
  margin: 8px 0 0;
  font-size: 14px;
}

.io-merchant-welcome {
  color: #64748b;
  line-height: 1.5;
}

.io-help-title {
  margin-top: 17px !important;
  color: #1e293b;
  font-weight: 700;
}

.io-help-list {
  list-style: none;
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  font-size: 13px;
}

.io-help-action {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 4px 5px;
  min-height: 32px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.io-help-action:hover {
  background: color-mix(in srgb, var(--io-primary) 6%, transparent);
  color: var(--io-primary);
  transform: translateX(2px);
}

.io-help-action:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--io-primary) 45%, #bfdbfe);
  outline-offset: 2px;
}

.io-help-action > span {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  color: var(--io-primary);
  background: color-mix(in srgb, var(--io-primary) 10%, #fff);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
}

.io-help-action > span svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.io-welcome-divider {
  height: 1px;
  margin: 16px 0 0;
  background: #e6eaf0;
}

.io-popular-title {
  margin-top: 14px !important;
  color: #1e293b;
  font-size: 12px !important;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.io-suggestions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.io-suggestion {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid #dce2eb;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  font: 600 12px/1.35 inherit;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.io-suggestion > span:last-child {
  color: var(--io-primary);
  flex: none;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.io-suggestion:hover {
  border-color: color-mix(in srgb, var(--io-primary) 55%, #cbd5e1);
  background: color-mix(in srgb, var(--io-primary) 3%, #fff);
  transform: translateX(2px);
}

.io-customer-row,
.io-assistant-row {
  min-width: 0;
  display: flex;
}

.io-customer-row {
  max-width: 86%;
  align-self: flex-end;
  align-items: flex-end;
  gap: 8px;
}

.io-assistant-row {
  max-width: 92%;
  align-self: flex-start;
  align-items: flex-start;
  gap: 8px;
}

.io-assistant-row > .io-avatar {
  width: 28px;
  height: 28px;
  border-width: 0;
  background: var(--io-primary);
  color: var(--io-text);
}

.io-assistant-row > .io-avatar svg {
  width: 16px;
  height: 16px;
}

.io-message-stack {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.io-customer-stack {
  align-items: flex-end;
}

.io-customer-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--io-primary) 88%, #fff);
  color: var(--io-text);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--io-primary) 18%, transparent);
}

.io-customer-avatar svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.io-message {
  max-width: 100%;
  padding: 11px 13px;
  border: 1px solid #e7eaf0;
  border-radius: 16px 16px 16px 5px;
  background: #f3f5f8;
  color: #1f2937;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .035);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.io-answer-copy {
  margin: 0;
}

.io-answer-outro {
  margin-top: 10px;
}

.io-product-answer {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.io-answer-copy + .io-product-answer {
  margin-top: 10px;
}

.io-product-answer-title {
  display: block;
  color: #172033;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.io-product-groups {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
  margin: 0;
}

.io-product-groups > div {
  min-width: 0;
}

.io-product-groups dt {
  margin: 0 0 2px;
  color: #7b8798;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.io-product-groups dd {
  min-width: 0;
  margin: 0;
  color: #253044;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.io-product-inline-values {
  word-spacing: 2px;
}

.io-product-availability[data-status="in-stock"],
.io-product-stock[data-status="in-stock"] {
  color: #15803d;
}

.io-product-availability[data-status="out-of-stock"],
.io-product-stock[data-status="out-of-stock"] {
  color: #b91c1c;
}

.io-product-availability[data-status="unknown"],
.io-product-stock[data-status="unknown"] {
  color: #64748b;
}

.io-comparison-message {
  width: 100%;
  max-width: 100%;
}

.io-comparison-message .io-message-stack {
  width: calc(100% - 36px);
}

.io-comparison {
  min-width: 0;
  display: grid;
  gap: 11px;
}

.io-answer-copy + .io-comparison {
  margin-top: 10px;
}

.io-comparison-products,
.io-comparison-values {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.io-comparison-product {
  min-width: 0;
  border: 1px solid #e1e6ee;
  border-radius: 11px;
  background: rgba(255, 255, 255, .78);
  padding: 8px;
  display: grid;
  align-content: start;
  gap: 7px;
}

.io-comparison-product img,
.io-comparison-product > .io-product-image-fallback {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: #eef2f7;
  object-fit: cover;
}

.io-comparison-product-details {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.io-comparison-product-details > strong {
  color: #172033;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.io-comparison-price {
  color: #253044;
  font-size: 12px;
  font-weight: 800;
}

.io-comparison-stock {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.io-comparison-stock[data-status="in-stock"] { color: #15803d; }
.io-comparison-stock[data-status="out-of-stock"] { color: #b91c1c; }

.io-comparison-action {
  width: 100%;
  min-width: 0;
  border-radius: 7px;
  background: var(--io-primary);
  color: var(--io-text);
  padding: 7px 8px;
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 10px;
  font-weight: 750;
}

.io-comparison-rows {
  min-width: 0;
  display: grid;
  gap: 0;
  border: 1px solid #e1e6ee;
  border-radius: 10px;
  overflow: hidden;
}

.io-comparison-row {
  min-width: 0;
  padding: 8px;
  background: rgba(255, 255, 255, .54);
}

.io-comparison-row + .io-comparison-row {
  border-top: 1px solid #e7eaf0;
}

.io-comparison-row > strong {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.io-comparison-values > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.io-comparison-values > div > span:last-child {
  color: #253044;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.io-comparison-value-title {
  display: none;
  color: #7b8798;
  font-size: 9px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.io-comparison-summary {
  min-width: 0;
  margin-top: 10px;
  border-radius: 10px;
  padding: 9px 10px;
}

.io-comparison-summary strong {
  display: block;
  margin-bottom: 3px;
  color: #253044;
  font-size: 11px;
}

.io-comparison-summary p {
  margin: 0;
  color: #475569;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.io-key-differences {
  border: 1px solid color-mix(in srgb, var(--io-primary) 18%, #e2e8f0);
  background: color-mix(in srgb, var(--io-primary) 6%, #fff);
}

.io-best-for {
  border-left: 3px solid var(--io-primary);
  background: #fff;
}

.io-recommendation-message {
  width: 100%;
  max-width: 100%;
}

.io-recommendation-message .io-message-stack {
  width: calc(100% - 36px);
}

.io-recommendation {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.io-recommendation-heading {
  color: #172033;
  font-size: 13px;
}

.io-recommendation-intro {
  margin: 0;
  color: #536176;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.io-recommendation-cards {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.io-recommendation-card {
  min-width: 0;
  border: 1px solid #e1e6ee;
  border-radius: 11px;
  background: rgba(255, 255, 255, .8);
  padding: 8px;
  display: grid;
  align-content: start;
  gap: 7px;
}

.io-recommendation-card img,
.io-recommendation-card > .io-product-image-fallback {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: #eef2f7;
  object-fit: cover;
}

.io-product-image-fallback {
  color: #94a3b8;
  background: linear-gradient(135deg, #f8fafc, #e9eef5);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.io-product-image-fallback svg {
  width: 42%;
  height: 42%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.io-recommendation-body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.io-recommendation-title {
  color: #172033;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.io-recommendation-price {
  color: #253044;
  font-size: 12px;
  font-weight: 800;
}

.io-recommendation-stock {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.io-recommendation-stock[data-status="in-stock"] { color: #15803d; }
.io-recommendation-stock[data-status="out-of-stock"] { color: #b91c1c; }

.io-recommendation-attributes {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.io-recommendation-attributes span {
  max-width: 100%;
  border-radius: 999px;
  background: color-mix(in srgb, var(--io-primary) 7%, #f8fafc);
  color: #526078;
  padding: 3px 6px;
  font-size: 9px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.io-recommendation-why {
  margin: 4px 0 0;
  color: #475569;
  font-size: 10px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.io-recommendation-action {
  width: 100%;
  min-height: 32px;
  border-radius: 7px;
  background: var(--io-primary);
  color: var(--io-text);
  padding: 7px 8px;
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
  font-size: 10px;
  font-weight: 750;
}

.io-user {
  border-color: transparent;
  border-radius: 16px 16px 5px 16px;
  background: var(--io-primary);
  color: var(--io-text);
  box-shadow: 0 7px 18px color-mix(in srgb, var(--io-primary) 20%, transparent);
}

.io-message-time {
  margin-top: 5px;
  padding: 0 3px;
  color: #8490a3;
  font-size: 10px;
  line-height: 1;
}

.io-customer-row .io-message-time {
  align-self: flex-end;
}

.io-status .io-message {
  color: #475569;
}

.io-status .io-message-time {
  display: none;
}

.io-error .io-message {
  display: grid;
  gap: 8px;
}

.io-retry {
  width: fit-content;
  min-height: 34px;
  border: 1px solid color-mix(in srgb, var(--io-primary) 32%, #d7deea);
  border-radius: 8px;
  background: #fff;
  color: var(--io-primary);
  padding: 6px 11px;
  cursor: pointer;
  font: 750 11px/1 inherit;
}

.io-retry:disabled {
  cursor: wait;
  opacity: .58;
}

.io-thinking-dots {
  display: inline-flex;
  gap: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.io-thinking-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--io-primary) 55%, #94a3b8);
  animation: io-dot 1.1s infinite ease-in-out;
}

.io-thinking-dots i:nth-child(2) { animation-delay: .15s; }
.io-thinking-dots i:nth-child(3) { animation-delay: .3s; }

.io-related-pages,
.io-messages > .io-product-cards {
  width: calc(100% - 36px);
  max-width: 88%;
  margin-left: 36px;
  align-self: flex-start;
}

.io-related-pages {
  border-top: 1px solid #e5e7eb;
  padding-top: 11px;
}

.io-message-stack > .io-related-pages {
  width: 100%;
  max-width: 100%;
  margin: 10px 0 0;
  align-self: stretch;
}

.io-related-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #475569;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.io-related-title > span:first-child {
  color: var(--io-primary);
  font-size: 10px;
}

.io-related-list,
.io-messages > .io-product-cards {
  display: grid;
  gap: 8px;
}

.io-related-card {
  min-width: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--io-primary);
  padding: 3px 2px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.io-related-card > span:first-child {
  width: 18px;
  height: 18px;
  border: 1px solid color-mix(in srgb, var(--io-primary) 35%, transparent);
  border-radius: 5px;
  color: var(--io-primary);
  background: color-mix(in srgb, var(--io-primary) 10%, #fff);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.io-related-card > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.io-related-card:hover {
  background: color-mix(in srgb, var(--io-primary) 6%, transparent);
  transform: translateX(2px);
}

.io-message > .io-product-cards {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.io-product-card {
  min-width: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
  padding: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 5px rgba(15, 23, 42, .05);
}

.io-product-card img,
.io-product-card > .io-product-image-fallback {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  background: #f1f5f9;
  object-fit: cover;
  flex: 0 0 auto;
}

.io-product-details {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.io-product-details strong {
  max-width: 100%;
  color: #172033;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.io-product-price {
  color: #253044;
  font-size: 12px;
  font-weight: 750;
}

.io-product-stock {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.io-product-details a {
  margin-top: 3px;
  color: var(--io-primary);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.io-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  border-top: 1px solid #e7eaf0;
  background: #fff;
  padding: 8px 11px 7px;
  flex: none;
}

.io-input {
  width: 0;
  min-width: 0;
  min-height: 41px;
  flex: 1;
  border: 1px solid #d6dce6;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  padding: 8px 12px;
  font: 14px/1.4 inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
  resize: none;
  overflow-y: auto;
}

.io-input:focus {
  border-color: color-mix(in srgb, var(--io-primary) 55%, #94a3b8);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--io-primary) 9%, transparent);
}

.io-input::placeholder { color: #94a3b8; }
.io-input:disabled { background: #f8fafc; }

.io-send {
  width: 41px;
  min-width: 41px;
  border: 0;
  border-radius: 11px;
  background: var(--io-primary);
  color: var(--io-text);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(15, 23, 42, .05);
  transition: transform .15s ease, opacity .15s ease;
}

.io-send:hover:not(:disabled) { transform: translateY(-1px); }
.io-send:disabled { cursor: wait; opacity: .58; }

.io-send svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.io-powered {
  flex: none;
  background: #fff;
  color: #8792a5;
  padding: 0 8px 6px;
  text-align: center;
  font-size: 10px;
}

@media (max-width: 749px) {
  [data-impact-one-chat-root] { bottom: 12px; }
  [data-impact-one-chat-root].io-right { right: 12px; }
  [data-impact-one-chat-root].io-left { left: 12px; }
  [data-impact-one-chat-root].io-hide-mobile { display: none; }

  .io-panel {
    position: fixed;
    inset: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
    width: auto;
    height: auto;
    min-height: 0;
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: min(var(--io-radius), 18px);
  }

  .io-header {
    min-height: 58px;
    padding-left: 11px;
  }

  .io-header .io-avatar {
    width: 34px;
    height: 34px;
  }

  .io-close,
  .io-reset {
    width: 44px;
    height: 44px;
  }

  .io-expand { display: none; }

  .io-messages {
    padding: 16px 13px 18px;
    gap: 14px;
  }

  .io-welcome-heading { font-size: 23px; }

  .io-welcome-brand {
    width: 42px;
    height: 42px;
    margin-bottom: 11px;
  }

  .io-welcome-brand .io-avatar {
    width: 42px;
    height: 42px;
  }

  .io-help-list {
    gap: 5px;
  }

  .io-help-action,
  .io-suggestion {
    min-height: 44px;
  }
  .io-customer-row { max-width: 90%; }
  .io-assistant-row { max-width: 96%; }

  .io-product-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .io-product-card {
    align-items: flex-start;
  }

  .io-product-card img,
  .io-product-card > .io-product-image-fallback {
    width: 44px;
    height: 44px;
  }

  .io-comparison-message .io-message-stack {
    width: calc(100% - 34px);
  }

  .io-recommendation-message .io-message-stack {
    width: calc(100% - 34px);
  }

  .io-recommendation-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .io-recommendation-card {
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: start;
  }

  .io-recommendation-card img,
  .io-recommendation-card > .io-product-image-fallback {
    width: 52px;
    height: 52px;
    aspect-ratio: auto;
  }

  .io-recommendation-action {
    grid-column: 1 / -1;
    min-height: 40px;
  }

  .io-comparison-products,
  .io-comparison-values {
    grid-template-columns: minmax(0, 1fr);
  }

  .io-comparison-product {
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: start;
  }

  .io-comparison-product img,
  .io-comparison-product > .io-product-image-fallback {
    width: 52px;
    height: 52px;
    aspect-ratio: auto;
    grid-row: span 2;
  }

  .io-comparison-action {
    grid-column: 1 / -1;
  }

  .io-comparison-values {
    gap: 6px;
  }

  .io-comparison-value-title {
    display: block;
  }

  .io-related-pages,
  .io-messages > .io-product-cards {
    width: calc(100% - 34px);
    max-width: none;
    margin-left: 34px;
  }

  .io-message-stack > .io-related-pages {
    width: 100%;
    margin-left: 0;
  }

  .io-form {
    position: sticky;
    bottom: 0;
    padding: 8px 9px max(8px, env(safe-area-inset-bottom));
  }

  .io-send,
  .io-retry {
    min-width: 44px;
    min-height: 44px;
  }

  .io-launcher {
    min-width: 54px;
    height: 54px;
    padding: 0 16px;
  }
}

@media (min-width: 750px) {
  [data-impact-one-chat-root].io-hide-desktop { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .io-panel { animation: io-in .2s ease-out; }

  @keyframes io-in {
    from { opacity: 0; transform: translateY(10px) scale(.99); }
    to { opacity: 1; transform: none; }
  }

  @keyframes io-dot {
    0%, 60%, 100% { opacity: .3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
  }

  @keyframes io-welcome-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .io-thinking-dots i { animation: none; }
  .io-panel,
  .io-welcome,
  .io-launcher,
  .io-suggestion,
  .io-related-card { transition: none; }
}

/*
 * WordPress themes and page builders often apply broad button typography rules
 * after plugin styles. Keep this reset inside the widget root so it cannot
 * affect site controls, while preventing Elementor from hiding chat labels.
 */
#impact-one-chat-root.impact-one-chat-widget {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-variant: normal !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  line-height: 1.45 !important;
  text-transform: none !important;
  -webkit-text-fill-color: currentColor;
}

#impact-one-chat-root.impact-one-chat-widget button {
  appearance: none !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  font-style: normal !important;
  font-variant: normal !important;
  letter-spacing: normal !important;
  text-indent: 0 !important;
  text-shadow: none !important;
  text-transform: none !important;
  visibility: visible !important;
}

#impact-one-chat-root.impact-one-chat-widget .io-help-action {
  color: #334155 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #334155 !important;
}

#impact-one-chat-root.impact-one-chat-widget .io-help-action > span {
  color: var(--io-primary) !important;
  -webkit-text-fill-color: currentColor !important;
}

#impact-one-chat-root.impact-one-chat-widget .io-suggestion {
  color: #334155 !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #334155 !important;
}

#impact-one-chat-root.impact-one-chat-widget .io-suggestion > span:first-child {
  color: #334155 !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: #334155 !important;
}

#impact-one-chat-root.impact-one-chat-widget .io-suggestion > span:last-child {
  color: var(--io-primary) !important;
  -webkit-text-fill-color: currentColor !important;
}
