:root {
 color-scheme: dark;
 --bg: #111111;
 --card: #1d1d1d;
 --line: #30302e;
 --text: #f5f5f0;
 --muted: #b2b2ab;
 --lime: #d5ff59;
 font: 16px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); padding: env(safe-area-inset-top) 0 calc(98px + env(safe-area-inset-bottom)); }
header, main { width: min(100%, 590px); margin-inline: auto; padding-inline: 16px; }
header { display: flex; align-items: center; gap: 10px; padding-block: 15px; font-weight: 650; }
.tag { margin-left: auto; color: var(--muted); font-size: 10px; letter-spacing: .15em; }
.symbols { position: absolute; width: 0; height: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
button { cursor: pointer; font: inherit; color: inherit; }
button:focus-visible, input:focus-visible { outline: 2px solid white; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(26px, 6vw, 34px); font-weight: 570; letter-spacing: -.035em; line-height: 1.15; }
h2, .section-title { font-size: 19px; font-weight: 570; letter-spacing: -.025em; }
.muted { color: var(--muted); font-size: 13px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.hero { overflow: hidden; margin-bottom: 20px; }
.cover { aspect-ratio: 1.52; max-height: 330px; background: linear-gradient(180deg, transparent 48%, #1118), url("hero.jpg") center 42% / cover, #33382a; }
.hero-body, .list-card { padding: clamp(14px, 4vw, 22px); }
.hero-heading, .section-heading, .agenda-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hero-heading h1 { margin-top: 3px; }
.brand, .round, .exercise-icon { display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--lime); color: #151810; }
.brand { width: 30px; height: 30px; }
.brand svg { width: 17px; }
.round { width: 44px; height: 44px; border: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.pill { display: inline-block; border: 1px solid #5c5c54; border-radius: 99px; padding: 5px 11px; font-size: 12px; }
.pill.lime { background: var(--lime); border-color: var(--lime); color: #151810; font-weight: 600; }
.link { color: var(--lime); padding: 6px 0; background: none; border: 0; font-size: 13px; flex: none; }
#exerciseList, #agendaList { display: grid; gap: 8px; margin-top: 14px; }
.exercise, .agenda-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 10px; border: 1px solid var(--line); border-radius: 15px; }
.exercise { cursor: pointer; }
.exercise-icon { width: 34px; height: 34px; }
.exercise-icon svg { width: 18px; }
.exercise strong, .agenda-row strong { display: block; font-size: 15px; font-weight: 600; }
.exercise .muted { display: block; margin-top: 2px; font-size: 12px; }
.dose { color: var(--lime); font-size: 12px; }
.exercise input { appearance: none; margin: 0; width: 23px; height: 23px; border: 2px solid var(--lime); border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.exercise input:checked { background: var(--lime); color: #161810; }
.exercise input:checked::after { content: "✓"; font-size: 15px; font-weight: 800; }
.exercise:has(input:checked) strong { text-decoration: line-through; color: var(--muted); }
.secondary { width: 100%; margin-top: 16px; padding: 10px; border: 1px solid #55554c; background: none; color: var(--text); border-radius: 12px; font-size: 14px; }
.page-heading { margin: 13px 0 18px; }
.page-heading .muted { margin-top: 4px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(4px, 1.4vw, 9px); }
.day { display: grid; justify-items: center; gap: 2px; padding: 8px 0; border: 1px solid var(--line); background: transparent; border-radius: 11px; }
.day span { font-size: 19px; }
.day small { font-size: 10px; }
.day[aria-pressed="true"] { background: var(--lime); color: #151810; border-color: var(--lime); }
.section-title { margin: 22px 0 9px; }
.agenda-heading { margin-top: 13px; }
#percent, .progress-row span:last-child { color: var(--lime); }
progress { display: block; width: 100%; height: 10px; margin: 12px 0 17px; appearance: none; border: 0; border-radius: 99px; overflow: hidden; background: #111; }
progress::-webkit-progress-bar { background: #111; }
progress::-webkit-progress-value { background: var(--lime); border-radius: 99px; }
progress::-moz-progress-bar { background: var(--lime); border-radius: 99px; }
.progress-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.info, .note { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--muted); font-size: 13px; }
.info b { display: block; }
.info b, .note strong { color: var(--text); }
.note { margin-top: 8px; }
.bottom { position: fixed; inset: auto 0 0; z-index: 1; display: flex; justify-content: center; padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); background: #111; border-top: 1px solid var(--line); }
.bottom button { width: min(33.33%, 180px); min-height: 53px; display: grid; place-content: center; justify-items: center; gap: 3px; background: none; border: 0; color: var(--muted); font-size: 11px; }
.bottom button[aria-current] { color: var(--lime); }
