/* Días Sin Fumar — contextual email capture */
.dsf-email-capture {
  max-width: 960px;
  margin: 34px auto 0;
  padding: 30px;
  border: 1px solid rgba(23, 78, 67, .16);
  border-radius: 20px;
  background: #f8f6ef;
}

.dsf-email-capture[hidden],
.dsf-progress-consent[hidden],
.dsf-honeypot {
  display: none !important;
}

.dsf-email-capture__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #5f7f48;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.dsf-email-capture h2 {
  margin: 0 0 8px;
  color: #174e43;
}

.dsf-email-capture__head > p {
  margin: 0 0 22px;
  color: #55706a;
}

.dsf-email-form {
  display: grid;
  gap: 18px;
}

.dsf-email-field {
  display: grid;
  gap: 7px;
  max-width: 520px;
  font-weight: 700;
  color: #173f37;
}

.dsf-email-field input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid rgba(23, 78, 67, .28);
  border-radius: 12px;
  background: #fffdf7;
  color: #173f37;
  font: inherit;
}

.dsf-email-preferences {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.dsf-email-preferences legend {
  margin-bottom: 10px;
  font-weight: 800;
  color: #173f37;
}

.dsf-email-preferences label,
.dsf-email-consents label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}

.dsf-email-preferences label {
  padding: 14px 16px;
  border: 1px solid rgba(23, 78, 67, .14);
  border-radius: 14px;
  background: rgba(255,255,255,.38);
}

.dsf-email-preferences input,
.dsf-email-consents input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.dsf-email-preferences span {
  display: grid;
  gap: 3px;
}

.dsf-email-preferences small,
.dsf-email-note {
  color: #62756f;
  font-weight: 400;
}

.dsf-email-consents {
  display: grid;
  gap: 12px;
  padding-top: 2px;
}

.dsf-email-consents a {
  color: #174e43;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dsf-email-form .button {
  justify-self: start;
}

.dsf-email-note {
  margin: -4px 0 0;
  font-size: .88rem;
  line-height: 1.5;
}

.dsf-email-status {
  margin: 0;
  font-weight: 700;
  color: #174e43;
}

@media (max-width: 640px) {
  .dsf-email-capture {
    margin-top: 24px;
    padding: 20px 16px;
    border-radius: 16px;
  }

  .dsf-email-form .button {
    width: 100%;
  }
}


/* Mi progreso — enlace privado desde email */
.dsf-my-progress {
  max-width: 960px;
  margin: 38px auto;
}

.dsf-progress-hero {
  margin-bottom: 24px;
}

.dsf-progress-eyebrow {
  margin: 0 0 8px;
  color: #5f7f48;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.dsf-progress-hero h1,
.dsf-my-progress--empty h1 {
  margin: 0 0 10px;
  color: #174e43;
}

.dsf-progress-hero > p:last-child,
.dsf-my-progress--empty > p {
  color: #55706a;
}

.dsf-progress-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.dsf-progress-card,
.dsf-progress-next,
.dsf-progress-achieved,
.dsf-my-progress--empty {
  border: 1px solid rgba(23, 78, 67, .15);
  border-radius: 18px;
  background: #f8f6ef;
}

.dsf-progress-card {
  display: grid;
  gap: 6px;
  padding: 20px;
}

.dsf-progress-card span,
.dsf-progress-next__head span {
  color: #62756f;
  font-size: .9rem;
}

.dsf-progress-card strong {
  color: #174e43;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.dsf-progress-card small {
  color: #6d7d78;
  line-height: 1.45;
}

.dsf-progress-next {
  padding: 22px;
  margin-top: 18px;
}

.dsf-progress-next__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dsf-progress-next__head h2 {
  margin: 4px 0 0;
  color: #174e43;
}

.dsf-progress-next__head > strong {
  white-space: nowrap;
  color: #174e43;
}

.dsf-progress-bar {
  height: 12px;
  margin: 20px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 78, 67, .12);
}

.dsf-progress-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #5f7f48;
}

.dsf-progress-next > p {
  margin-bottom: 0;
  color: #62756f;
}

.dsf-progress-achieved {
  padding: 22px;
  margin-top: 18px;
}

.dsf-progress-achieved h2 {
  margin-top: 0;
  color: #174e43;
}

.dsf-progress-achieved__list {
  display: grid;
  gap: 10px;
}

.dsf-progress-achieved__list > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(23, 78, 67, .1);
}

.dsf-progress-achieved__list > div:last-child {
  border-bottom: 0;
}

.dsf-progress-achieved__list span {
  color: #62756f;
}

.dsf-progress-footer {
  margin-top: 24px;
  padding-top: 8px;
}

.dsf-progress-footer p {
  color: #62756f;
}

.dsf-my-progress--empty {
  padding: 28px;
}

@media (max-width: 720px) {
  .dsf-progress-grid {
    grid-template-columns: 1fr;
  }

  .dsf-progress-next__head,
  .dsf-progress-achieved__list > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .dsf-progress-next__head > strong {
    white-space: normal;
  }
}
