:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#28372e;background:#f6f2eb;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100dvh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.46}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c47c63;outline-offset:2px}
.shell{max-width:820px;margin:auto;padding:20px 17px 60px}.masthead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:26px;min-height:48px}.brand{display:flex;align-items:center;gap:10px;font-size:17px;letter-spacing:.01em;font-weight:790}.brand-mark{width:40px;height:40px;display:grid;place-items:center;background:#e1e8d9;border-radius:13px;color:#466147;font-size:29px}
h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,serif;font-weight:500}h1{font-size:clamp(32px,5vw,44px);letter-spacing:-.03em;line-height:1.08;margin-bottom:9px}h2{font-size:25px;margin-bottom:13px}h3{font-size:16px;margin-bottom:8px}
p{line-height:1.5}.muted{color:#69766a}.small{font-size:13px}.tiny{font-size:11px}.eyebrow{text-transform:uppercase;color:#71816e;letter-spacing:.15em;font-size:11px;font-weight:750;margin-bottom:9px}
.card{border:1px solid #e6e6dd;background:#fffefa;border-radius:20px;padding:19px;margin-bottom:13px;box-shadow:0 3px 10px #333a3010}.hero{background:#e6ecdf;border:1px solid #d8e2d3;border-radius:24px;padding:25px 23px;margin-bottom:18px;position:relative;overflow:hidden}.hero:after{content:"✳";font-size:140px;position:absolute;right:-22px;top:-49px;color:#d5e0cd;pointer-events:none}.hero>*{position:relative;z-index:1}.wallet{font-size:42px;font-weight:760;letter-spacing:-.04em;margin:6px 0 4px}.hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.hero-stats>div{border-top:1px solid #c8d5c1;padding-top:11px}.progress{height:9px;border-radius:20px;background:#d0dcc8;overflow:hidden;margin:13px 0 6px}.progress span{height:100%;background:#6d8665;border-radius:20px;display:block}
.nav{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:16px 0 23px}.nav button{border:0;border-radius:13px;background:transparent;color:#667669;padding:10px 3px;font-size:11px;font-weight:700;line-height:1.3}.nav button[aria-current="page"]{background:#36503e;color:#fff}.nav button .emoji{display:block;font-size:20px;margin:0 0 5px}
.row{display:flex;justify-content:space-between;gap:12px;align-items:center}.row.start{align-items:flex-start}.row.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:11px}.section{margin-bottom:21px}.section-title{font-size:15px;font-weight:760;letter-spacing:.01em}
.btn{border:0;border-radius:12px;padding:11px 15px;font-size:14px;font-weight:710;text-align:center;display:inline-flex;gap:6px;align-items:center;justify-content:center}.btn.primary{background:#385240;color:white}.btn.soft{background:#e7eee2;color:#385240}.btn.pale{background:#f3f1eb;color:#465c49}.btn.warn{background:#f9ebe5;color:#9a543d}.btn.sm{padding:8px 10px;font-size:12px}
.actions{display:flex;gap:7px;flex-wrap:wrap}.pill{display:inline-block;border-radius:99px;background:#eaf0e7;color:#547052;font-size:11px;padding:5px 10px;font-weight:700}.pill.rose{background:#f7e8e2;color:#955a48}
.task{display:flex;align-items:flex-start;gap:10px;padding:12px 0;border-top:1px solid #eeede6}.task:first-of-type{border-top:0}.task.done .task-name{text-decoration:line-through;color:#879087}.task-check{height:33px;width:33px;border-radius:11px;flex:none;display:grid;place-items:center;border:2px solid #90a08b;background:white;font-size:20px;color:#466348}.task.done .task-check{background:#e5efe2}.task-main{flex:1;min-width:0}.task-name{font-weight:680;overflow-wrap:anywhere;line-height:1.35;margin:2px 0 6px}.task-meta{font-size:12px;color:#768074;line-height:1.5}.task-buttons{display:flex;gap:4px;align-items:center}.minibtn{border:0;border-radius:9px;padding:8px 9px;background:#f3f2ed;color:#556956}.indent{border-left:2px solid #e8e4dc;padding-left:11px}
select,input{width:100%;border-radius:11px;background:#fff;border:1px solid #cdd5ca;color:#26372e;padding:11px;font-size:16px}label.field{font-size:13px;color:#415742;font-weight:720;display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.checkfield{display:flex;gap:9px;align-items:center;font-size:13px;margin-bottom:14px}.checkfield input{width:auto;accent-color:#476449}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:13px 0}.filters select{flex:1;min-width:145px}
.note{background:#faf2e8;border:1px solid #eee0cd;color:#6b6352;border-radius:14px;padding:13px;font-size:13px;line-height:1.5}.empty{border:1px dashed #cdd8c9;border-radius:14px;padding:27px 15px;text-align:center;color:#738071;font-size:14px}.reward{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #eeede6}.reward:first-of-type{border-top:0}.reward-icon{height:44px;width:44px;display:grid;place-items:center;flex:none;background:#f5eae3;border-radius:13px;font-size:23px}.reward-main{flex:1;min-width:0;overflow-wrap:anywhere}.reward-name{font-weight:700}.stats{display:grid;grid-template-columns:1fr 1fr;gap:9px}.stats .card{margin-bottom:0}.stat-num{font-size:23px;font-weight:800;margin-top:5px}
.activity{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:12px 0;border-top:1px solid #eeede6;font-size:13px}.activity:first-of-type{border-top:0}
dialog{background:#fffefa;color:#28372e;border:1px solid #e3e8de;border-radius:22px;padding:0;width:min(94vw,530px);max-height:90dvh;box-shadow:0 20px 80px #26372e55}dialog::backdrop{background:#1a2b20ad}dialog form{padding:21px;max-height:90dvh;overflow:auto}.dialog-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.dialog-title h2{margin:0}
.authbox{max-width:500px;margin:40px auto}.authhead{text-align:center;padding:10px 0 18px}.authhead .brand-mark{margin:0 auto 15px;height:57px;width:57px;font-size:40px}.authhead h1{font-size:33px}
.loading{text-align:center;padding:60px 0;color:#667568}.spinner{width:32px;height:32px;margin:0 auto 16px;border:3px solid #e0e8da;border-top-color:#63805f;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
#toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);max-width:92vw;min-width:170px;background:#294735;color:white;text-align:center;border-radius:13px;padding:12px 15px;box-shadow:0 10px 35px #0002;opacity:0;pointer-events:none;z-index:30;transition:opacity .2s;font-size:13px}#toast.show{opacity:1}footer{text-align:center;color:#849083;font-size:12px;margin-top:24px}
@media(max-width:430px){.shell{padding:16px 12px 60px}.hero{padding:19px}.card{padding:15px}.nav{gap:1px}.nav button{padding:8px 0;font-size:10px}.grid2{gap:8px}.task-buttons{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.spinner{animation:none}*{transition:none!important}}
