.azum-rules-label,
.azum-local-ai {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
  color: #1b1612;
  font-family: "Segoe UI", "Avenir Next", "Trebuchet MS", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.azum-rules-label {
  margin: 0.4rem auto 0;
  color: #7d2428;
  font-weight: 600;
}

.azum-local-ai {
  margin-bottom: 2rem;
}

.azum-local-ai h2 {
  margin: 1.2rem 0 0.35rem;
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 1.8rem;
}

.azum-local-kicker {
  margin: 0 0 0.6rem;
  color: #7d2428;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.azum-local-state,
.azum-local-feedback {
  margin: 0 0 0.8rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e3d5c4;
  border-radius: 0.8rem;
  background: #fffaf3;
}

.azum-local-feedback {
  border-color: #1e4d40;
  font-weight: 600;
}

.azum-local-feedback[data-state="error"],
.azum-local-feedback[data-state="unsupported"] {
  border-color: #7d2428;
}

.azum-local-ai ol {
  padding-left: 1.2rem;
}

.azum-local-ai button {
  min-height: 2.75rem;
  margin: 0 0.5rem 0.5rem 0;
  border: 1px solid #e3d5c4;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  background: #fff;
  color: #1b1612;
  font: inherit;
  font-weight: 600;
}

.azum-local-ai button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.azum-local-consent,
.azum-local-field {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0.8rem 0;
}

.azum-local-field {
  flex-direction: column;
}

.azum-local-ai textarea {
  width: min(100%, 40rem);
  min-height: 4.5rem;
  border: 1px solid #e3d5c4;
  border-radius: 0.7rem;
  padding: 0.5rem 0.7rem;
  font: inherit;
}

.azum-local-badge {
  color: #5c534a;
  font-size: 0.85rem;
}

#azum-local-answer[data-source="device"] {
  border-left: 4px solid #1e4d40;
  padding-left: 0.7rem;
}

@media (max-width: 640px) {
  .azum-local-ai button {
    display: block;
    width: 100%;
  }
}
