:root{--black:#0a0a0a;--white:#fff;--bg:#f8f8f6;--surface:#fff;--border:#ebebeb;--muted:#999;--muted-light:#bbb;--separator:#e8e8e8;--pill:#f0f0f0;--input-border:#e0e0e0;--nav-inactive:#0a0a0a4d;--toggle-off:#d0d0d0;--danger:#ff3b30;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--black:#f2f2f7;--white:#1c1c1e;--bg:#000;--surface:#1c1c1e;--border:#38383a;--muted:#8e8e93;--muted-light:#636366;--separator:#38383a;--pill:#2c2c2e;--input-border:#48484a;--nav-inactive:#f2f2f74d;--toggle-off:#3a3a3c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;margin:0;padding:0}html,body{height:100%}body{background:var(--bg);color:var(--black);-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,Helvetica,Arial,sans-serif}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0}input{font:inherit;color:inherit;background:0 0;border:0;outline:0;width:100%}button:focus-visible,input:focus-visible{outline:2px solid var(--black);outline-offset:2px}.shell{background:var(--bg);flex-direction:column;height:100dvh;display:flex;position:relative;overflow:hidden}.layout{flex:1;min-height:0;display:flex}.main{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.screen{flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.content{padding:24px 24px 32px}.center{flex-direction:column;flex:1;justify-content:center;align-items:center;display:flex}.nav{padding:10px 8px calc(4px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border);display:flex}.nav button{color:var(--nav-inactive);flex-direction:column;flex:1;align-items:center;gap:4px;padding:2px 0;font-size:10px;font-weight:500;display:flex}.nav button.active{color:var(--black)}.nav .ico{opacity:.3}.nav button.active .ico{opacity:1}.label{letter-spacing:1.5px;color:var(--muted);font-size:10px;font-weight:600}.empty-title{margin-bottom:6px;font-size:16px;font-weight:600}.empty-sub{color:var(--muted);text-align:center;font-size:13px}.mt4{margin-top:4px}.pbar{background:var(--separator);border-radius:99px;overflow:hidden}.pbar>div{background:var(--black);border-radius:99px;height:100%;transition:width .4s}.blurb{background:var(--surface);border:1px solid var(--border);border-radius:16px;margin-top:4px;padding:16px}.blurb p{margin-bottom:8px;font-size:13px;line-height:19px}.blurb span{letter-spacing:.5px;color:var(--muted);font-size:10px;font-weight:600}.home-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px;display:flex}.home-head .date{color:var(--muted);margin-bottom:3px;font-size:12px}.home-head h1{letter-spacing:-.5px;font-size:22px;font-weight:700}.head-actions{align-items:center;gap:8px;display:flex}.circle-btn{background:var(--pill);width:38px;height:38px;color:var(--muted);border-radius:19px;justify-content:center;align-items:center;font-size:13px;font-weight:600;display:flex}.circle-btn.dark{background:var(--black);color:var(--white)}.circle-btn.plus{font-size:22px;font-weight:300;line-height:1}.summary{background:var(--black);color:var(--white);border-radius:18px;margin-bottom:20px;padding:16px 20px}.summary .l{opacity:.4;letter-spacing:.5px;margin-bottom:3px;font-size:10px;font-weight:500}.summary .v{letter-spacing:-.5px;font-size:22px;font-weight:700}.empty-state{flex-direction:column;align-items:center;padding:48px 0;display:flex}.habit-row{align-items:stretch;margin-bottom:12px;display:flex}.habit-row>.habit-card{flex:1;margin-bottom:0}.habit-card{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:20px;width:100%;margin-bottom:12px;padding:20px;display:block}.habit-top{justify-content:space-between;align-items:flex-start;margin-bottom:14px;display:flex}.habit-top .name{color:var(--muted);letter-spacing:1px;margin-bottom:5px;font-size:10px;font-weight:600}.habit-top .days{letter-spacing:-1.5px;font-size:32px;font-weight:700;line-height:36px}.habit-top .unit{color:var(--muted);letter-spacing:1px;margin-top:2px;font-size:10px}.habit-top .tl{color:var(--muted);margin-bottom:3px;font-size:10px}.habit-top .tv{letter-spacing:-.5px;font-size:20px;font-weight:700}.habit-top .right{text-align:right}.habit-top .ok{margin-top:4px;font-size:12px;font-weight:700}.habit-card .next{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-top:9px;font-size:11px;overflow:hidden}.del-btn{justify-content:center;align-items:center;width:44px;margin-right:8px;display:flex}.del-btn span{background:var(--danger);color:#fff;border-radius:15px;justify-content:center;align-items:center;width:30px;height:30px;font-size:18px;display:flex}.reorder{flex-direction:column;justify-content:center;gap:4px;margin-left:8px;display:flex}.reorder button{background:var(--pill);border-radius:8px;width:30px;height:30px;font-size:14px}.reorder button:disabled{opacity:.25;cursor:default}.tabbar{border-bottom:1px solid var(--border);scrollbar-width:none;flex-shrink:0;gap:8px;padding:10px 24px;display:flex;overflow-x:auto}.tabbar::-webkit-scrollbar{display:none}.tabbar button{background:var(--pill);color:var(--muted);white-space:nowrap;border-radius:20px;flex-shrink:0;padding:6px 14px;font-size:13px;font-weight:600}.tabbar button.active{background:var(--black);color:var(--white)}.ci{padding:28px 28px 40px}.ci .hl{letter-spacing:2px;color:var(--muted);margin-bottom:6px;font-size:10px;font-weight:600}.ci .big{letter-spacing:-7px;font-size:100px;font-weight:700;line-height:104px}.ci .dl{letter-spacing:2px;color:var(--muted);margin-bottom:28px;font-size:12px;font-weight:600}.ms-card{background:var(--black);color:var(--white);border-radius:16px;margin-bottom:30px;padding:16px 18px}.ms-card .l{opacity:.4;letter-spacing:1px;margin-bottom:5px;font-size:10px;font-weight:600}.ms-card .t{font-size:15px;font-weight:600;line-height:21px}.prog-sec{margin-bottom:32px}.prog-row{color:var(--muted);justify-content:space-between;margin-bottom:8px;font-size:11px;font-weight:500;display:flex}.prog-row b{color:var(--black);font-weight:700}.question{letter-spacing:-.3px;margin-bottom:14px;font-size:19px;font-weight:700}.btn-row{gap:12px;margin-bottom:24px;display:flex}.yes-btn{background:var(--black);color:var(--white);border-radius:16px;flex:2;padding:20px 0;font-size:17px;font-weight:700}.no-btn{background:var(--surface);border:1.5px solid var(--separator);color:var(--muted-light);border-radius:16px;flex:1;padding:20px 0;font-size:17px;font-weight:500}.done-card{background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:16px;margin-bottom:24px;padding:20px}.done-card .t{margin-bottom:4px;font-size:16px;font-weight:700}.done-card .r{font-size:18px;font-weight:700}.overlay{z-index:50;background:#00000073;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);border-radius:24px 24px 0 0;flex-direction:column;gap:12px;width:100%;max-width:480px;padding:28px 28px 40px;animation:.2s up;display:flex}@keyframes up{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}.sheet h3{letter-spacing:-.4px;margin-bottom:4px;font-size:20px;font-weight:700}.sheet p{color:var(--muted);margin-bottom:8px;font-size:14px;line-height:20px}.sheet .danger{background:var(--danger);color:#fff;border-radius:14px;padding:16px 0;font-size:16px;font-weight:700}.sheet .primary{background:var(--black);color:var(--white);border-radius:14px;padding:16px 0;font-size:16px;font-weight:600}.pg{padding:24px 24px 40px}.pg h1{letter-spacing:-.5px;margin-bottom:4px;font-size:26px;font-weight:700}.pg .hl{letter-spacing:1.5px;color:var(--muted);margin-bottom:4px;font-size:10px;font-weight:600}.pg .day-row{align-items:baseline;gap:8px;margin-bottom:16px;display:flex}.pg .big{letter-spacing:-4px;font-size:68px;font-weight:700;line-height:72px}.pg .unit{color:var(--muted);letter-spacing:1.5px;font-size:14px;font-weight:600}.next-card{background:var(--surface);border:1px solid var(--border);border-radius:20px;margin-bottom:18px;padding:16px 18px}.next-card .top{justify-content:space-between;align-items:baseline;margin-bottom:9px;display:flex}.next-card .top .a{color:var(--muted);letter-spacing:.8px;font-size:10px;font-weight:600}.next-card .top .b{font-size:11px;font-weight:700}.next-card .t{margin:9px 0 3px;font-size:13px;font-weight:600}.next-card .s{color:var(--muted);font-size:10px}.pg .sec{margin-bottom:14px}.tl-item{gap:14px;display:flex}.dot-col{flex-direction:column;flex-shrink:0;align-items:center;width:18px;display:flex}.dot{background:var(--muted-light);border-radius:5px;flex-shrink:0;width:10px;height:10px}.dot.done{background:var(--black)}.dot.cur{background:var(--black);border-radius:6px;width:12px;height:12px}.line{background:var(--separator);flex:1;width:1.5px;margin:3px 0}.tl-body{flex:1;min-width:0;padding-bottom:18px}.tl-body.last{padding-bottom:0}.cur-card{background:var(--black);color:var(--white);border-radius:14px;padding:12px 14px}.row-b{justify-content:space-between;align-items:baseline;margin-bottom:4px;display:flex}.row-b .t{flex:1;font-size:13px;font-weight:600}.row-b .s{font-size:10px}.cur-card .s{opacity:.4;font-size:10px}.badge{background:var(--pill);color:var(--muted);border-radius:5px;margin-left:8px;padding:2px 7px;font-size:9px;font-weight:700}.badge.done{background:var(--black);color:var(--white)}.cur-card .badge{color:var(--white);background:#ffffff26}:root[data-theme=dark] .cur-card .badge{background:#00000026}.tl-body .sub{color:var(--muted);min-height:12px;font-size:10px}.st{padding:24px 24px 40px}.st h1{letter-spacing:-.5px;margin-bottom:4px;font-size:26px;font-weight:700}.st .sub{color:var(--muted);margin-bottom:28px;font-size:12px}.st .sh{letter-spacing:1.5px;color:var(--muted);margin:4px 0 10px;font-size:10px;font-weight:600}.card{background:var(--surface);border:1px solid var(--border);border-radius:18px;margin-bottom:20px;overflow:hidden}.rowx{text-align:left;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:50px;padding:14px 16px;display:flex}.rowx .rt{white-space:nowrap;font-size:15px;font-weight:600}.rowx .dv{color:var(--muted);text-overflow:ellipsis;font-size:13px;overflow:hidden}.rowx .chev{color:var(--muted-light);font-size:18px}.rowx input.name{text-align:right;font-size:15px;font-weight:600}.rowx input[type=time]{width:auto;color:var(--muted);font-size:15px;font-weight:600}.rowx.danger .rt{color:var(--danger)}.divider{background:var(--border);height:1px;margin-left:16px}.pill-seg{background:var(--pill);border-radius:10px;padding:2px;display:flex}.pill-seg button{color:var(--muted);border-radius:8px;padding:5px 12px;font-size:12px;font-weight:600}.pill-seg button.active{background:var(--black);color:var(--white)}.toggle{background:var(--toggle-off);border-radius:14px;flex-shrink:0;width:46px;height:28px;transition:background .2s;position:relative}.toggle.on{background:#34c759}.toggle i{background:#fff;border-radius:11px;width:22px;height:22px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}.toggle.on i{transform:translate(18px)}.footer{opacity:.35;flex-direction:column;align-items:center;gap:8px;padding-bottom:8px;display:flex}.footer .ic{background:var(--black);width:44px;height:44px;color:var(--white);border-radius:12px;justify-content:center;align-items:center;font-size:18px;font-weight:700;display:flex}.footer .tx{color:var(--muted);font-size:10px}.legal-head{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding:16px 24px;display:flex}.legal-head .back{color:var(--muted);text-align:left;width:50px;font-size:12px}.legal-head .title{font-size:17px;font-weight:700}.legal{padding:24px 24px 48px}.legal .upd{color:var(--muted);margin-bottom:28px;font-size:11px}.legal section{margin-bottom:24px}.legal h4{margin-bottom:8px;font-size:15px;font-weight:700}.legal p,.legal li{color:var(--muted);font-size:14px;line-height:22px}.legal ul{margin-top:8px;padding-left:8px;list-style:none}.add-head{flex-shrink:0;justify-content:space-between;align-items:center;padding:16px 24px;display:flex}.add-head .back{color:var(--muted);text-align:left;width:50px;font-size:12px}.add-head .title{font-size:17px;font-weight:700}.add{padding:8px 24px 40px}.add h1{letter-spacing:-.5px;white-space:pre-line;margin-bottom:20px;font-size:26px;font-weight:700;line-height:32px}.input-wrap{background:var(--surface);border:2px solid var(--black);border-radius:16px;margin-bottom:24px;padding:14px}.input-wrap.err{border-color:var(--danger)}.input-wrap label,.date-row .dl{color:var(--muted);letter-spacing:1px;margin-bottom:5px;font-size:10px;font-weight:600;display:block}.input-wrap input{font-size:19px;font-weight:600}.input-wrap input::placeholder{color:var(--muted)}.grid{flex-wrap:wrap;gap:10px;margin-bottom:24px;display:flex}.cat{background:var(--surface);border:1.5px solid var(--border);border-radius:16px;flex-direction:column;align-items:center;width:calc(25% - 7.5px);padding:14px 6px;display:flex}.cat.sel{background:var(--black);border-color:var(--black)}.cat .e{margin-bottom:5px;font-size:22px}.cat .n{color:var(--muted);text-align:center;font-size:9px;font-weight:600;line-height:13px}.cat.sel .n{color:var(--white)}.emoji-row{align-items:center;gap:10px;margin-bottom:24px;display:flex}.emoji-prev{background:var(--surface);border:1.5px solid var(--border);border-radius:16px;width:56px;height:56px;font-size:26px}.emoji-row span{color:var(--muted);font-size:12px}.emoji-grid{flex-wrap:wrap;gap:8px;display:flex}.emoji-grid button{background:var(--pill);border-radius:14px;width:52px;height:52px;font-size:26px}.emoji-grid button.sel{background:var(--black)}.date-row{background:var(--surface);border:1.5px solid var(--border);border-radius:16px;justify-content:space-between;align-items:center;margin-bottom:16px;padding:14px 16px;display:flex}.date-row .dv{font-size:16px;font-weight:600}.add-btn{background:var(--black);width:100%;color:var(--white);letter-spacing:-.3px;border-radius:16px;padding:19px 0;font-size:17px;font-weight:700}.add-btn:disabled{opacity:.5}.dark-screen{--black:#0a0a0a;--white:#fff;color:#fff;background:#0a0a0a}.onb{flex-direction:column;flex:1;justify-content:center;align-items:center;padding:0 40px;display:flex;overflow-y:auto}.onb .icon{letter-spacing:-1.5px;border:1.5px solid #ffffff2e;border-radius:22px;justify-content:center;align-items:center;width:76px;height:76px;margin-bottom:44px;font-size:34px;font-weight:700;display:flex}.onb .app{letter-spacing:3.5px;color:#ffffff59;text-transform:uppercase;margin-bottom:14px;font-size:11px;font-weight:600}.onb .sub{color:#ffffff40;letter-spacing:.8px;margin-bottom:60px;font-size:13px}.onb .tag{text-align:center;letter-spacing:-.5px;white-space:pre-line;margin-bottom:10px;font-size:26px;font-weight:700;line-height:32px}.onb .tagsub{color:#ffffff59;text-align:center;margin-bottom:72px;font-size:13px;line-height:20px}.light-btn{color:#0a0a0a;letter-spacing:-.3px;background:#fff;border-radius:18px;width:100%;margin-bottom:14px;padding:20px 0;font-size:17px;font-weight:700}.light-btn:disabled{opacity:.6}.ghost-btn{color:#ffffff80;padding:8px;font-size:14px}.auth{width:100%;max-width:360px}.auth h2{letter-spacing:-.5px;text-align:center;margin-bottom:24px;font-size:24px;font-weight:700}.auth .field{background:#ffffff12;border:1px solid #ffffff1f;border-radius:14px;margin-bottom:12px;padding:12px 14px}.auth .field label{letter-spacing:1px;color:#fff6;margin-bottom:4px;font-size:10px;font-weight:600;display:block}.auth .field input{color:#fff;font-size:16px}.auth .field input::placeholder{color:#ffffff40}.auth .error{color:#ff6b6b;text-align:center;margin-bottom:12px;font-size:13px}.auth .hint{color:#ffffff4d;margin:-6px 0 14px 4px;font-size:11px}.auth .light-btn{margin-top:8px}.auth .switch{margin:0 auto;display:block}.lang-top{gap:4px;display:flex;position:absolute;top:16px;right:16px}.lang-top button{color:#fff6;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:600}.lang-top button.active{color:#fff;background:#ffffff1f}.celebrate{flex-direction:column;flex:1;display:flex;position:relative;overflow:hidden}.celebrate .inner{z-index:1;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:32px;display:flex;position:relative}.celebrate .glow{background:radial-gradient(circle,#ffffff1a,#0000 70%);border-radius:50%;width:300px;height:300px;margin:-220px 0 0 -150px;position:absolute;top:50%;left:50%}.celebrate .chip{letter-spacing:2.5px;color:#ffffff8c;background:#ffffff17;border:1px solid #ffffff24;border-radius:99px;margin-bottom:26px;padding:7px 18px;font-size:10px;font-weight:600}.celebrate .bigday{letter-spacing:-8px;font-size:116px;font-weight:700;line-height:118px;animation:.6s cubic-bezier(.2,1.4,.4,1) pop}@keyframes pop{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:none}}.celebrate .dl{letter-spacing:3.5px;color:#ffffff4d;margin-bottom:30px;font-size:11px;font-weight:600}.celebrate .mt{text-align:center;letter-spacing:-.3px;margin-bottom:36px;font-size:21px;font-weight:700;line-height:27px}.stats{background:#ffffff12;border:1px solid #ffffff17;border-radius:18px;width:100%;margin-bottom:28px;padding:16px 0;display:flex}.stats>div{text-align:center;flex:1}.stats>div+div{border-left:1px solid #ffffff1a}.stats .v{letter-spacing:-.5px;font-size:20px;font-weight:700}.stats .l{color:#ffffff52;letter-spacing:1.5px;margin-top:3px;font-size:9px;font-weight:600}.actions{flex-direction:column;gap:10px;width:100%;display:flex}.actions .light-btn{border-radius:16px;margin:0}.share-btn{color:#ffffff80;border:1.5px solid #ffffff24;border-radius:16px;padding:16px 0;font-size:15px;font-weight:500}.confetti{opacity:0;z-index:2;pointer-events:none;border-radius:2px;width:8px;height:14px;animation:3s linear forwards fall;position:absolute;top:-20px}@keyframes fall{0%{opacity:1;transform:translateY(0)rotate(0)}80%{opacity:1}to{opacity:0;transform:translateY(110vh)rotate(720deg)}}.content,.ci,.pg,.st{width:100%;max-width:1080px;margin-inline:auto}.add,.legal,.add-head{width:100%;max-width:680px;margin-inline:auto}.summary-row{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px;display:grid}.summary{margin-bottom:0;padding:14px 16px}.cards{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;display:grid}.cards .habit-card{margin-bottom:0}.blurb-wrap{max-width:640px;margin-top:16px}.ci-grid,.pg-grid,.st-grid{display:block}.sidebar{display:none}.side-brand{letter-spacing:-.3px;align-items:center;gap:10px;margin-bottom:24px;padding:0 4px;font-size:17px;font-weight:700;display:flex}.side-brand .ic{background:var(--black);width:36px;height:36px;color:var(--white);border-radius:10px;justify-content:center;align-items:center;font-weight:700;display:flex}.side-item{color:var(--muted);text-align:left;border-radius:12px;align-items:center;gap:12px;width:100%;padding:10px 12px;font-size:14px;font-weight:600;display:flex}.side-item:hover{background:var(--pill)}.side-item.active{background:var(--pill);color:var(--black)}.side-item .ico{opacity:.6;flex-shrink:0}.side-item.active .ico{opacity:1}.side-spacer{flex:1}.side-add{background:var(--black);color:var(--white);border-radius:12px;margin-bottom:12px;padding:12px;font-size:14px;font-weight:600}.side-user{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;padding:0 4px;font-size:11px;overflow:hidden}@media (min-width:860px){.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;gap:4px;width:248px;padding:24px 16px;display:flex}.nav{display:none}.content,.pg,.st,.ci{padding:40px 48px 56px}.add{padding:24px 24px 56px}.add-head{padding:28px 24px 8px}.home-head h1{font-size:28px}.tabbar{padding:12px 48px}.summary .v{font-size:28px}.summary{padding:18px 22px}.ci-grid{grid-template-columns:1fr 1fr;align-items:start;gap:64px;display:grid}.ci .big{letter-spacing:-10px;font-size:140px;line-height:140px}.pg-grid{grid-template-columns:380px 1fr;align-items:start;gap:64px;display:grid}.pg-left{position:sticky;top:0}.st-grid{grid-template-columns:1fr 1fr;align-items:start;gap:32px;display:grid}.overlay{align-items:center}.sheet{border-radius:24px;max-width:440px;padding-bottom:28px}.legal-head{padding-inline:48px}.home-head .circle-btn.plus{display:none}}@media (max-width:859px){.summary .v{font-size:20px}.summary .l{font-size:9px}}.onb .light-btn,.celebrate .stats,.celebrate .actions{max-width:400px}.past{margin-bottom:24px}.past-hint{color:var(--muted);margin:6px 0 12px;font-size:12px}.past .card{margin-bottom:0}.past-date{text-transform:capitalize;white-space:normal;font-size:14px}.past-btns{flex-shrink:0;gap:6px;display:flex}.past-btns button{background:var(--pill);color:var(--muted);border-radius:10px;padding:7px 14px;font-size:13px;font-weight:600}.past-btns button.on{background:var(--black);color:var(--white)}
