.constancy-card {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid #ded8c8;
  border-radius: 24px;
  background: #fffdf6;
  color: #292b24;
  min-width: 0;
}
.constancy-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.constancy-header h2 { margin: 6px 0 0; font-size: clamp(21px, 3vw, 28px); line-height: 1.2; }
.constancy-header .eyebrow { margin: 0; color: #69592d; }
.constancy-seal { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 50%; background: #f5d664; font-size: 28px; }
.constancy-message { max-width: 65ch; color: #56584e; line-height: 1.6; margin: 16px 0 20px; }
.constancy-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.constancy-stats > div { display: grid; gap: 4px; padding: 16px; background: #f2efe4; border-radius: 16px; }
.constancy-stats strong { font-size: 32px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.constancy-stats span { font-weight: 600; }
.constancy-stats small { color: #606155; }
.constancy-week-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 14px; }
.constancy-week-heading > span { color: #606155; }
.constancy-week { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 16px 0; padding: 0; }
.constancy-week li { display: grid; justify-items: center; gap: 8px; font-size: 12px; }
.constancy-week i { display: grid; place-items: center; width: min(100%, 38px); aspect-ratio: 1; border-radius: 50%; background: #eae7dd; font-style: normal; font-size: 20px; }
.constancy-week .is-done i { background: #2f6349; color: white; }
.constancy-week .is-today i { outline: 2px solid #746032; outline-offset: 3px; }
.constancy-next { font-weight: 650; font-size: 14px; margin: 20px 0 16px; }
.constancy-card .button { min-height: 44px; white-space: normal; text-align: center; }
.constancy-details { margin-top: 20px; padding-top: 4px; border-top: 1px solid #ded8c8; }
.constancy-details summary { cursor: pointer; padding: 12px 0; min-height: 44px; font-weight: 650; }
.constancy-details p { line-height: 1.6; color: #56584e; font-size: 14px; }
.constancy-rewards { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.constancy-rewards li { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #ded8c8; border-radius: 12px; }
.constancy-rewards li > span { font-size: 24px; flex: 0 0 28px; text-align: center; }
.constancy-rewards strong, .constancy-rewards small { display: block; line-height: 1.5; }
.constancy-rewards small { color: #606155; }
.constancy-rewards .is-earned { border-color: #8fa18f; background: #edf2e9; }
.constancy-earned-frame { box-shadow: inset 0 0 0 2px #c2943c; }
.constancy-profile-frame { display: inline-flex; padding: 7px; border: 3px double #a67927; border-radius: 50%; }
.constancy-profile-recognition { display: inline-block; border-radius: 20px; padding: 6px 12px; background: #f4e7bd; color: #614714; font-size: 13px; font-weight: 650; }
.constancy-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.constancy-card :is(a, button, summary):focus-visible { outline: 3px solid #725414; outline-offset: 4px; }
@media (max-width: 400px) {
  .constancy-card { padding: 18px; border-radius: 18px; }
  .constancy-stats > div { padding: 12px; }
  .constancy-stats span { font-size: 13px; }
  .constancy-seal { flex-basis: 40px; height: 40px; }
}
