.my-progress,.progress-ack {
  --progress-ink: #492a1a;
  --progress-rule: #e2c9ad;
  color: var(--progress-ink);
  overflow-wrap: anywhere;
}
.my-progress h1,.my-progress h2,.progress-ack h3 {
  font-family: Baskerville,Georgia,serif;
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.035em;
}
.my-progress h1 {
  margin: .35rem 0 0;
  padding: .23em .45em .2em;
  border-radius: 11px;
  background: #f6dfd5;
  font-size: clamp(2rem,9vw,2.65rem);
}
.my-progress h2 {font-size:clamp(1.55rem,6.5vw,2rem)}
.progress-intro {margin:.24rem .65rem .75rem;font-size:1.06rem}
.progress-week {
  container: progress-week / inline-size;
  background: #fff8ee;
  border: 1px solid var(--progress-rule);
  border-radius: 15px;
  overflow: hidden;
}
.progress-week-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .25rem .65rem;
  background: #fbefde;
  border-bottom: 1px solid var(--progress-rule);
  padding: .55rem .75rem;
}
.progress-week-heading > span {font-size:.97rem}
.my-progress ol,.my-progress ul {list-style:none;padding:0;margin:0}
.progress-week .progress-days {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 2px;
  padding: .6rem .35rem .38rem;
  border-bottom: 1px solid #ecd7c2;
}
.progress-days li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  min-width: 0;
  font-size: .86rem;
  line-height: 1.2;
}
.progress-days time {text-align:center;font-weight:680}
.progress-day-number {display:block;color:#785b44;font-weight:480;font-size:.84em}
.progress-symbol {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  box-sizing: border-box;
  line-height: 1;
  font-family: system-ui,sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
}
.progress-symbol-daily {color:#4e5c22;background:#dbe0ae}
.progress-symbol-easy {color:#64792c;background:#e1e3bd}
.progress-symbol-partial {color:#925421;background:#f4d8ae}
.progress-symbol-neutral {border:1px solid #a78c6c;background:#fffaf2}
.progress-today {font-size:.85em;font-weight:650;color:#704626}
.progress-state-label {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}
.progress-week .progress-legend {
  display: grid;
  gap: .16rem;
  padding: .45rem .8rem .58rem;
  font-size: .89rem;
  line-height: 1.35;
}
.progress-legend li {display:flex;gap:.59rem;align-items:center}
.progress-legend .progress-symbol {width:.94rem;font-size:.83rem}
.progress-summary {
  margin: .48rem 0 .85rem;
  padding: .6rem .8rem;
  border-radius: 10px;
  background: #eeecd6;
  font-weight: 720;
  line-height: 1.35;
  text-align: center;
}
.progress-milestones {container: progress-milestones / inline-size}
.progress-milestones h2 {margin:0 .25rem .45rem}
.progress-milestones ul {display:grid;gap:.35rem}
.progress-badge {
  display: grid;
  grid-template-columns: minmax(2.6rem,20%) minmax(0,1fr) auto;
  align-items: center;
  gap: .45rem .65rem;
  min-height: 3.7rem;
  padding: .24rem .55rem .24rem .35rem;
  border: 1px solid var(--progress-rule);
  border-radius: 12px;
  background: #fff8ef;
}
.progress-badge strong {font-size:1.015rem;line-height:1.2;letter-spacing:-.022em}
.progress-badge-art {
  position:relative;
  display:block;
  width:100%;
  max-width:5.5rem;
  aspect-ratio:76/54;
}
.progress-badge-art img {display:block;width:100%;height:100%;object-fit:contain}
.progress-badge-art > span {
  position:absolute;
  inset-inline:0;
  top:50%;
  transform:translateY(-50%);
  color:#4f321b;
  text-align:center;
  font:bold 1.03rem/1 Georgia,serif;
}
.progress-badge-seven > span {top:62%}
.progress-badge-house > i {
  position: absolute;
  right: -.05rem;
  bottom: 0;
  display: grid;
  place-items:center;
  width:1.05rem;
  aspect-ratio:1;
  border:1px solid #fffbef;
  border-radius:50%;
  background:#708443;
  color:white;
  font:750 .8rem/1 system-ui,sans-serif;
}
.progress-badge-status {
  padding: .3em .5em;
  border-radius: .7em;
  background: #f6ebd8;
  font-size: .83rem;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.progress-badge[data-earned=true] .progress-badge-status {color:#485322;background:#e9e9c9;font-weight:650}
.progress-totals,.progress-count-note {margin:.4rem .45rem 0;line-height:1.35;font-size:.91rem}
.progress-totals {margin-top:.65rem;font-weight:650}
.progress-quote {
  display: grid;
  grid-template-columns: minmax(0,22%) minmax(0,1fr);
  align-items: center;
  gap: .7rem;
  padding: .45rem .7rem;
  margin: .87rem 0;
  border-radius: 16px;
  background: #faedda;
}
.progress-quote img {width:100%;height:auto;object-fit:contain}
.progress-quote blockquote {margin:0;font:italic 1.24rem/1.24 Baskerville,Georgia,serif}
.progress-quote figcaption {font-size:.85rem;margin-top:.27rem}
.progress-return {
  display: block;
  min-height: 44px;
  max-width: 100%;
  padding: .38rem 1.4rem;
  margin: .8rem auto 0;
  border: 1px solid #82502c;
  border-radius: 1.5rem;
  font-weight: 640;
}
.progress-ack {
  position: relative;
  display:grid;
  grid-template-columns:minmax(0,22%) minmax(0,1fr);
  align-items:center;
  gap:.65rem;
  margin:.4rem .45rem;
  padding:.65rem .6rem;
  border-radius:12px;
  background:#eeecd6;
}
.progress-ack > img {width:100%;height:auto;object-fit:contain}
.progress-ack > div {padding-left:.65rem;border-left:1px solid #d4cba8}
.progress-ack h3 {font-size:clamp(1.32rem,5.2vw,1.65rem)}
.progress-ack p {margin-top:.24rem;font-size:.99rem;line-height:1.35}
.progress-ack .progress-ack-note {font-size:.9rem;color:#634b32}
.progress-ack a {
  display:inline-flex;
  align-items:center;
  gap:.2em;
  min-height:44px;
  padding:0 .2rem 0 0;
  color:#53331b;
  font-weight:650;
  text-decoration:underline;
  text-underline-offset:.13em;
  text-align:left;
}
.progress-ack a::after {content:'';position:absolute;inset:0;border-radius:12px}
.progress-ack a:focus-visible::after {outline:3px solid #a14b29;outline-offset:-3px}
@container progress-week (max-width: 16rem) {
  .progress-week .progress-days {display:block;padding:.25rem .55rem}
  .progress-days li {
    display:grid;
    grid-template-columns:3.4em 1.6rem minmax(0,1fr);
    align-items:center;
    gap:.15rem .4rem;
    padding:.32rem 0;
  }
  .progress-days li+li {border-top:1px solid #edddcb}
  .progress-days time {text-align:left}
  .progress-day-number {display:inline}
  .progress-days .progress-symbol {width:1.45rem;font-size:.9rem;grid-column:2}
  .progress-state-label {position:static;width:auto;height:auto;overflow:visible;clip-path:none}
  .progress-today {grid-column:1;grid-row:2}
  .progress-week .progress-legend {display:none}
}
@container progress-milestones (max-width: 16rem) {
  .progress-badge {grid-template-columns:minmax(2.4rem,23%) minmax(0,1fr);gap:.1rem .5rem}
  .progress-badge-art {grid-row:span 2}
  .progress-badge-status {grid-column:2;justify-self:start}
}
