:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,PingFang SC,Microsoft YaHei,sans-serif;color:#222925;background:#f8f7f3;font-synthesis:none;font-weight:400;--green: #315c45;--sage: #a8c4a0;--cream: #f8f7f3;--light: #e8f0e3;--muted: #737d73;--line: #e8eae1}*{box-sizing:border-box}body{margin:0;-webkit-tap-highlight-color:transparent}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button,a{-webkit-touch-callout:none}a{color:inherit;text-decoration:none}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #82a67e;outline-offset:4px}button{min-height:44px}h1,h2,h3,p{margin:0}h1{letter-spacing:-1.2px}h2{font-size:19px;font-weight:600;letter-spacing:-.4px}h3{font-size:16px;font-weight:600}p{line-height:1.75}strong{font-variant-numeric:tabular-nums}svg{flex-shrink:0}.app-shell{max-width:1180px;margin:auto;display:flex;justify-content:center}.phone-content{width:100%;max-width:520px;min-height:100dvh;position:relative}.main-content{padding:max(26px,env(safe-area-inset-top)) 24px calc(110px + env(safe-area-inset-bottom));min-height:100dvh}.desktop-brand{display:none}.wordmark{font-size:25px;letter-spacing:4px;font-weight:600;color:var(--green)}.wordmark span{letter-spacing:1.5px;font-size:15px;font-weight:500;padding-left:12px}.home-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:12px}.home-header p{font-size:11px;color:var(--muted);margin-top:8px;letter-spacing:.3px}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;background:#efeee8;color:var(--green)}.forest-hero{text-align:center;position:relative}.hero-kicker{font-size:11px;color:var(--green);letter-spacing:2px;display:flex;align-items:center;justify-content:center;gap:7px}.live-dot{width:5px;height:5px;background:#8aaf78;border-radius:50%}.forest-hero h1{font-size:30px;font-weight:550;line-height:1.55;margin-top:14px;color:#2e4637}.hero-subtitle{font-size:12px;color:var(--muted);margin-top:10px;letter-spacing:.3px}.mother-tree{height:255px;position:relative;max-width:360px;margin:-2px auto 7px}.mother-tree .tree{height:100%;width:100%;filter:drop-shadow(0 7px 15px #6e87520a)}.tree-badge{position:absolute;bottom:8px;left:50%;transform:translate(-50%);white-space:nowrap;font-size:10px;background:#f2f3e9;border:1px solid #dfe5d5;color:#607a51;border-radius:20px;padding:6px 12px;display:flex;align-items:center;gap:5px}.growth-heading{display:flex;align-items:center;justify-content:center;gap:8px}.growth-heading h2{font-size:17px}.pill{background:var(--light);color:var(--green);padding:5px 9px;display:inline-block;border-radius:7px;font-size:11px;font-weight:600}.growth-points{display:flex;align-items:center;justify-content:center;gap:8px;margin:10px 0}.growth-points>strong{font-size:28px;font-weight:550;letter-spacing:-.8px}.growth-points>span{font-size:10px;color:var(--muted)}.growth-points .month-points{border-left:1px solid #dce2d4;margin-left:5px;padding-left:12px;color:var(--green)}.growth-points .negative{color:#947d51}.hero-note{font-size:10px;color:var(--muted);margin-bottom:25px}.finance-card{border-radius:22px;background:#fff;padding:22px;box-shadow:0 5px 25px #263a2303}.finance-main>span{display:flex;gap:7px;align-items:center;font-size:12px;color:#687c64}.finance-main>strong{display:block;font-size:32px;font-weight:550;letter-spacing:-1px;margin:9px 0 4px;color:var(--green)}.finance-main p{font-size:10px;color:var(--muted)}.finance-bottom{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #eff0e9;margin-top:17px;padding-top:17px;gap:12px}.finance-bottom>div+div{border-left:1px solid #eff0e9;padding-left:20px}.finance-bottom span{display:block;font-size:11px;color:var(--muted)}.finance-bottom strong{display:block;margin-top:7px;font-size:18px;font-weight:550;letter-spacing:-.5px}.primary,.soft,.danger{border-radius:14px;padding:15px 18px;min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:500;transition:transform .2s,background .2s}.primary{background:var(--green);color:#fff;box-shadow:0 5px 12px #315c4510}.primary:active,.soft:active{transform:scale(.98)}.soft{background:var(--light);color:var(--green)}.danger{background:#f3e9e3;color:#92513f;margin-top:20px}.full{width:100%}.add-main{margin-top:15px;margin-bottom:29px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:25px 0 15px}.section-heading h2{font-size:18px;display:flex;align-items:center;gap:9px}.section-heading h2 span{font-size:11px;color:var(--muted);font-weight:400;letter-spacing:1px}.section-heading>a{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted)}.wish-card{background:#fff;border-radius:20px;padding:16px;margin-bottom:12px}.wish-link{display:flex;align-items:center;gap:11px;min-width:0}.wish-illustration{width:85px;height:100px;flex-shrink:0;background:#f1f4e9;border-radius:15px;overflow:hidden}.wish-illustration .tree{width:110%;height:110%;margin-left:-5%;margin-top:-4%}.wish-copy{flex:1;min-width:0}.eyebrow{font-size:9px;letter-spacing:1.4px;color:var(--muted);font-weight:500}.wish-copy .eyebrow{letter-spacing:.5px}.wish-copy h3{margin:4px 0 6px;word-break:break-word}.wish-price{font-size:17px;font-weight:550;letter-spacing:-.4px}.muted{color:var(--muted)}.wish-copy .muted{font-size:10px;margin-top:5px}.micro{font-size:10px;color:var(--muted);line-height:1.8}.wish-copy .micro{font-size:9px;margin-top:2px}.chevron{color:#a2ad9c}.compact{padding:12px}.compact .wish-illustration{width:68px;height:78px}.compact .wish-copy h3{font-size:14px}.compact .wish-price{font-size:15px}.compact .eyebrow{font-size:9px}.branch-progress{display:flex;gap:5px;margin:16px 0 12px}.branch-progress span{height:4px;border-radius:4px;flex:1;background:#e9eee1}.branch-progress .done{background:#8eac7e}.card-actions{display:flex;gap:10px}.card-actions .soft{font-size:12px;flex:1;min-height:44px;padding:10px}.quiet{font-size:12px;color:var(--muted);padding:10px}.empty-mini{text-align:center;border:1px dashed #d9dfd1;border-radius:18px;padding:25px 12px;color:#819777}.empty-mini p{font-size:11px;margin:10px 0}.text-button{font-size:12px;color:var(--green);padding:10px}.closing-note{text-align:center;font-size:11px;color:#91a087;margin:29px 0 24px}.closing-note span{display:block;letter-spacing:2px;font-size:8px;margin-top:5px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:520px;z-index:10;display:flex;justify-content:space-around;padding:9px 10px calc(9px + env(safe-area-inset-bottom));background:#f8f7f3eb;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-top:1px solid #e7e8de}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;color:#8a9284;font-size:10px;min-height:48px;min-width:60px}.bottom-nav a>span{display:flex;align-items:center;justify-content:center;height:30px;width:54px;border-radius:12px}.bottom-nav a.active{color:var(--green);font-weight:600}.bottom-nav a.active>span{background:#e8eedf}.page-heading{margin:20px 0 25px}.page-heading h1{font-size:32px;font-weight:550;margin:9px 0 10px}.page-heading h1>span{font-size:16px;color:#93a286;margin-left:12px;font-weight:400}.page-heading p{font-size:12px;color:var(--muted)}.tip-card{display:flex;gap:12px;align-items:center;background:#eaf0e3;border-radius:16px;padding:16px;margin-bottom:20px;color:#607951}.tip-card p{font-size:11px}.empty-state{text-align:center;padding:60px 8px;color:#90a17f}.empty-state h2{font-size:18px;color:var(--green);margin:17px 0 9px}.empty-state p{font-size:12px;color:var(--muted)}.empty-state a{display:inline-block;margin:20px}.back-link{display:inline-flex;gap:8px;align-items:center;font-size:12px;color:var(--green);min-height:44px}.detail-heading{text-align:center;margin-top:20px}.detail-heading h1{font-size:28px;margin:9px 0;overflow-wrap:anywhere}.detail-heading p{font-size:24px;font-weight:500;color:var(--green)}.detail-tree{height:275px;max-width:360px;margin:-10px auto}.detail-tree .tree{width:100%;height:100%}.detail-status{text-align:center;margin:0 0 25px}.detail-status p{font-size:11px;color:var(--muted);margin-top:10px}.detail-info{background:#fff;border-radius:18px;padding:18px;font-size:11px}.detail-info>div{display:flex;gap:12px;justify-content:space-between;margin:4px 0 10px}.detail-info span{color:var(--muted)}.reason{margin-top:15px;border-top:1px solid var(--line);padding-top:15px;color:#71836a;overflow-wrap:anywhere}.small-heading{margin:27px 0 18px;font-size:17px}.timeline{padding:0;list-style:none}.timeline li{display:flex;gap:13px;padding:0 0 24px;position:relative;align-items:flex-start}.timeline li:not(:last-child):before{content:"";position:absolute;top:25px;bottom:0;left:12px;border-left:1px solid #dfe4d6}.timeline li>span{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e8ebdf;color:#8c9980;font-size:11px;flex-shrink:0}.timeline li.recorded>span{background:var(--green);color:#fff}.timeline strong{font-size:12px;font-weight:500}.timeline p{font-size:10px;color:var(--muted);margin-top:5px}.detail-actions{display:flex;flex-direction:column;gap:11px}.sheet{position:fixed;inset:auto 0 0;margin:0 auto;max-width:520px;width:100%;border:0;border-radius:28px 28px 0 0;padding:0;background:var(--cream);color:#222925;max-height:92dvh;overscroll-behavior:contain;box-shadow:0 -12px 50px #1b2d2914}.sheet::backdrop{background:#1d2e294d;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.sheet-content{padding:12px 25px calc(30px + env(safe-area-inset-bottom))}.sheet-handle{width:35px;height:4px;background:#d5dacd;border-radius:4px;margin:0 auto 12px}.sheet-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.sheet-header h2{font-size:21px}.sheet p{font-size:12px;margin-bottom:17px}.sheet .full+.full{margin-top:12px}label{display:block;font-size:12px;font-weight:500;margin:20px 0}input,select,textarea{width:100%;display:block;padding:15px 14px;border:1px solid #e3e7db;background:#fff;color:#222925;border-radius:12px;margin-top:9px;outline-offset:0;font-size:16px;max-width:100%}textarea{resize:vertical;min-height:90px}input::placeholder,textarea::placeholder{color:#a1a799}.amount-field{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e3e7db;border-radius:12px;margin-top:9px;padding-left:15px;font-size:22px;color:var(--green)}.amount-field input{margin:0;border:0;background:transparent;font-size:26px;padding-left:0;width:calc(100% - 40px)}.error{background:#f7e8df;color:#92513f;border-radius:10px;padding:12px}.toast{position:fixed;bottom:calc(95px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);z-index:100;width:calc(100% - 40px);max-width:470px;background:#294b38f5;color:#fff;border-radius:16px;box-shadow:0 8px 30px #26412d22;display:flex;align-items:center;gap:10px;padding:12px 16px;animation:toast-in .25s ease-out}.toast span{flex:1;font-size:12px;line-height:1.7}.toast button{display:flex;align-items:center;padding:0;min-width:30px;color:#fff}.privacy-footer{font-size:9px;text-align:center;letter-spacing:1px;color:#949e8b;margin:25px 0 0}.install-guide{display:flex;gap:11px;padding:18px;background:#eef0e5;border-radius:18px;margin:24px 0;color:var(--green);align-items:center}.install-guide>div{flex:1}.install-guide strong{font-size:12px;font-weight:500}.install-guide p{font-size:10px;color:#728366;margin:5px 0}.install-guide span{font-size:9px;color:#819173}.install-guide .icon-button{width:30px;min-height:44px;background:transparent}.status-banner{font-size:11px;padding:12px 14px;border-radius:12px;background:#e8efdf;color:var(--green);display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:14px;line-height:1.7}.status-banner button{color:var(--green);font-weight:600;text-decoration:underline;flex-shrink:0;padding:0 4px}.period-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.segmented{display:flex;gap:3px;padding:4px;background:#eceee4;border-radius:12px;flex-shrink:0}.segmented button{padding:0 17px;border-radius:9px;font-size:12px;min-height:35px;color:var(--muted)}.segmented button.active{background:#fff;color:var(--green);box-shadow:0 2px 5px #00000005}.period-controls input{font-size:12px;margin:0;padding:11px 8px;width:150px;min-width:0}.period-label{margin:10px 0 15px}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stats-grid>div{padding:18px 14px;border-radius:17px;background:#fff;overflow-wrap:anywhere}.stats-grid span{display:block;font-size:11px;color:var(--muted)}.stats-grid strong{display:block;font-size:22px;font-weight:550;margin-top:10px;letter-spacing:-.8px;color:var(--green)}.stats-grid small{font-size:11px;font-weight:400;color:var(--muted)}.stats-grid+p{margin:12px 0}.chart-card{background:#fff;padding:18px;border-radius:20px;margin:22px 0}.chart-card .section-heading{margin-top:0}.chart-card h2{font-size:16px}.legend{display:flex;gap:15px;font-size:10px;color:var(--muted)}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:6px;height:6px;background:#b7cd9c;border-radius:2px}.legend i.spent-dot{background:#41654a}.bar-chart{display:flex;justify-content:space-around;height:150px;margin-top:18px}.bar-column{display:flex;flex-direction:column;height:100%;align-items:center;flex:1;gap:8px}.bar-column>span{font-size:9px;color:var(--muted)}.bar-pair{height:120px;width:100%;display:flex;gap:4px;justify-content:center;align-items:flex-end;border-bottom:1px solid #f0f1eb}.bar{width:13px;max-width:22%;background:#b7cd9c;border-radius:4px 4px 0 0}.bar.spent{background:#41654a}.chart-subtitle{font-size:11px;font-weight:400;color:var(--muted);margin-top:20px}.line-chart{width:100%;height:auto;margin-top:12px;overflow:visible}.line-chart text{fill:#7a886e;font-size:9px}.chart-table{font-size:10px;color:var(--muted);margin-top:12px}.chart-table summary{min-height:32px;padding-top:8px;cursor:pointer}.chart-table table{width:100%;border-collapse:collapse;font-size:9px}.chart-table th,.chart-table td{text-align:right;padding:9px 2px;border-bottom:1px solid var(--line)}.support-note{font-size:10px;color:var(--muted);line-height:1.9;text-align:center;margin:12px 0 22px}.ledger-row,.history-row{display:flex;gap:11px;align-items:center;border-bottom:1px solid var(--line);padding:15px 0}.ledger-row>div,.history-row>div{flex:1;min-width:0}.ledger-row h3,.history-row h3{font-size:13px;font-weight:500;overflow-wrap:anywhere}.ledger-row p,.history-row p{font-size:10px;color:var(--muted);margin-top:4px}.ledger-row strong,.history-row strong{font-size:13px;letter-spacing:-.3px;flex-shrink:0}.ledger-icon{width:34px;height:38px;border-radius:12px;background:#e8eedf;display:flex;align-items:center;justify-content:center;color:#80996c;flex-shrink:0}.ledger-row .icon-button{width:32px;min-width:32px;background:transparent}.empty-text{font-size:12px;color:var(--muted);padding:22px 0}.privacy-card{display:flex;gap:14px;background:#e9efdf;border-radius:18px;padding:21px;color:var(--green);margin-bottom:25px}.privacy-card h2{font-size:15px;margin-bottom:6px}.privacy-card p{font-size:11px;color:#75856b}.settings-group{border-radius:19px;background:#fff;padding:20px;margin-bottom:19px}.settings-group h2{font-size:15px;margin-bottom:15px}.settings-group>button{display:flex;gap:12px;width:100%;align-items:center;text-align:left;padding:14px 0;color:var(--green);border-bottom:1px solid #eff1e9}.settings-group>button:last-child{border-bottom:0}.settings-group>button>span{flex:1;font-size:12px}.settings-group small{display:block;font-size:10px;color:var(--muted);margin-top:6px;line-height:1.7}.settings-group>p{font-size:11px;margin:10px 0;color:var(--muted)}.settings-group .storage-status{padding:12px;background:#f0f4e9;border-radius:10px;color:var(--green)}.settings-group .support-note{text-align:left;margin-bottom:0}.rules{padding:10px 3px;margin:10px 0 20px;font-size:12px;color:var(--green)}.rules summary{min-height:44px;cursor:pointer;padding-top:10px}.rules p{font-size:11px;margin:10px 0;color:var(--muted)}.version{font-size:10px;text-align:center;color:#95a089;line-height:2.2;margin:28px 0}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.loading,.fatal{min-height:80dvh;max-width:440px;margin:auto;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;padding:30px;text-align:center;color:var(--green)}.loading p{font-size:13px}.fatal h1{font-size:24px}.fatal p{font-size:13px;color:var(--muted)}.falling-branch{animation:branch-fall .85s ease-in both}.shaking{animation:tree-shake .55s ease-out}.tree{overflow:visible}.wish-list{margin-bottom:22px}@keyframes branch-fall{0%{opacity:1;transform:rotate(0) translate(0)}25%{transform:rotate(12deg) translate(5px)}to{opacity:0;transform:translate(22px,85px) rotate(45deg)}}@keyframes tree-shake{0%,to{transform:rotate(0)}25%{transform:rotate(-2deg)}55%{transform:rotate(1.6deg)}75%{transform:rotate(-.8deg)}}@keyframes toast-in{0%{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}@media(min-width:900px){body{background:#edeee5}.app-shell{justify-content:space-between;gap:70px;padding:0 60px}.desktop-brand{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:sticky;top:0;height:100dvh;flex:1}.desktop-brand .wordmark{font-size:45px;letter-spacing:9px}.desktop-brand h2{font-size:30px;font-weight:400;color:var(--green);line-height:1.9;margin:40px 0 20px}.desktop-brand p{font-size:12px;color:#819173}.desktop-brand>span:last-child{font-size:9px;letter-spacing:2px;color:#829376;margin-top:65px}.phone-content{max-width:460px;background:var(--cream);box-shadow:0 0 90px #4f684509}.bottom-nav{left:auto;right:max(60px,calc((100vw - 1180px)/2 + 60px));transform:none;max-width:460px}.main-content{padding-left:28px;padding-right:28px}.sheet{bottom:30px;inset-inline:0;border-radius:26px;max-height:90dvh}.sheet-content{padding-bottom:30px}.sheet-handle{display:none}}@media(max-width:360px){.main-content{padding-left:17px;padding-right:17px}.forest-hero h1{font-size:27px}.finance-main>strong{font-size:28px}.finance-bottom strong{font-size:16px}.stats-grid strong{font-size:19px}.wordmark span{padding-left:8px}.wish-illustration{width:65px;height:90px}.period-controls{gap:6px}.segmented button{padding:0 14px}.ledger-row{gap:6px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.falling-branch{opacity:0!important}}.mother-tree.growing .tree{animation:gentle-grow .85s ease-out;transform-origin:center bottom}@keyframes gentle-grow{0%{transform:scale(.96)}60%{transform:scale(1.02)}to{transform:scale(1)}}
