:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #20302d; background: #f4f5ee; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
.shell { width: min(100%, 740px); margin: auto; padding: 22px 22px 40px; }
.topbar, .brand, .section-heading, .summary, .habit { display: flex; align-items: center; }
.topbar, .section-heading { justify-content: space-between; }
.brand { gap: 9px; font-size: 15px; font-weight: 700; letter-spacing: .03em; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #d9e6ce; color: #335c4d; font-size: 21px; }
.demo-label { border: 1px solid #c6d7cd; border-radius: 999px; padding: 6px 10px; color: #4b685b; font-size: 11px; white-space: nowrap; }
.intro { padding: 55px 0 21px; }
.eyebrow { margin: 0 0 11px; color: #638174; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
h1 { margin: 0; font-size: clamp(30px, 7vw, 45px); line-height: 1.2; letter-spacing: -.045em; }
.date { margin: 17px 0 0; color: #65736f; font-size: 14px; }
.notice { padding: 12px 15px; border-radius: 13px; background: #e2eee5; color: #285442; font-size: 13px; }
.notice[data-health=stale] { background: #fff0d8; color: #81571c; }
.notice[data-health=unavailable] { background: #f8e8e3; color: #9d4737; }
.summary { justify-content: space-between; margin: 18px 0 32px; padding: 27px; border-radius: 23px; background: #fff; box-shadow: 0 8px 35px #32564610; }
.score { margin: 0; color: #62706a; font-size: 20px; }
.score strong { color: #254f41; font-size: 69px; line-height: 1; letter-spacing: -.08em; }
.score-label { margin: 10px 0 0; font-size: 13px; color: #53665d; }
.streak { width: 115px; height: 115px; border-radius: 50%; background: #e9f2e7; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #345b49; text-align: center; }
.streak strong { font-size: 34px; line-height: 1; }
.streak span { margin-top: 9px; font-size: 11px; }
.section-heading h2 { margin: 0; font-size: 19px; }
.section-heading span { color: #799083; font-size: 12px; }
.habits { list-style: none; padding: 0; margin: 15px 0 25px; display: grid; gap: 9px; }
.habit { gap: 15px; padding: 14px 17px; border: 1px solid #e1e7dd; border-radius: 15px; background: #fff; }
.habit-symbol { width: 36px; height: 36px; display: grid; place-items: center; flex: none; border-radius: 11px; background: #eff1ec; color: #8c9991; font-size: 24px; }
.habit.done .habit-symbol { background: #dbeddf; color: #2e7655; font-size: 19px; }
.habit strong, .habit small { display: block; }
.habit strong { font-size: 14px; }
.habit small { margin-top: 4px; color: #87938a; font-size: 12px; }
.quote-card { padding: 23px 24px; border-radius: 19px; background: #e9ede4; }
blockquote { margin: 0; font-size: 17px; line-height: 1.65; }
.quote-credit { margin: 9px 0 0; color: #708076; font-size: 12px; }
.source { margin-top: 24px; color: #77877c; font-size: 11px; line-height: 1.5; }
@media (max-width: 480px) { .shell { padding: 18px 16px 34px; } .intro { padding-top: 43px; } .summary { padding: 20px; } .streak { width: 97px; height: 97px; } .score strong { font-size: 61px; } }
.login-shell { min-height: 100vh; }
.login-card { margin-top: 72px; padding: 32px; border-radius: 23px; background: #fff; box-shadow: 0 8px 35px #32564610; }
.login-card h1 { font-size: clamp(30px, 7vw, 42px); }
.login-copy { color: #62736a; font-size: 14px; line-height: 1.7; }
.login-card form { margin-top: 24px; }
.login-card label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
.login-card input { width: 100%; padding: 13px 14px; border: 1px solid #b7c8bc; border-radius: 10px; font: inherit; }
.primary-button { margin-top: 18px; width: 100%; border: 0; border-radius: 11px; padding: 14px 18px; background: #315c49; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.primary-button:disabled { opacity: .5; cursor: wait; }
.text-button { border: 0; padding: 10px 0; background: transparent; color: #315c49; font: inherit; font-size: 13px; cursor: pointer; }
.login-message { min-height: 1.5em; color: #81571c; font-size: 13px; }
.recovery-panel { margin-top: 25px; padding: 18px; border-radius: 14px; background: #e9f2e7; }
.recovery-panel h2 { margin: 0; font-size: 17px; }
.recovery-panel p { font-size: 13px; line-height: 1.5; }
.recovery-panel pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.8; }
@media (max-width: 480px) { .login-card { margin-top: 55px; padding: 24px; } }
