:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #243e36; background: #f5f4ef; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 540px; margin: auto; padding: 32px 24px; }
header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.brand { color: inherit; text-decoration: none; font-size: 25px; font-weight: 750; letter-spacing: -1px; }
.brand span { display: inline-grid; place-items: center; background: #e1e7da; border-radius: 10px; height: 34px; width: 34px; font-size: 22px; margin-right: 5px; }
.tag { font-size: 12px; color: #65766d; }
.today { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 11px; font-weight: 700; color: #65766d; }
h1 { font-size: 48px; letter-spacing: -2px; margin: 10px 0; font-weight: 650; }
.subtitle { color: #65766d; font-size: 15px; margin: 0 0 28px; }
.intake { background: #fffefa; border: 1px solid #e2e4db; border-radius: 24px; padding: 28px 26px 16px; box-shadow: 0 8px 28px #253d3505; }
.status { display: inline-block; margin: 0; padding: 7px 12px; background: #eeeee6; border-radius: 30px; font-size: 12px; font-weight: 600; }
.count { font-size: 96px; line-height: 1.1; letter-spacing: -5px; font-weight: 650; margin: 24px 0 0; font-variant-numeric: tabular-nums; }
.denominator { font-size: 36px; letter-spacing: -1px; font-weight: 400; color: #7a877c; }
.count-label { margin: 8px 0 24px; font-size: 14px; color: #65766d; }
.progress { display: flex; gap: 8px; max-width: 220px; margin: auto; }
.progress span { height: 7px; background: #e9ece3; border-radius: 8px; flex: 1; }
.progress .filled { background: #50836a; }
#feedback { min-height: 20px; font-size: 13px; color: #65766d; margin: 18px 0 24px; }
button { font: inherit; cursor: pointer; touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid #a26620; outline-offset: 4px; }
.take { width: 100%; min-height: 58px; background: #294f40; color: white; border: 0; border-radius: 13px; font-size: 16px; font-weight: 600; }
.take span { font-size: 22px; margin-right: 8px; font-weight: 400; }
.take:hover:not(:disabled) { background: #1b3c2e; }
.take:active:not(:disabled) { transform: translateY(1px); }
.take:disabled { cursor: default; background: #e4e9df; color: #576d5e; }
.undo { padding: 14px; border: 0; background: none; color: #617268; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; min-height: 46px; }
.undo:disabled { visibility: hidden; }
.intake.complete { background: #eaf3e6; border-color: #b8d0af; }
.complete .status { background: #d2e5c9; color: #315637; }
.complete .take { background: #d4e5cc; color: #315637; }
.course { margin-top: 32px; }
.course-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
h2 { margin: 0; font-size: 16px; font-weight: 650; }
#course-day { font-size: 12px; color: #65766d; }
.course-dates { font-size: 12px; color: #65766d; margin: 10px 0 18px; }
.days { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 9px; }
.days li { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid #dddfd5; border-radius: 12px; color: #69766b; font-size: 13px; background: #f0f0e8; }
.days .current { outline: 2px solid #375d49; outline-offset: 2px; font-weight: 700; }
.days .done { background: #d1e5c6; color: #315637; border-color: #b9d4ac; }
.legend { color: #65766d; font-size: 11px; margin-top: 18px; }
.legend span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #87ad74; margin-right: 5px; }
footer { margin-top: 36px; text-align: center; font-size: 11px; line-height: 1.8; color: #65766d; }
.error { color: #9a3028; font-size: 14px; line-height: 1.5; }
@media (max-width: 360px) { main { padding: 24px 18px; } .tag { display: none; } .intake { padding-inline: 18px; } .days { gap: 7px; } }
