@import url('/fonts.css');
:root{--paper:#f8f5ec;--ink:#283c31;--muted:#6d776c;--green:#425b3a;--lime:#e8edc8;--line:#dfe2d3;--peach:#f8e4d3;--white:#fffef9}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:15px}button,input,select{font:inherit}button{cursor:pointer}button,a,input,select{touch-action:manipulation}button{border:0;color:inherit;background:none}a{color:var(--green)}button:focus-visible,a:focus-visible{outline:3px solid #b7653f;outline-offset:4px}button:disabled{cursor:default;opacity:.5}button:hover:not(:disabled){filter:brightness(.96)}.shell{max-width:1200px;margin:auto;padding:0 42px 60px}.topbar{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;font-family:Manrope,sans-serif;font-size:23px;font-weight:800;letter-spacing:-1px}.brand img{width:39px;height:39px;border-radius:12px}.brand span:last-child{color:#768269}.nav{display:flex;gap:8px;background:#edeedf;padding:5px;border-radius:40px}.nav button{padding:11px 24px;border-radius:30px;font-weight:600;font-size:14px}.nav button.active{background:var(--white);box-shadow:0 2px 5px #2d40200c}.profile{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600}.avatar{display:inline-flex;align-items:center;justify-content:center;width:41px;height:41px;border-radius:50%;background:#e5e9cf;font-size:21px;border:3px solid var(--paper)}.avatar.peach{background:var(--peach)}.eyebrow{text-transform:uppercase;font-weight:650;letter-spacing:2px;font-size:10px;color:var(--muted)}.intro{display:flex;align-items:flex-end;justify-content:space-between;margin:39px 0 30px}.intro h1{font:650 37px/1.2 Manrope,sans-serif;letter-spacing:-1.5px;margin:9px 0 10px}.intro p{color:var(--muted);margin:0;line-height:1.6}.tag{border:1px solid var(--line);border-radius:30px;padding:9px 14px;font-size:12px;display:inline-flex;gap:7px;align-items:center}.grid{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(300px,1fr);gap:26px}.hero{background:var(--lime);border-radius:25px;padding:30px;position:relative;min-height:217px;overflow:hidden}.hero h2{font:650 28px/1.25 Manrope,sans-serif;letter-spacing:-1px;margin:13px 0 10px;max-width:320px}.hero p{max-width:300px;color:#58634b;font-size:13px;line-height:1.6}.hero .art{position:absolute;right:14px;bottom:-8px;width:180px;opacity:.95}.pill{display:inline-block;border-radius:30px;padding:7px 11px;background:#ffffff80;font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:700}.progress{height:7px;border-radius:8px;background:#cad1ae;overflow:hidden;margin-top:23px;max-width:60%}.progress i{display:block;background:var(--green);height:100%;border-radius:8px}.progress.full{max-width:none;margin:14px 0}.sectionline{display:flex;align-items:center;justify-content:space-between;margin:30px 0 15px}.sectionline h2{font:700 19px Manrope,sans-serif;letter-spacing:-.5px;margin:0}.textbtn{font-size:12px;color:var(--green);font-weight:600;padding:8px}.habit{background:var(--white);border:1px solid var(--line);border-radius:20px;margin:12px 0;padding:20px;display:grid;grid-template-columns:48px 1fr auto;gap:15px;align-items:center}.habit.done{background:#f0f3e5}.habiticon{width:48px;height:48px;border-radius:15px;background:#eeedde;font-size:23px;display:flex;align-items:center;justify-content:center}.habit:nth-of-type(2) .habiticon{background:#f4e5dc}.habit h3{margin:0 0 5px;font-size:16px;font-weight:650}.habit p{font-size:12px;margin:0;color:var(--muted);line-height:1.5}.habit .tiny{margin-top:7px;color:#526445}.check{border:1.5px solid #cdd4c0;border-radius:50%;height:38px;width:38px;font-size:21px;background:var(--white)}.done .check{background:var(--green);border-color:var(--green);color:white}.habitfoot{grid-column:2 / 4;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);border-top:1px solid #eff0e6;padding-top:10px}.dots{display:flex;gap:4px}.dots i{width:6px;height:6px;border-radius:50%;background:#d8decc}.dots i.on{background:#71835b}.card{border:1px solid var(--line);background:var(--white);border-radius:23px;padding:25px;margin-bottom:21px}.card h2{font:700 18px Manrope,sans-serif;margin:10px 0}.card p{color:var(--muted);font-size:13px;line-height:1.65}.cardhead{display:flex;justify-content:space-between;align-items:center}.cardhead .eyebrow{font-size:9px}.partnerline{display:flex;align-items:center;gap:10px;margin:18px 0 12px}.partnerline strong{font-size:14px}.partnerline small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.subtle{background:#f4f3e9;border-radius:12px;padding:13px;font-size:12px;line-height:1.6;color:#6b745f}.primary{background:var(--green);color:#fffef6;border-radius:13px;padding:13px 18px;font-weight:600;font-size:13px;min-height:44px}.secondary{border:1px solid #cad2bd;border-radius:13px;padding:12px 18px;font-weight:600;font-size:13px;min-height:44px}.wide{width:100%}.rewardpreview{background:var(--peach);border:0;position:relative;overflow:hidden}.rewardpreview .flower{font-size:70px;position:absolute;right:20px;top:35px;color:#ba784a;transform:rotate(15deg)}.rewardpreview p{max-width:190px}.footnote{font-size:11px;color:var(--muted);text-align:center;margin:32px 0 0;line-height:1.7}.balance{font:650 42px Manrope,sans-serif;letter-spacing:-2px}.rewardgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.rewardcard{display:flex;flex-direction:column;min-height:230px}.rewardcard .rewardemoji{font-size:30px}.rewardcard button{margin-top:auto}.rewardcard .price{font-size:12px;font-weight:650;color:#8b633e;margin-bottom:15px}.listrow{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line);gap:15px}.listrow:last-child{border-bottom:0}.empty{padding:23px;text-align:center;color:var(--muted);line-height:1.7}.auth{min-height:100svh;display:grid;grid-template-columns:1.1fr 1fr;max-width:1100px;margin:auto;align-items:center;padding:50px;gap:70px}.auth h1{font:650 58px/1.08 Manrope,sans-serif;letter-spacing:-3px;margin:32px 0 20px}.auth p{line-height:1.7;color:var(--muted)}.auth .art{width:250px;display:block;margin:25px auto 0}.authpanel{background:var(--white);padding:30px;border:1px solid var(--line);border-radius:26px}.tabs{display:flex;gap:5px;background:#efeee5;border-radius:12px;padding:4px;margin-bottom:24px}.tabs button{flex:1;padding:10px 6px;border-radius:9px;font-size:12px}.tabs .active{background:white;font-weight:650}label{font-size:12px;font-weight:600;display:block;margin:17px 0 7px}input,select{display:block;width:100%;padding:12px;border:1px solid #d9ddcd;border-radius:11px;background:#fffef9;color:var(--ink);min-height:45px}input:focus,select:focus{outline:2px solid #819764;outline-offset:1px}input[type=checkbox]{display:inline;width:auto;min-height:0}.formrow{display:grid;grid-template-columns:1fr 90px;gap:12px}.authpanel .primary{margin-top:24px}.error{color:#9b3a2f;font-size:13px;line-height:1.5}.small{font-size:11px!important}.authhint{text-align:center;margin:16px 0 0}.landingnote{display:flex;gap:14px;align-items:center;font-size:12px;color:#59674e}.leaf{font-size:27px}.loading{text-align:center;padding:30vh 20px}.banner{padding:13px 20px;background:#f5dfc6;color:#684b2d;border-radius:12px;margin-top:20px;font-size:12px}dialog{border:1px solid var(--line);border-radius:23px;background:var(--paper);color:var(--ink);padding:28px;width:min(440px,calc(100% - 28px));max-height:90svh}dialog::backdrop{background:#24362a66;backdrop-filter:blur(4px)}dialog h2{font:700 24px Manrope,sans-serif;letter-spacing:-.7px;margin:5px 0 12px}dialog p{color:var(--muted);line-height:1.65;font-size:13px}.modalhead{display:flex;align-items:center;justify-content:space-between}.close{width:36px;height:36px;border-radius:50%;background:#e8e9db;font-size:20px}.actions{display:flex;gap:10px;margin-top:23px}.actions>*{flex:1}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(100px);background:var(--ink);color:white;padding:14px 23px;border-radius:30px;z-index:20;opacity:0;transition:.25s;max-width:90%;text-align:center;font-size:13px}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.settingsgrid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.source{display:block;margin:12px 0;font-size:12px}.copycode{font:700 20px monospace;letter-spacing:2px;overflow-wrap:anywhere;background:#edf0dc;padding:15px;border-radius:12px}.muted{color:var(--muted)}.mini{font-size:11px}.spark{color:#a17545}.mobilelabel{display:none}@media(min-width:1000px){.hero h2{max-width:65%}}@media(max-width:800px){.shell{padding:0 22px 105px}.topbar{height:79px}.brand{font-size:21px}.nav{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:9;box-shadow:0 6px 28px #31452b26;border:1px solid #d7dcc7;background:#eeefdf;gap:0;width:calc(100% - 40px);max-width:420px;justify-content:space-around;padding:6px}.nav button{padding:13px 16px;flex:1}.profile .profilename{display:none}.intro{margin:28px 0 24px}.intro h1{font-size:29px}.intro>.tag{display:none}.grid{grid-template-columns:1fr;gap:18px}.hero{min-height:211px;padding:24px}.hero h2{font-size:27px;max-width:65%}.hero p{max-width:63%}.hero .art{width:150px;right:0}.card{padding:23px}.sectionline{margin-top:26px}.habit{padding:16px;gap:11px;grid-template-columns:43px 1fr auto}.habiticon{width:43px;height:43px}.rewardgrid{grid-template-columns:1fr 1fr}.settingsgrid{grid-template-columns:1fr}.auth{padding:25px 22px 50px;display:block;max-width:550px}.auth h1{font-size:40px;letter-spacing:-2px;margin:25px 0 15px}.auth .art{display:none}.authpanel{padding:22px;margin-top:25px}.landingnote{margin-top:20px}.footnote{margin-top:20px}#toast{bottom:95px}.rewardpreview .flower{right:35px}}@media(max-width:400px){.hero .art{width:130px}.hero h2{font-size:25px}.hero p{font-size:12px}.rewardgrid{grid-template-columns:1fr}.habit h3{font-size:15px}.shell{padding-left:16px;padding-right:16px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

@media(max-width:800px){.hero h2{max-width:100%;font-size:25px}.hero p{max-width:70%}.hero .art{width:118px}.check{min-width:44px;min-height:44px}}
/* Nature is a setting, not a scoring system. */
.landscape{position:relative;overflow:hidden;border-radius:18px;isolation:isolate}.landscape svg{display:block;width:100%;height:100%;min-height:170px}.hero{background:#dbe7da;padding-bottom:210px;min-height:365px}.hero>.landscape{position:absolute;inset:auto 0 0;height:220px;border-radius:0;z-index:0}.hero>h2,.hero>p,.hero>.pill,.hero>.progress{position:relative;z-index:1}.hero h2{max-width:100%;font-size:30px;line-height:1.2}.hero p{max-width:100%;margin-bottom:0}.hero .progress{max-width:60%;margin-top:16px}.hero::after{content:'';position:absolute;inset:0 0 auto;height:55%;background:linear-gradient(#e7ecd7,#e7ecd700);pointer-events:none}.hero>h2,.hero>p,.hero>.pill,.hero>.progress{z-index:2}.auth .landscape-large{margin:28px 0 22px;height:215px;width:100%;border-radius:22px}.nature-auth{gap:55px;max-width:1190px}.auth h1{font-size:46px;line-height:1.14;letter-spacing:-2px}.authpanel h2{font:700 25px/1.3 Manrope,sans-serif;letter-spacing:-.8px;margin:12px 0}.authpanel>p{font-size:13px}.authlinks{display:flex;flex-direction:column;align-items:center;margin-top:10px}.identitychoices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.identitychoices label{display:flex;gap:10px;align-items:center;background:#f5f4e9;border:1px solid var(--line);border-radius:14px;padding:16px 12px;margin:0;font-size:15px;position:relative;cursor:pointer}.identitychoices input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.identitychoices label:has(input:checked){background:#e1e9ce;border:2px solid #5b7754;padding:15px 11px}.identitychoices label:has(input:focus-visible){outline:3px solid #b7653f;outline-offset:3px}.identitymark{background:#e1e7ce;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:700}.identitychoices label:last-child .identitymark{background:#f0d7c6}.scenechoices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.scenechoices label{border:2px solid transparent;position:relative;background:#f2f1e5;border-radius:15px;padding:5px;cursor:pointer;margin:0}.scenechoices label:has(input:checked){border-color:#607e5b}.scenechoices input{position:absolute;top:12px;left:12px;width:17px;height:17px;min-height:0;z-index:2;accent-color:#466a54}.scenechoices .landscape{height:100px;border-radius:9px}.scenechoices .landscape svg{min-height:100px}.scenechoices strong,.scenechoices small{display:block;margin:9px 6px}.scenechoices small{font-weight:400;font-size:10px;line-height:1.5;color:var(--muted)}.starterdetails{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.starterdetails summary{font-size:12px;cursor:pointer;color:var(--green)}.commitment{padding:18px;background:#e6ecd8;border-radius:12px;font-size:17px!important;color:var(--ink)!important;font-weight:600}.habitideas{display:flex;align-items:center;flex-wrap:wrap;margin:15px 0 0;gap:4px}.privatecode{font-size:15px;letter-spacing:.5px}.wave{animation:tide 9s ease-in-out infinite;transform-origin:center}.wave-front{animation-duration:12s;animation-delay:-4s}.surfer{animation:bob 6s ease-in-out infinite;transform-origin:656px 245px}.birds{animation:drift 16s ease-in-out infinite}.tree-sway{animation:sway 11s ease-in-out infinite;transform-origin:710px 300px}.fireflies{animation:glow 5s ease-in-out infinite}.sun{animation:glow 12s ease-in-out infinite}.check{transition:transform .2s,background .2s}.done .check{animation:win-pop .38s ease-out}.habit{transition:background .25s}.avatar{font-size:16px;font-family:Manrope,sans-serif;font-weight:700}.settingsgrid>.card{align-self:start}@keyframes tide{0%,100%{transform:translate(-9px,2px)}50%{transform:translate(9px,-3px)}}@keyframes bob{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(4px) rotate(2deg)}}@keyframes drift{0%,100%{transform:translate(0,0)}50%{transform:translate(16px,-5px)}}@keyframes sway{0%,100%{transform:rotate(-.7deg)}50%{transform:rotate(.7deg)}}@keyframes glow{0%,100%{opacity:.7}50%{opacity:1}}@keyframes win-pop{0%{transform:scale(.85)}60%{transform:scale(1.14)}100%{transform:scale(1)}}@media(max-width:800px){.auth h1{font-size:35px;margin:22px 0 14px}.auth .landscape-large{height:145px;margin:20px 0}.auth .landscape svg{min-height:145px}.authstory>.eyebrow{margin-top:25px!important}.authstory>.landingnote{display:none}.authpanel{margin-top:20px}.hero{min-height:318px;padding-bottom:160px}.hero>.landscape{height:180px}.hero h2{font-size:27px}.hero p{font-size:12px}.hero .progress{margin-top:15px}.intro p{font-size:13px}.authpanel h2{font-size:23px}.scenechoices{gap:8px}}@media(prefers-reduced-motion:reduce){.wave,.surfer,.birds,.tree-sway,.fireflies,.sun,.done .check{animation:none!important}} 
#toast{pointer-events:none}

/* Readable details and comfortable controls on both phones. */
input:not([type=radio]):not([type=checkbox]),select{font-size:16px}
.textbtn,.profile,.close,.check,.nav button{min-width:44px;min-height:44px}
.close{width:44px;height:44px;flex-shrink:0}
.source{min-height:44px;display:flex;align-items:center}
.starterdetails summary{min-height:44px;line-height:20px;padding:12px 0}
label:has(input[type=checkbox]){min-height:44px;display:flex;align-items:center;gap:10px}
.habit p{font-size:14px}
.habitfoot,.mini,.partnerline small,.scenechoices small{font-size:12px}
.small{font-size:12px!important}
.habitfoot{gap:12px}
.habit>div:nth-child(2){min-width:0}
.habit h3,.habit p,.rewardcard h2{overflow-wrap:anywhere}
.balance,.tag,.habitfoot,.price,.listrow>.mini{font-variant-numeric:tabular-nums}
@media(max-width:800px){
  .shell{padding-top:env(safe-area-inset-top);padding-bottom:calc(110px + env(safe-area-inset-bottom))}
  .auth{padding-top:calc(25px + env(safe-area-inset-top));padding-bottom:calc(50px + env(safe-area-inset-bottom))}
  .nav{bottom:calc(18px + env(safe-area-inset-bottom))}
  #toast{bottom:calc(95px + env(safe-area-inset-bottom))}
  dialog{max-height:calc(100svh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 28px)}
}

/* Connect daily actions to purpose; calm, readable weekly standings. */
.hero h2{overflow-wrap:anywhere}.direction-link{position:relative;z-index:2;margin:0 0 12px;text-decoration:underline;text-underline-offset:4px}.habit-purpose{color:var(--ink,#294437);font-weight:500}.ranking{list-style:none;margin:20px 0;padding:0}.ranking-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:20px 0;border-bottom:1px solid #dce0d1}.rank{font-size:20px;font-weight:700;color:#647457}.rank-person{min-width:0;display:flex;flex-direction:column;gap:5px}.rank-person strong,.rank-person small{overflow-wrap:anywhere}.rank-person span,.rank-person small{font-size:14px;color:#62705d}.rank-score{font-size:28px;letter-spacing:-1px;color:#405e35}.leading .rank{color:#405e35}.leaderboard-wait{padding:18px 0;line-height:1.6}.competition-toggle{display:flex;align-items:center;gap:10px;min-height:44px}.competition-toggle input{width:20px;height:20px}.leaderboard{margin-top:20px}@media(max-width:400px){.ranking-row{gap:8px;grid-template-columns:26px minmax(0,1fr) auto}.rank-score{font-size:24px}}

.suggestion-preview{margin-top:28px}.suggestion-preview>p{font-size:14px;color:#62705d}.suggestion-shortlist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.suggestion-teaser{display:flex;flex-direction:column;gap:8px;text-align:left;background:#eeefdf;border:1px solid #dce0d1;border-radius:16px;padding:16px;color:#294437;min-height:100px}.suggestion-teaser span{font-size:14px;line-height:1.5}.habit-filters{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.habit-filters button{padding:8px 12px;min-height:44px}.habit-filters [aria-pressed=true]{background:#405e35;color:#fff}.suggestion-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.suggestion-option{display:flex;flex-direction:column;text-align:left;gap:9px;border:1px solid #dce0d1;border-radius:16px;padding:18px;background:#f8f7ee;color:#294437;line-height:1.5}.suggestion-option strong{font-size:18px}.suggestion-option>span:not(.eyebrow){font-size:14px}.suggestion-option small{font-size:14px;color:#62705d}.suggestion-action{font-weight:700;margin-top:auto;padding-top:6px}.suggestion-option:hover,.suggestion-teaser:hover{border-color:#405e35;background:#e9eedc}#choosesuggestion{margin-bottom:18px}#customhabit{margin-top:18px}@media(max-width:600px){.suggestion-shortlist,.suggestion-results{grid-template-columns:1fr}.suggestion-teaser{min-height:0}.suggestion-preview .sectionline{align-items:flex-start;gap:8px}.suggestion-preview .sectionline h2{font-size:20px}.suggestion-preview .sectionline button{white-space:nowrap}}

.habits-jump{position:relative;z-index:2;text-decoration:underline;text-underline-offset:4px}#yourhabits{scroll-margin-top:16px}[aria-busy=true]{cursor:progress}@media(max-width:800px){.daily-hero{min-height:0;padding:22px 22px 105px}.daily-hero>.landscape{height:105px}.daily-hero h2{font-size:25px;margin:10px 0}.daily-hero p{margin:8px 0;max-width:none}.daily-hero .direction-link{margin:0}.daily-hero .progress{margin-top:8px}.daily-hero .habits-jump{padding-left:0}}
