:root{font-family:Arial,Helvetica,sans-serif;color:#24302b;background:#f8f7f3;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
.app-shell{min-height:100vh;display:flex}
.sidebar{width:250px;flex:none;background:#fff;border-right:1px solid #e8e9e4;padding:31px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}
.brand{display:flex;align-items:center;gap:11px;font:800 24px Arial,sans-serif;letter-spacing:-1.5px;padding:0 10px}
.brand-mark{display:grid;place-items:center;width:33px;height:33px;background:#d8f58c;color:#1b3329;border-radius:11px;font-size:25px;line-height:1}
.brand-accent{color:#6c8c45}
.sidebar-label,.eyebrow{font-size:10px;font-weight:800;letter-spacing:2.1px;color:#87928c}
.sidebar-label{margin:63px 13px 19px}
.nav-list{display:grid;gap:7px}
.nav-link{display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:11px;color:#68736d;font-size:14px;font-weight:700}
.nav-link:hover,.nav-link.active{background:#eaf5d7;color:#253b29}
.nav-icon{font-size:20px;line-height:1;width:23px;text-align:center;font-weight:500}
.sidebar-bottom{margin-top:auto;border-top:1px solid #eef0ea;padding:22px 13px 0;color:#50675b;font-size:12px;font-weight:700;line-height:1.8}
.sidebar-bottom small{font-weight:400;color:#99a39d}
.privacy-dot{display:inline-block;background:#90c96e;width:7px;height:7px;border-radius:50%;margin-right:7px}
.main-content{min-width:0;flex:1;max-width:1490px;margin:auto;padding:0 48px}
.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8e9e3}
.today-date,.section-date{color:#839088;font-size:13px;font-weight:600}
.page{padding:34px 0 65px}
.page[hidden]{display:none}
.hero{min-height:310px;background:#1d3029;border-radius:20px;overflow:hidden;display:flex;position:relative;color:#fff}
.hero-copy{z-index:1;padding:36px 44px;max-width:575px}
.hero-kicker{color:#d5f47a;font-size:10px;font-weight:800;letter-spacing:2.1px}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:Arial,Helvetica,sans-serif}
h1{font-size:clamp(39px,4.5vw,62px);letter-spacing:-3px;line-height:1.12;margin:15px 0}
h1 em{font-style:normal;color:#d5f47a}
.hero p{max-width:390px;color:#bbcbc0;font-size:14px;line-height:1.75;margin-bottom:22px}
.button{border:0;border-radius:10px;padding:13px 18px;display:inline-flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;font-weight:800}
.button-light{background:#d8f58c;color:#22362b}
.button:hover{filter:brightness(.96)}
.button-primary{background:#203a2e;color:white;width:100%;margin-top:7px}
.hero-art{position:absolute;right:0;top:0;width:47%;height:100%;overflow:hidden}
.orb{position:absolute;border-radius:50%;border:1px solid rgba(213,244,122,.26)}
.orb-one{height:440px;width:440px;right:-60px;top:-65px;background:radial-gradient(circle at 38% 37%,#7eab75 0%,#4c7657 31%,#284839 61%,#1d3029 76%);box-shadow:0 0 60px #83b27733}
.orb-two{height:280px;width:280px;right:40px;top:14px;border:1px solid #bde29d55}
.orb-three{height:150px;width:150px;right:106px;top:81px;border:1px solid #bde29d55}
.hero-spark{position:absolute;color:#d5f47a;font-size:90px;right:136px;top:93px;line-height:1}
.section-heading{display:flex;justify-content:space-between;align-items:end;margin:32px 0 17px}
.section-heading h2,.list-heading h2{font-size:23px;letter-spacing:-.8px;margin:5px 0 0}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}
.stat-card{background:#fff;border:1px solid #e9ece6;border-radius:15px;text-align:left;min-height:180px;padding:20px;display:flex;flex-direction:column;color:#24302b;box-shadow:0 7px 20px #31493605}
.stat-card:hover{border-color:#bfdc9e;transform:translateY(-2px)}
.stat-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-size:22px;margin-bottom:12px}
.fitness-icon{background:#e8f5d4;color:#5d8c42}
.mood-icon{background:#fceee7;color:#d88767}
.task-icon{background:#e6ecfa;color:#738dc4}
.stat-label{font-size:10px;letter-spacing:1.6px;color:#919c96;font-weight:800}
.stat-card strong{font:800 31px Arial,sans-serif;letter-spacing:-1px;margin:2px 0 4px}
.stat-card strong small,.summary-panel strong small{font-size:15px;color:#a3aca4;font-weight:700}
.stat-foot{color:#919e95;font-size:12px;margin-top:auto;display:flex;justify-content:space-between}
.stat-foot b{font-size:17px;color:#667d69}
.overview-grid,.content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,1fr);gap:17px;margin-top:22px}
.panel{background:#fff;border:1px solid #e9ece6;border-radius:16px;padding:26px}
.panel h3{font-size:20px;letter-spacing:-.6px;margin:5px 0 0}
.panel-heading{display:flex;justify-content:space-between}
.chart-legend{display:flex;gap:17px;color:#929c96;font-size:11px;margin:19px 0 4px}
.legend-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px}
.movement-dot{background:#a4c777}
.mood-dot{background:#e6aa84}
.week-chart,.mini-chart{display:grid;grid-template-columns:repeat(7,1fr);height:110px;gap:12px;align-items:end}
.chart-day{height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:5px;color:#9ba59e;font-size:10px}
.bar-pair{height:82px;display:flex;align-items:end;gap:4px}
.bar{width:13px;min-height:3px;border-radius:5px 5px 2px 2px;background:#dbe9c5}
.bar.mood-bar{background:#f2d5be}
.bar.has-data{background:#a4c777}
.bar.mood-bar.has-data{background:#e6aa84}
.prompts-panel{background:#eaf3e4;display:flex;flex-direction:column;align-items:start}
.prompts-panel h3{font-size:25px;line-height:1.3;margin:18px 0 10px;max-width:210px}
.prompts-panel p,.summary-panel p{font-size:13px;line-height:1.7;color:#78877b;max-width:300px}
.prompt-actions{margin-top:auto;display:grid;width:100%;gap:8px}
.prompt-actions button{border:1px solid #d3e5c9;background:#fff;border-radius:9px;padding:10px 13px;text-align:left;color:#385040;font-weight:700;font-size:12px}
.prompt-actions span{font-size:16px;margin-right:8px}
.page-intro{padding:12px 0 22px}
.page-intro h1{font-size:clamp(38px,4vw,53px);margin:11px 0}
.page-intro h1 em{color:#86ab63}
.page-intro p{color:#829088;font-size:14px;line-height:1.7;max-width:500px}
.content-grid{margin-top:8px;align-items:stretch}
.form-panel h2,.summary-panel h2{font-size:23px;letter-spacing:-.7px;margin:8px 0 24px}
.form-panel form{display:grid;gap:17px}
.form-panel label,.mood-fieldset legend{color:#495b50;font-size:12px;font-weight:800}
.form-panel label small{color:#a4afa6;font-weight:500}
.form-panel input:not([type=range]):not([type=radio]),.form-panel select,.form-panel textarea{display:block;width:100%;background:#fafbf8;border:1px solid #e2e9df;border-radius:9px;padding:12px 13px;margin-top:7px;color:#26392d;outline:none}
.form-panel input:focus,.form-panel select:focus,.form-panel textarea:focus{border-color:#8aa96c}
.form-panel textarea{resize:vertical}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.summary-panel{background:#f0f5e9}
.summary-panel strong{display:block;font:800 46px Arial,sans-serif;letter-spacing:-2px;color:#28422e;margin:40px 0 0}
.summary-panel p{margin:7px 0 25px}
.mini-chart{height:105px;margin-top:40px}
.mini-chart .bar{width:25px}
.mood-summary{background:#faeee7}
.mood-summary h2{max-width:280px;margin:33px 0 15px;font-size:31px;line-height:1.25}
.mood-summary p{color:#9f8271}
.reflection-note{margin-top:55px;border-top:1px solid #ead5c8;padding-top:18px;font-size:12px;font-weight:700;color:#b38367}
.task-summary{background:#e9eff9}
.task-summary strong{color:#394d76}
.progress-track{background:#d3def0;height:10px;border-radius:10px;margin-top:17px;overflow:hidden}
.progress-track>div{height:100%;background:#8aa9dc;border-radius:10px;transition:width .2s}
.mood-fieldset{border:0;padding:0;margin:0}
.mood-options{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-top:10px}
.mood-options label{cursor:pointer}
.mood-options input{position:absolute;opacity:0}
.mood-options span{display:flex;flex-direction:column;align-items:center;gap:4px;border:1px solid #e7eae5;background:#fafbf8;border-radius:10px;padding:10px 2px;font-size:10px}
.mood-options b{font-size:23px;color:#97aa85}
.mood-options input:checked+span{background:#e8f4d8;border-color:#8eaf6c;color:#355234}
.mood-options input:focus-visible+span{outline:2px solid #243d2d;outline-offset:2px}
input[type=range]{width:100%;accent-color:#89ae68;margin-top:15px}
.form-row label span{float:right;color:#899989}
.list-heading{display:flex;align-items:center;justify-content:space-between;margin:32px 0 15px}
.list-heading span{font-size:12px;color:#9aa69c}
.entry-list{display:grid;gap:9px}
.entry{display:flex;align-items:center;gap:15px;border:1px solid #e8ece5;background:#fff;border-radius:12px;padding:15px 18px}
.entry-symbol{width:37px;height:37px;flex:none;display:grid;place-items:center;border-radius:10px;background:#ecf5dd;color:#658e4d;font-size:20px}
.entry-symbol.mood-symbol{background:#fceee7;color:#c3886d}
.entry-main{min-width:0;flex:1}
.entry-main strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.entry-main small{color:#9aa79b;font-size:11px}
.entry-note{color:#738176;font-size:12px;margin:5px 0 0;overflow-wrap:anywhere}
.entry-side{font-size:11px;color:#9aa79b;white-space:nowrap}
.delete-button{border:0;background:transparent;color:#aab5ac;padding:5px 8px;font-size:17px}
.delete-button:hover{color:#c75757}
.task-check{appearance:none;width:22px;height:22px;border:2px solid #b4c6a8;border-radius:7px;cursor:pointer;flex:none}
.task-check:checked{background:#7eab67;border-color:#7eab67}
.task-check:checked:after{content:'✓';color:#fff;display:block;text-align:center;line-height:18px;font-size:15px}
.entry.done .entry-main strong{text-decoration:line-through;color:#a1aba3}
.empty{border:1px dashed #dce5d8;border-radius:12px;padding:30px;text-align:center;color:#97a49a;background:#fff;font-size:13px}
.footer{border-top:1px solid #e8e9e3;padding:21px 0;color:#adb5ae;font-size:11px}
.footer span{color:#9cbc73}
.mobile-nav{display:none}
.toast{position:fixed;bottom:22px;right:25px;padding:11px 18px;background:#203a2e;color:#fff;border-radius:10px;font-size:12px;box-shadow:0 10px 30px #203a2e33;opacity:0;transform:translateY(12px);pointer-events:none;transition:.2s;z-index:10}
.toast.show{opacity:1;transform:translateY(0)}

@media(max-width:1000px){.sidebar{width:205px}
.main-content{padding:0 28px}
.hero-art{width:40%}
.hero-copy{padding:35px}
.overview-grid,.content-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:760px){.sidebar{display:none}
.main-content{padding:0 18px;width:100%}
.topbar{height:58px}
.page{padding:22px 0 95px}
.hero{min-height:325px}
.hero-copy{padding:32px 25px}
.hero-art{opacity:.4;width:70%;right:-22%}
.hero p{max-width:270px}
.section-heading{margin-top:27px}
.stat-grid{gap:9px}
.stat-card{padding:12px;min-height:155px}
.stat-icon{width:30px;height:30px;font-size:18px}
.stat-label{font-size:8px;letter-spacing:1px}
.stat-card strong{font-size:24px}
.stat-card strong small{font-size:11px}
.stat-foot{font-size:10px}
.overview-grid,.content-grid{grid-template-columns:1fr}
.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid #e4e8e1;padding:7px 8px calc(7px + env(safe-area-inset-bottom));z-index:5}
.mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:2px;color:#9ca89e;font-size:10px;font-weight:700;padding:3px}
.mobile-nav a span{font-size:20px}
.mobile-nav a.active{color:#466c42}
.footer{margin-bottom:10px}
.toast{bottom:80px;right:15px}
.section-date{display:none}
}

@media(max-width:420px){.stat-grid{grid-template-columns:1fr 1fr}
.stat-card:last-child{grid-column:span 2;min-height:105px}
.stat-card:last-child .stat-icon{display:none}
.stat-card:last-child strong{margin-top:8px}
.form-row{grid-template-columns:1fr}
.mood-options{gap:3px}
.mood-options span{font-size:9px}
.entry-side{display:none}
}

.app-shell[hidden],.auth-gate[hidden],#setup-token-label[hidden],#confirm-label[hidden]{display:none}
.topbar-right{display:flex;align-items:center;gap:17px}
.sync-status{font-size:11px;color:#6f9b5e;font-weight:700}
.sign-out{border:0;background:none;color:#7e8b80;font-size:11px;font-weight:700;padding:7px;cursor:pointer}
.sign-out:hover{text-decoration:underline;color:#2e5036}
.auth-gate{min-height:100vh;display:grid;place-items:center;padding:22px;background:radial-gradient(circle at 70% 16%,#e2f2d1 0%,#f8f7f3 45%)}
.auth-card{width:min(100%,420px);background:#fff;border:1px solid #e5e9e1;border-radius:20px;box-shadow:0 24px 80px #203a2e13;padding:35px}
.auth-card>.brand-mark{margin-bottom:27px}
.auth-card h1{font-size:43px;margin:14px 0}
.auth-card h1 em{color:#88ad65}
.auth-card>p{font-size:13px;line-height:1.7;color:#869289}
.auth-card form{display:grid;gap:14px;margin:27px 0 17px}
.auth-card label{font-size:12px;font-weight:800;color:#445c49}
.auth-card input{display:block;width:100%;margin-top:7px;padding:13px;border:1px solid #dce6da;border-radius:9px;outline:none}
.auth-card input:focus{border-color:#8eaf6c}
.auth-card small{color:#9da99f;font-size:11px;line-height:1.6}
.auth-error{color:#ad4040;font-size:12px;line-height:1.5;margin:0}
@media(max-width:760px){.topbar-right{gap:7px}.topbar .eyebrow{font-size:8px;letter-spacing:1px}.today-date{display:none}.sync-status,.sign-out{font-size:10px}}
