.nebo-composer {
  flex: 0 0 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: end;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid #dfe7f2;
  background: #fff;
}

.nebo-composer.no-attachment {
  grid-template-columns: minmax(0, 1fr) 42px;
}

.nebo-composer.has-product-picker {
  grid-template-columns: 42px 42px minmax(0, 1fr) 42px;
}

.nebo-composer .nebo-composer__field {
  display: flex;
  min-height: 44px;
  max-height: 116px;
  padding: 10px 13px;
  overflow: hidden;
  border: 1px solid #b8c8df;
  border-radius: 14px;
  background: #fff;
}

.nebo-composer .nebo-composer__field:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.nebo-composer textarea {
  display: block;
  width: 100%;
  min-height: 22px;
  max-height: 94px;
  padding: 0;
  overflow-y: auto;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172033;
  font: 16px/1.35 Inter, ui-sans-serif, system-ui, sans-serif;
}

.nebo-composer textarea::placeholder {
  color: #667085;
  opacity: 1;
}

.nebo-composer textarea:focus::placeholder {
  color: transparent;
}

.nebo-composer .nebo-composer__attach,
.nebo-composer .nebo-composer__send {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.nebo-composer .nebo-composer__attach {
  background: transparent;
  color: #172554;
}

.nebo-composer .nebo-composer__attach:hover,
.nebo-composer .nebo-composer__attach:focus-visible {
  background: #f5f9ff;
}

.nebo-composer .nebo-composer__send {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .24);
}

.nebo-composer .nebo-composer__attach svg,
.nebo-composer .nebo-composer__send svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nebo-composer .nebo-composer__attach:focus-visible,
.nebo-composer .nebo-composer__send:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .22);
  outline-offset: 2px;
}

.nebo-user-avatar {
  display: block;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-catalog-action {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 9px;
  padding: 8px 10px 0;
  background: #fff;
}

.chat-catalog-action button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #bcd2ff;
  border-radius: 13px;
  background: #eaf2ff;
  color: #172554;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.chat-catalog-action button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #2563eb;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-catalog-action small {
  grid-column: 1 / -1;
  min-width: 0;
  color: #667085;
  font-size: 10px;
  line-height: 1.25;
}

@media (max-width: 350px) {
  .chat-catalog-action small { display: none; }
  .chat-catalog-action button {
    width: 100%;
    padding-inline: 8px;
    justify-content: center;
    font-size: 11px;
  }
}
