:root{--ink:#14241e;--muted:#687970;--green:#0f4b3d;--dark:#0a392e;--gold:#e4ad35;--bg:#f3f6f3;--line:#e3ebe5;--shadow:0 4px 20px #123c2410;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none;font-size:14px}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#1a624e,#0c3b2f 75%);min-height:100vh;min-height:100dvh;padding:30px 16px}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:var(--green);text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b98120;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:25px;letter-spacing:-.8px;line-height:1.2}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:14px}.skip-link{position:absolute;top:-100px;background:var(--gold);padding:12px;z-index:100}.skip-link:focus{top:10px}.app-shell{width:100%;max-width:430px;margin:auto;border-radius:32px;background:var(--bg);box-shadow:0 30px 80px #0004;overflow:hidden;min-height:820px}.topbar{padding:25px 20px 15px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:8px;color:var(--green);font-size:26px;font-weight:850;letter-spacing:-1.3px}.brand img{object-fit:contain}.avatar{width:43px;height:43px;display:grid;place-items:center;background:var(--gold);color:#342700;border-radius:50%;font-size:18px;font-weight:750}main{padding:8px 18px 110px;min-height:640px}.intro{margin:4px 1px 20px}.intro p{color:var(--muted);line-height:1.7;font-size:13px;margin-top:6px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.7px;color:var(--muted);margin-bottom:7px}.card{background:white;padding:18px;border:1px solid #e5ece6;border-radius:19px;box-shadow:var(--shadow);margin:14px 0}.card h2+p,.card>p{font-size:12px;color:var(--muted);line-height:1.7;margin-top:6px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.stack{display:grid;gap:12px}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.button{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;min-height:49px;padding:12px 15px;border-radius:12px;border:0;font-weight:750;font-size:14px;line-height:1.3;text-align:center}.gold{background:var(--gold);color:#332500}.green{background:var(--green);color:white}.light{background:#e7f1ea;color:var(--green)}.danger{background:#fcece8;color:#a03421}.text-button{border:0;background:none;color:var(--green);padding:5px 0;font-size:12px;font-weight:700}.card .button{margin-top:13px}.grid-two .button{margin:0}.walk-card{background:radial-gradient(ellipse at top right,#236e58,var(--green) 55%,var(--dark));border-radius:23px;padding:19px 17px;color:white;box-shadow:0 14px 28px #0f4b3d28}.walk-card h2{font-size:14px;color:#c9e1d4;font-weight:650}.chip{background:#e4ad35;color:#382a00;padding:5px 10px;border-radius:30px;font-size:11px;font-weight:800}.step-ring{position:relative;width:195px;height:195px;margin:16px auto 10px}.step-ring>svg{width:100%;height:100%;transform:rotate(-90deg)}.ring-track{fill:none;stroke:#ffffff1c;stroke-width:9}.ring-progress{fill:none;stroke:var(--gold);stroke-width:9;stroke-linecap:round;stroke-dasharray:0 515;transition:stroke-dasharray .5s}.ring-copy{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}.ring-copy svg{width:34px;height:34px;stroke:var(--gold);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ring-copy strong{font-size:34px;letter-spacing:-1.4px}.ring-copy small{color:#c1dacf;font-size:11px}.metrics{display:flex;justify-content:center;text-align:center;background:#ffffff10;border-radius:14px;padding:12px 0;margin:15px 0}.metrics>div{flex:1;border-right:1px solid #ffffff22}.metrics>div:last-child{border:0}.metrics b{font-size:17px;display:block}.metrics span{font-size:10px;color:#b8d4c6}.walk-card>.button{margin-top:12px}.walk-note{font-size:11px;color:#bfd9cd;text-align:center;line-height:1.6;margin-top:10px}.section-title{font-size:16px;margin:24px 1px 9px}.task{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);border-radius:16px;padding:14px;margin:10px 0}.task>.task-copy{flex:1;min-width:0}.task p{font-size:11px;color:var(--muted);margin-top:4px;line-height:1.5}.task-icon{width:36px;height:36px;background:#f9efda;color:#936310;border-radius:11px;display:grid;place-items:center;font-size:20px;flex-shrink:0}.pill{border:0;border-radius:25px;padding:9px 13px;background:var(--gold);color:#392a00;font-size:11px;font-weight:800}.pill.done{background:#e7f2e9;color:var(--green)}.week{display:flex;align-items:flex-end;justify-content:space-between;height:100px;gap:8px;padding-top:10px;margin-top:15px}.week>div{flex:1;text-align:center;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%}.week .bar{width:100%;max-width:23px;min-height:3px;background:#d9e9dd;border-radius:5px 5px 0 0}.week .bar.today{background:var(--gold)}.week small{font-size:9px;color:var(--muted);margin-top:7px}.week b{font-size:8px;font-weight:600;color:var(--muted);margin-bottom:3px}.download{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:center}.download img{border-radius:12px}.download h2{font-size:14px}.download p{font-size:11px;color:var(--muted);margin-top:4px}.download .button{grid-column:1/-1;margin-top:0}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(430px,calc(100% - 32px));display:flex;align-items:stretch;height:calc(72px + env(safe-area-inset-bottom,0px));padding:7px 6px env(safe-area-inset-bottom,0px);background:#fff;border-top:1px solid var(--line);border-radius:20px 20px 0 0;z-index:20;box-shadow:0 -5px 20px #1a3a2010}.bottom-nav a{flex:1;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);font-size:10px;font-weight:700}.bottom-nav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;box-sizing:content-box;padding:4px 15px;border-radius:30px}.bottom-nav .active{color:var(--green)}.bottom-nav .active svg{background:#e6f1e9}.notice{margin:0 18px 10px;padding:12px 14px;border-radius:12px;background:#fcece8;color:#913a27;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.notice.ok{background:#e0f2e7;color:#245c41}.notice[hidden]{display:none}label{display:block;font-size:12px;font-weight:700;margin:14px 0 6px}input,select,textarea{display:block;width:100%;min-height:47px;border:1px solid #d5e0d7;background:#fff;border-radius:10px;padding:11px 12px;color:var(--ink);max-width:100%}textarea{min-height:110px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#6a9e7d;outline:2px solid #e1efe4}.check{font-weight:450;display:flex;align-items:flex-start;gap:9px;line-height:1.6}.check input{width:17px;height:17px;min-height:0;flex-shrink:0;margin:3px 0 0;padding:0;accent-color:var(--green)}.check a{text-decoration:underline}.form-foot{font-size:12px;line-height:1.7;text-align:center;margin:15px 0 4px;color:var(--muted)}.form-foot a{font-weight:750}.hint{font-size:11px!important;line-height:1.7;color:var(--muted);margin-top:8px}.back{display:inline-flex;gap:7px;font-size:12px;font-weight:700;margin-bottom:16px}.auth-hero{padding:21px;border-radius:20px;background:linear-gradient(140deg,#0e4838,#26735a);color:white;margin-bottom:18px}.auth-hero .eyebrow{color:#c7dfcf}.auth-hero p{font-size:12px;color:#c8ddcf;line-height:1.7;margin-top:8px}.balance-card{padding:23px 20px;background:var(--green);color:white;border-radius:21px;margin-bottom:16px}.balance-card .label{color:#c2d9c9;font-size:12px}.balance-card strong{display:block;font-size:37px;letter-spacing:-1.5px;margin-top:5px}.balance-card .row{align-items:flex-start}.balance-card small{font-size:12px;color:#c2d9c9}.status{font-size:10px;display:inline-block;border-radius:30px;padding:4px 9px;background:#f7ecd1;color:#825a0b;font-weight:700}.status.approved,.status.paid,.status.answered,.status.active{background:#e3f2e8;color:#245c41}.status.rejected,.status.suspended{background:#fcece8;color:#953a26}.status.not_submitted{background:#eef0ec;color:#627267}.list{margin-top:12px}.list-item{padding:13px 0;border-top:1px solid var(--line)}.list-item:first-child{border-top:0}.list-item h3{font-size:12px}.list-item p,.list-item small{font-size:10px;color:var(--muted);line-height:1.6;margin-top:4px}.list-item .amount{font-size:14px;font-weight:800;white-space:nowrap;color:var(--green)}.list-item .negative{color:#986719}.empty{font-size:12px;color:var(--muted);text-align:center;padding:25px 8px;line-height:1.7}.invite-code{font-family:ui-monospace,monospace;font-weight:800;font-size:29px;letter-spacing:4px;text-align:center;display:block;padding:22px 0;color:var(--green)}.copy-url{word-break:break-all;font-size:10px;background:#f0f5ef;padding:12px;border-radius:10px;line-height:1.7}.rule-list{font-size:12px;color:var(--muted);line-height:1.9;padding-left:19px;margin-bottom:0}.profile-head{text-align:center;padding:18px 10px}.profile-head>.avatar{width:65px;height:65px;margin:0 auto 12px;font-size:25px}.profile-head h1{font-size:23px}.profile-head p{font-size:11px;color:var(--muted);margin-top:5px}.menu{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:14px 0}.menu a,.menu button{border:0;border-bottom:1px solid var(--line);width:100%;background:white;display:flex;align-items:center;justify-content:space-between;padding:16px;text-align:left;font-size:12px;color:var(--ink);font-weight:600}.menu>:last-child{border-bottom:0}.menu small{font-size:10px;color:var(--muted)}.badges{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}.badge{border:1px solid var(--line);border-radius:12px;text-align:center;padding:14px 4px;opacity:.5}.badge.earned{opacity:1;background:#fcf3df;border-color:#eed7a4}.badge b{display:block;font-size:25px;margin-bottom:7px}.badge small{font-size:9px;color:var(--muted)}.legal{font-size:12px;line-height:1.85;color:#4d6055}.legal h2{font-size:16px;margin:20px 0 8px}.legal p+p{margin-top:10px}.legal ul{padding-left:18px}.footer{font-size:10px;color:var(--muted);line-height:1.8;text-align:center;padding:20px 6px 0}.footer a{margin:0 6px;text-decoration:underline}.loader{display:inline-block;width:24px;height:24px;border:3px solid #d6e4d9;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}.loading{text-align:center;padding:60px 15px;color:var(--muted);font-size:12px}.loading p{margin-top:15px}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:0;border-radius:22px;max-width:390px;width:calc(100% - 30px);padding:24px;background:var(--bg);color:var(--ink)}dialog::backdrop{background:#08271fc0;backdrop-filter:blur(3px)}dialog h2{font-size:21px}dialog p{font-size:12px;color:var(--muted);line-height:1.8;margin:12px 0}dialog code{display:block;word-break:break-all;font-size:15px;line-height:1.8;background:#fff;padding:15px;border:1px dashed #8ab69a;border-radius:10px;margin:18px 0}dialog .button{margin-top:10px}.noscript-note{background:white;padding:20px;margin:auto;max-width:430px}.hidden{display:none!important}.money-input{display:flex;align-items:center;gap:10px}.money-input>span{font-size:20px;color:var(--green)}.value-note{font-size:11px;color:var(--muted);margin-top:8px}.wide{grid-column:1/-1}.sensor-status{font-size:11px;padding:10px;border-radius:10px;background:#ffffff12;text-align:center;margin-top:12px;line-height:1.6}.warning-note{background:#fbf4e1;color:#846119;padding:12px;border-radius:11px;font-size:11px;line-height:1.7;margin:12px 0}
@media(max-width:480px){body{padding:0;background:var(--bg)}.app-shell{max-width:none;border-radius:0;box-shadow:none;min-height:100dvh}.topbar{padding-top:max(18px,env(safe-area-inset-top,0px))}.bottom-nav{width:100%;border-radius:0}main{padding-left:16px;padding-right:16px}.topbar{padding-left:18px;padding-right:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Home modules follow the published new-user offer and weekly activity display. */
.offer-card{margin:14px 0 0;padding:16px;border-radius:19px;background:linear-gradient(135deg,#fbf1d9,#fff9ec);border:1px solid #f3dfb0;box-shadow:var(--shadow)}
.offer-tag{display:inline-block;font-size:11.5px;font-weight:750;letter-spacing:.2px;color:#7a5200;background:#f8e2ae;border-radius:999px;padding:3px 9px}
.offer-card .text-button{text-decoration:underline;font-size:12px;white-space:nowrap}
.offer-card h2{font-size:17px;line-height:1.35;margin:6px 0 8px;letter-spacing:-.3px}
.offer-card>p{font-size:13px;line-height:1.5;color:#506058;margin:6px 0 10px}
.offer-card>.offer-minimum{font-weight:650;font-size:12px}
.offer-days{display:flex;gap:6px;margin:12px 0}
.offer-days i{flex:1;height:6px;border-radius:3px;background:#f0ddb0}
.offer-days i.done{background:var(--gold)}.offer-days i.today{background:#22624f}
.offer-card .button{font-size:15px;min-height:48px;margin-top:0}
.offer-card .button:disabled{background:#e9e2cf;color:#6b5a2e;opacity:1;cursor:default}
.offer-card>.offer-login{font-size:11px;text-align:center;margin:10px 0 0}.offer-login a{font-weight:750;text-decoration:underline}
.offer-card>.offer-rules{font-size:11px;margin:12px 0 0;line-height:1.7}
.week-card{padding:16px 16px 13px}.week-card h2{font-size:15px;white-space:nowrap}.week-summary{font-size:11px;color:var(--muted);text-align:right;line-height:1.4}
.week-chart{position:relative;display:flex;align-items:flex-end;gap:7px;height:158px;padding:10px 0 24px 43px;margin-top:8px}
.week-chart .goal-line{position:absolute;left:0;right:0;top:24px;border-top:1.5px dashed #cfdad5;pointer-events:none}
.goal-line>span{position:absolute;left:0;top:0;transform:translateY(-50%);width:41px;font-size:11px;line-height:1.15;color:var(--muted);background:#fff;padding:1px 0}.goal-line b{display:block;color:var(--ink);font-size:11px}
.week-col{flex:1;min-width:0;height:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}
.week-col>b{font-size:9px;margin-bottom:4px;font-weight:650}.week-col .bar{width:100%;max-width:23px;border-radius:5px 5px 3px 3px;background:#e3eae7;min-height:4px}
.week-col .bar.hit{background:#3c8969}.week-col.today .bar{background:var(--gold)}
.week-col small{position:absolute;bottom:-22px;font-size:10px;color:var(--muted);white-space:nowrap}.week-col.today small{color:var(--ink);font-weight:750}
