.composer #form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
}

#form .axelle-project-label {
  color: var(--navy);
  font-weight: 700;
}

#form #query,
#form #axelle-copy-email {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #aebfce;
  padding: 9px 11px;
  border-radius: 9px;
}

#form #query {
  display: block;
  width: 100%;
  min-height: 84px;
  max-height: 45vh;
  resize: vertical;
  line-height: 1.45;
}

#form #query:focus-visible {
  outline: 3px solid #4c9dbd;
  outline-offset: 2px;
}

.axelle-form-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

#form .search-buttons {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#form .search-buttons button {
  min-height: 44px;
  padding: 6px;
  white-space: normal;
  font-size: 14px;
}

#form #analyze-project {
  background: #edf6fa;
  border-color: #9ebfce;
}

#form #analyze-project:hover:not(:disabled) {
  background: #dceff6;
}

.axelle-copy {
  margin-top: 2px;
  padding: 7px 9px;
  background: var(--soft);
  border-radius: 8px;
}

.axelle-copy-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  font-weight: 650;
  cursor: pointer;
}

.axelle-copy-check input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--blue);
}

#axelle-copy-fields:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  max-width: 46rem;
  margin-top: 4px;
}

#axelle-copy-fields label {
  font-size: 14px;
  color: var(--navy);
}

#form #axelle-copy-email {
  width: min(100%, 30rem);
  min-height: 42px;
}

.axelle-project-status {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.axelle-project-status:empty {
  display: none;
}

.axelle-project-status[data-error="true"] {
  color: #96231c;
}

.project-answer,
.project-request {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.project-request {
  max-height: 42vh;
  overflow: auto;
  margin-block: 6px 0;
}

.axelle-search-icon {
  width: 28px;
  border-width: 1px;
  box-shadow: 0 2px 6px #102b4140;
}

.axelle-search-icon::before {
  border-width: 2px;
}

.axelle-search-icon::after {
  height: 2px;
}

@container (max-width: 590px) {
  #form .search-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container (max-width: 245px) {
  #form .search-buttons {
    grid-template-columns: minmax(0, 1fr);
  }
}
