:root {
  --green-900: #0a3a2e;
  --green-700: #0f4d3f;
  --gold-500: #c6a343;
  --cream-100: #f8f5ec;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  background: var(--cream-100);
}

.app-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 20%, rgba(198, 163, 67, 0.18), transparent 35%),
    radial-gradient(circle at 90% 8%, rgba(15, 77, 63, 0.2), transparent 30%),
    linear-gradient(120deg, rgba(10, 58, 46, 0.06), transparent 45%);
}

.dash-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  border: 1px solid rgba(15, 77, 63, 0.15);
  border-radius: 1rem;
  padding: 1.1rem;
  background: linear-gradient(130deg, #ffffff, #f4f9f7);
  transition: transform 180ms ease, box-shadow 180ms ease;
  text-align: left;
}

.dash-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 77, 63, 0.18);
}

.dash-tag {
  color: var(--green-700);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.dash-title {
  font-size: 1.3rem;
  color: var(--green-900);
}

.dash-desc {
  color: #334155;
  font-size: 0.92rem;
}

.module-head {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.module-head h2 {
  margin: 0;
  font-size: 1.7rem;
  color: var(--green-900);
}

.module-copy {
  margin-top: 0.5rem;
  color: #334155;
  max-width: 70ch;
}

.para-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.para-chip {
  border: 1px solid rgba(15, 77, 63, 0.2);
  border-radius: 0.65rem;
  padding: 0.45rem;
  text-align: center;
  background: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 140ms ease;
}

.para-chip.active {
  border-color: var(--green-700);
  background: rgba(15, 77, 63, 0.1);
  color: var(--green-900);
  font-weight: 600;
}

.field {
  display: grid;
  gap: 0.45rem;
  color: #0f172a;
  font-size: 0.92rem;
}

.field select,
.field textarea,
.field input {
  border: 1px solid rgba(15, 77, 63, 0.2);
  border-radius: 0.7rem;
  padding: 0.65rem 0.72rem;
  font-family: inherit;
}

.label {
  margin: 0;
  font-size: 1rem;
  color: var(--green-900);
}

.action-btn,
.soft-btn,
.back-btn {
  border: 0;
  border-radius: 0.75rem;
  cursor: pointer;
  padding: 0.65rem 0.95rem;
  font-family: inherit;
}

.action-btn {
  background: var(--green-700);
  color: #fff;
}

.soft-btn,
.back-btn {
  background: rgba(15, 77, 63, 0.1);
  color: var(--green-900);
}

#jaiza-history li {
  border: 1px solid rgba(15, 77, 63, 0.14);
  border-radius: 0.7rem;
  padding: 0.7rem;
  background: #fff;
}

@media (max-width: 640px) {
  .dash-title {
    font-size: 1.14rem;
  }

  .module-head h2 {
    font-size: 1.4rem;
  }
}
