.earn-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.earn-head h1 {
  margin: 6px 0 9px;
  letter-spacing: -1.4px;
  font-size: 38px;
}
.earn-eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  color: #69776e;
}
.earn-muted,
.earn-head p {
  color: #69776e;
  font-size: 13px;
  line-height: 1.6;
}
.earn-head p {
  margin: 0;
  max-width: 620px;
}
.earn-state {
  margin: 0 0 20px;
  padding: 13px 16px;
  background: #f0f4f1;
  border: 1px solid #dbe4de;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.earn-error {
  background: #fff6ed;
  border-color: #ead7c2;
  color: #74441b;
}
.earn-state:empty {
  display: none;
}
.earn-grid {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(290px,1fr);
  gap: 22px;
  align-items: start;
}
.earn-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.earn-stat {
  padding: 24px;
  background: white;
  border: 1px solid #e0e6e1;
  border-radius: 16px;
  min-width: 0;
}
.earn-stat:first-child {
  background: #12392c;
  color: #fff;
  border-color: #12392c;
}
.earn-stat-label {
  font-size: 12px;
  margin-bottom: 14px;
  color: #69776e;
}
.earn-stat:first-child .earn-stat-label,
.earn-stat:first-child .earn-muted {
  color: #c1d5c9;
}
.earn-stat-value {
  font-size: clamp(23px,2.2vw,34px);
  font-weight: 600;
  letter-spacing: -1.1px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.earn-stat .earn-muted {
  font-size: 11px;
  margin: 8px 0 0;
}
.earn-card {
  border: 1px solid #e0e6e1;
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 22px;
  min-width: 0;
}
.earn-card h2 {
  font-size: 17px;
  letter-spacing: -.35px;
  margin: 0 0 18px;
}
.earn-facts {
  margin: 0;
}
.earn-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #eef1ed;
  font-size: 12px;
}
.earn-facts > div:last-child {
  border-bottom: 0;
}
.earn-facts dt {
  color: #69776e;
}
.earn-facts dd {
  margin: 0;
  text-align: right;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.earn-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 17px;
  font-size: 12px;
}
.earn-links a,
.earn-card a {
  color: #1b5941;
  text-underline-offset: 3px;
}
.earn-tabs {
  display: flex;
  padding: 4px;
  background: #f1f4f1;
  border-radius: 10px;
  margin-bottom: 24px;
  gap: 4px;
}
.earn-tabs button {
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 11px;
  flex: 1;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color: #69776e;
}
.earn-tabs button[aria-pressed=true] {
  background: #fff;
  color: #173c2e;
  box-shadow: 0 1px 4px #12392c14;
}
.earn-form label {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-bottom: 9px;
}
.earn-amount {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9e3db;
  border-radius: 12px;
  padding: 13px;
}
.earn-amount input {
  min-width: 0;
  width: 100%;
  font: inherit;
  font-size: 27px;
  letter-spacing: -.7px;
  border: 0!important;
  padding: 0!important;
  box-shadow: none!important;
  background: transparent!important;
  color: #142c20;
}
.earn-amount span {
  font-size: 12px;
  font-weight: 650;
  color: #69776e;
}
.earn-amount button {
  border: 0;
  padding: 7px;
  background: #eef4ed;
  border-radius: 6px;
  color: #1b5941;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.earn-amount:focus-within {
  outline: 2px solid #397758;
  outline-offset: 2px;
}
.earn-form button:disabled {
  opacity: .48;
  cursor: not-allowed;
}
.earn-form .button {
  width: 100%;
  justify-content: center;
  margin-top: 15px;
}
.earn-form-note {
  font-size: 12px;
  color: #69776e;
  line-height: 1.6;
  min-height: 20px;
}
.earn-review {
  margin-top: 19px;
  border-top: 1px solid #e2e8e2;
  padding-top: 18px;
}
.earn-check {
  display: flex!important;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
  font-weight: 400!important;
  margin-top: 16px;
}
.earn-check input {
  width: auto!important;
  margin: 4px 0 0;
  accent-color: #24583e;
  flex-shrink: 0;
}
.earn-funding {
  font-size: 12px;
  line-height: 1.6;
}
.earn-funding summary {
  cursor: pointer;
  font-weight: 600;
}
.earn-address {
  display: block;
  overflow-wrap: anywhere;
  user-select: all;
  font-size: 11px;
  padding: 12px;
  background: #f4f6f3;
  border-radius: 8px;
  margin: 12px 0;
}
.earn-risk {
  font-size: 11px;
  line-height: 1.7;
  color: #69776e;
}
.earn-activity-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.earn-activity-head span {
  font-size: 11px;
  color: #69776e;
}
.earn-activity-row {
  padding: 16px 0;
  border-top: 1px solid #eef1ed;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 20px;
  font-size: 13px;
}
.earn-activity-row p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  color: #69776e;
  grid-column: 1/-1;
}
.earn-activity-row time {
  display: block;
  font-size: 11px;
  color: #69776e;
  margin-top: 5px;
}
.earn-activity-row strong {
  text-align: right;
  font-size: 12px;
  font-weight: 550;
}
.earn-activity-row code {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.earn-loading {
  color: #69776e;
  font-size: 13px;
  padding: 18px 0;
}
.earn-card button:focus-visible,
.earn-head button:focus-visible {
  outline: 2px solid #397758;
  outline-offset: 3px;
}
@media (max-width:1100px) {
  .earn-grid {
    grid-template-columns: 1fr;
  }
  .earn-form-card {
    grid-row: 1;
  }
  .earn-stats {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .earn-head h1 {
    font-size: 32px;
  }
}
@media (max-width:560px) {
  .earn-head {
    gap: 12px;
  }
  .earn-head h1 {
    font-size: 29px;
  }
  .earn-card,
  .earn-stat {
    padding: 18px;
  }
  .earn-grid {
    gap: 0;
  }
  .earn-stats {
    gap: 10px;
  }
  .earn-stat-value {
    font-size: 24px;
  }
  .earn-facts > div {
    gap: 12px;
  }
  .earn-head .button {
    padding: 9px 12px;
  }
}
