.aas-summary-box {
  --brand-purple-lightest: #f7f2fb;
  --brand-purple-lighter: #f0e4f6;
  --brand-purple-light: #e1caee;
  --brand-purple-mid: #d9bdea;
  --brand-purple-dark: #caa2e1;
  --brand-purple-darker: #c295dd;
  --brand-purple-darkest: #b37ad4;

  --brand-neutral-black: #000000;
  --brand-neutral-white: #ffffff;
  --brand-neutral-lightest: #f6f4f2;
  --brand-neutral-lighter: #e3dfd9;
  --brand-neutral-light: #c6beb3;
  --brand-neutral: #a09381;
  --brand-neutral-dark: #807667;
  --brand-neutral-darker: #504a41;
  --brand-neutral-darkest: #302c27;

  --brand-secondary-tangerine: #fbab49;
  --brand-secondary-light-tangerine: #fee6c8;
}

.aas-summary-box {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  color: var(--brand-neutral-darker);
  background: var(--Ash-Brown-Neutral-Lightest, #f6f4f2);
  border: 1px solid var(--Ash-Brown-Neutral, #a09381);
  border-radius: var(--xl, 1.5rem);
  padding: 1.75rem;
  width:100%;
  box-shadow: 0 14px 40px rgba(160, 147, 129, 0.16);
}

.aas-summary-section + .aas-controls {
  margin-top: 1.5rem;
}

.aas-summary-heading {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--brand-neutral-darkest);
}

.aas-summary-body {
  margin: 0.75rem 0 0;
  font-size: 1rem;
}

.aas-controls,
.aas-takeaways-section {
  margin-top: 1.5rem;
}

.aas-section-label {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--brand-neutral-darkest);
}

.aas-role-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
}

.aas-role-error {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--brand-secondary-tangerine);
}

.aas-role-input {
  background: var(--brand-neutral-white);
  border: 1px solid var(--Ash-Brown-Neutral, #a09381);
  border-radius: 0.75rem;
  flex: 1 1 auto;
  font-size: 1rem;
  color: inherit;
  outline: none;
  min-width: 0;
  height:2.5rem;
  padding: 0.425rem 0.9rem;
}

.aas-role-input::placeholder {
  color: var(--brand-neutral);
}

.aas-btn {
  border: 1px solid var(--Ash-Brown-Neutral, #a09381);
  background: var(--Ash-Brown-Neutral, #a09381);
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, opacity 0.2s ease;
}

.aas-btn:hover {
  background: var(--brand-neutral-darkest);
  transform: translateY(-1px);
}

.aas-btn:disabled,
.aas-btn-loading {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.aas-takeaways {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.aas-takeaway-item {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.aas-takeaway-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--Ash-Brown-Neutral, #a09381);
  margin-top: 0.45rem;
  flex: 0 0 auto;
}

.aas-footer {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--brand-neutral);
}

.aas-footer a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 480px) {
  .aas-summary-box {
    padding: 1.4rem;
  }

  .aas-btn {
    min-width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}
