:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172d23;background:#e8ede9;font-size:16px;--green:#246648;--muted:#5d7065;--line:#dce6de;--surface:#fff}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #57a87c;outline-offset:3px}.shell{max-width:520px;margin:auto;min-height:100dvh;background:#f7f9f6}header{position:sticky;top:0;z-index:5;background:#f7f9f6f5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:calc(16px + env(safe-area-inset-top)) 20px 14px;display:flex;justify-content:space-between;align-items:center}h1,h2,h3,p{margin:0}h1{font-size:26px;letter-spacing:-1px}h2{font-size:19px;letter-spacing:-.4px}h3{font-size:16px}small,.muted{color:var(--muted);font-size:13px}header small{font-size:10px;letter-spacing:1.3px;font-weight:700}.header-actions{display:flex;align-items:center;gap:10px}.avatar,.icon{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:#e2efe5;color:var(--green);font-weight:700;flex-shrink:0}.icon{font-size:24px;background:#fff;border:1px solid var(--line)}main{padding:4px 18px calc(112px + env(safe-area-inset-bottom));outline:none}section{margin:0 0 24px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px}.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;margin-bottom:9px;box-shadow:0 3px 12px #163b2410}.hero{background:linear-gradient(135deg,#173f31,#34785b);color:#fff;border:0;border-radius:27px;padding:23px;box-shadow:0 10px 26px #245c4530}.hero small,.hero .muted{color:#d6eee0}.hero-row,.row{display:flex;align-items:center;gap:12px}.spread{justify-content:space-between}.grow{flex:1;min-width:0;overflow-wrap:anywhere}.number{font-size:43px;letter-spacing:-2px;font-weight:750;line-height:1.2}.ring{width:88px;height:88px;flex-shrink:0;border-radius:50%;background:conic-gradient(#a3f4bf var(--pct),#ffffff25 0);display:grid;place-items:center}.ring b{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:#285e46;font-size:20px}.track{height:7px;border-radius:10px;background:#ffffff30;overflow:hidden;margin:18px 0 10px}.track i{display:block;height:100%;background:#a3f4bf;border-radius:10px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.stats .card{padding:12px 9px}.stats b{display:block;font-size:17px}.status{font-size:12px;color:#246648;background:#e6f3e9;padding:4px 8px;border-radius:20px;display:inline-block;margin-top:4px}.status.idle{background:#fff1df;color:#825322}.status.private{background:#eef0ef;color:#5d6661}.btn{border:0;border-radius:12px;background:var(--green);color:#fff;padding:12px 15px;min-height:44px;font-weight:650}.btn.secondary{background:#e6efe8;color:#205b3e}.btn.danger{background:#f9e9e7;color:#963d35}.link{color:var(--green);font-weight:650;font-size:14px;padding:10px 0;display:inline-block}.stack{display:grid;gap:10px}.field{display:grid;gap:6px;margin:10px 0}input:not([type=checkbox]),select{width:100%;min-height:44px;border:1px solid #bfcfc3;border-radius:12px;padding:10px;background:#fff;color:inherit}input[type=checkbox]{width:24px;height:24px;accent-color:var(--green);flex-shrink:0}.hint{padding:12px;border-radius:12px;background:#edf3ee;color:#42604c;font-size:13px;line-height:1.5;margin-bottom:12px}.bars{display:flex;align-items:flex-end;gap:12px;height:115px;margin-top:16px}.bar-col{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;justify-content:flex-end}.bar-col i{display:block;width:100%;max-width:35px;background:#78b692;border-radius:6px}.bar-col small{font-size:11px}.message{background:#e9f3ec;border-radius:15px;padding:12px;margin:8px 0;max-width:85%;overflow-wrap:anywhere}.message.mine{background:#246648;color:#fff;margin-left:auto}.message.mine small{color:#dbeee2}nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(520px,100%);display:grid;grid-template-columns:repeat(5,1fr);background:#fffffff5;border-top:1px solid var(--line);padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:10}nav a{min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;color:#66796c}nav a span{font-size:25px;line-height:1}nav a[aria-current=page]{color:var(--green);font-weight:750}nav .plus span{background:var(--green);color:#fff;border-radius:50%;width:40px;height:40px;display:grid;place-items:center;margin-top:-14px}#toast{position:fixed;bottom:95px;left:50%;transform:translate(-50%);width:max-content;max-width:90%;background:#173f31;color:#fff;padding:12px 16px;border-radius:12px;z-index:20}#toast:empty{display:none}.empty{padding:20px;text-align:center;color:var(--muted)}@media(min-width:600px){.shell{box-shadow:0 0 70px #163b241a}}@media(max-width:360px){main{padding-left:12px;padding-right:12px}.hero{padding:16px}.number{font-size:36px}.row{gap:8px}}button:disabled{opacity:.45;cursor:not-allowed}[hidden]{display:none!important}button:disabled{opacity:.55;cursor:wait}.native-app .shell{max-width:none}.native-app nav{width:100%;max-width:none}.native-app body{overscroll-behavior-y:none}.card p{overflow-wrap:anywhere;line-height:1.5}.card .btn{margin:5px 5px 3px 0}.card a:not(.btn){color:var(--green);text-decoration:underline}.hero progress{width:100%;accent-color:#a3f4bf}.card small{overflow-wrap:anywhere}.field select{width:100%}
