/* PURE, the default look of Haltera (src/theme/themes.ts). */
:root {
  --bg: #f5f5f0;
  --surface: #ffffff;
  --raised: #ebece5;
  --border: #dedfd7;
  --text: #181a16;
  --muted: #6b7067;
  --accent: #c8ed83;
  --on-accent: #192211;
  --active: #486721;
  --success-soft: #e6f0d6;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.4 Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  -webkit-text-size-adjust: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 20px 0;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
.brand img {
  border-radius: 9px;
}
main {
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 20px 32px;
  display: grid;
  gap: 14px;
}
.hero {
  text-align: center;
  padding: 24px 0 8px;
  display: grid;
  justify-items: center;
  gap: 6px;
}
.hero h1 {
  margin: 6px 0 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
}
.hero > .glyph {
  color: var(--active);
}
.muted {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}
.glyph {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.badge {
  width: 96px;
  height: 96px;
  border-radius: 48px;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}
.card h2 {
  margin: 0 0 10px;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.week {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.list li > span:first-child {
  display: grid;
}
.list small {
  font-size: 13px;
}
.list li.superset {
  border-left: 3px solid var(--accent);
  padding-left: 8px;
}
.value {
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.stat {
  background: var(--surface);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 2px;
}
.stat b {
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.stat span {
  color: var(--muted);
  font-size: 13px;
}
.area {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
}
.area.top {
  color: var(--text);
}
.area.top .glyph {
  color: var(--active);
}
.area .label {
  width: 82px;
}
.area.top .label {
  font-weight: 700;
}
.track {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--raised);
  overflow: hidden;
}
.track span {
  display: block;
  height: 100%;
  background: var(--active);
}
.sets {
  width: 56px;
  text-align: right;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.records {
  background: var(--success-soft);
  border-color: transparent;
}
.records h2 {
  color: var(--active);
}
.cta {
  display: grid;
  gap: 10px;
  text-align: center;
  padding-top: 6px;
}
.button {
  display: block;
  padding: 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}
footer {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px 32px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
footer a {
  color: var(--active);
}
