:root{--m-ink:#202c28;--m-muted:#84928a;--m-line:#e5e9e2;--m-cream:#faf9f6;--m-peach:#f4ded1;--m-green:#3d6954;--m-lilac:#b9afc6}
#legacyZone{display:none!important}#legacyZone.legacy-visible{display:block!important}#legacyZone.legacy-visible .app{padding-bottom:2rem}#legacyZone.legacy-visible .tabs{display:none}
#m-app{min-height:100dvh;background:var(--m-cream);color:var(--m-ink);font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN',sans-serif}#m-app button{cursor:pointer}#m-app button:focus-visible{outline:2px solid #557966;outline-offset:3px}
.m-top{max-width:620px;margin:0 auto;padding:22px 24px 0;display:flex;align-items:center;justify-content:space-between}.m-brand{font-size:28px;font-weight:850;letter-spacing:-2px}.m-brand span{color:#87b49d}.m-top-right{display:flex;gap:12px;align-items:center}.m-top-right button{background:#f0f0eb;border:0;border-radius:30px;padding:10px 13px;color:#385b49;font-weight:800;font-size:15px}.m-top-right button span{font-size:11px;vertical-align:1px}
.m-main{max-width:620px;margin:0 auto;padding:22px 23px calc(117px + env(safe-area-inset-bottom))}.m-page{display:none;animation:m-appear .22s ease}.m-page.active{display:block}@keyframes m-appear{from{opacity:.2;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.m-eyebrow{font-size:10px;color:#8d9d8d;letter-spacing:2px;font-weight:800;text-transform:uppercase;margin-bottom:8px}.m-page h1{font-size:34px;line-height:1.17;letter-spacing:-.055em;margin:9px 0 24px;font-weight:830}.m-page h2{font-size:15px;font-weight:800;letter-spacing:-.02em;margin:0}.m-lead{color:#66746b;line-height:1.8;margin:-12px 0 23px;font-size:13px}.m-tiny{font-size:11px;color:#89958d;line-height:1.6;margin:12px 3px 20px}.m-section-header{display:flex;justify-content:space-between;align-items:center;margin:30px 0 12px}.m-text-btn{border:0;background:transparent;color:#3b7760;font-weight:750;font-size:12px;padding:9px}.m-paper{border-radius:19px;background:#fff;padding:4px 14px;box-shadow:0 5px 25px #18241d08}.m-empty{color:#95a095;text-align:center;font-size:13px;line-height:1.8;padding:25px 12px}.hidden{display:none!important}
.m-vibe{height:248px;position:relative;overflow:hidden;border-radius:25px;margin-top:16px;background:linear-gradient(135deg,#9298a4,#bcb4bd 62%,#e0cecc);box-shadow:0 13px 32px #5b655522;transition:background .7s ease}.m-vibe svg{position:absolute;inset:18px 9px 38px;width:calc(100% - 18px);height:calc(100% - 56px);filter:drop-shadow(0 4px 8px #0001)}.m-vibe:before{content:'';position:absolute;border-radius:50%;width:280px;height:280px;background:#ffffff45;filter:blur(70px);top:-100px;right:-65px}.m-vibe:after{content:'';position:absolute;border-radius:50%;width:200px;height:100px;background:#fff8;filter:blur(65px);bottom:-80px;left:-65px}.m-vibe-steady{background:linear-gradient(129deg,#406e58,#7dab8c 53%,#cddcc0)}.m-vibe-caution{background:linear-gradient(128deg,#bf9670,#dfc29b 58%,#e8ddbd)}.m-vibe-risk{background:linear-gradient(127deg,#865f67,#ca8e87 58%,#e3b2a9)}.m-vibe-bars{position:absolute;display:flex;gap:6px;left:20px;bottom:19px;height:28px;align-items:end}.m-vibe-bars i{width:7px;background:#fff;border-radius:6px}.m-event{display:flex;align-items:center;gap:10px;padding:15px 2px;border-bottom:1px solid var(--m-line)}.m-event:last-child{border:0}.m-event-date{background:#f0f3ed;border-radius:12px;padding:8px 6px;min-width:46px;text-align:center;font-size:12px;font-weight:750;color:#516c5d}.m-event-middle{flex:1;min-width:0}.m-event-middle strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m-event-middle small{display:block;font-size:10px;color:#89988e;margin-top:5px}.m-event-amount{font-size:13px;font-weight:770;white-space:nowrap}.m-event-amount.incoming{color:#39816a}.m-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:22px}.m-shortcuts button{border:0;border-radius:19px;background:#f0f0e9;display:flex;align-items:center;gap:9px;text-align:left;padding:13px 10px;color:#28473a}.m-short-icon{width:32px;height:34px;background:#dee7dc;border-radius:11px;display:grid;place-items:center;font-size:19px}.m-shortcuts button>span:nth-child(2){flex:1;min-width:0}.m-shortcuts b{font-size:12px;display:block}.m-shortcuts small{display:block;font-size:9px;margin-top:4px;color:#86968a}.m-shortcuts button>span:last-child{font-size:20px;color:#97a89b}
.m-tabs{position:fixed;z-index:20;bottom:0;left:0;right:0;padding:9px max(16px,calc((100vw - 620px)/2 + 20px)) calc(9px + env(safe-area-inset-bottom));background:#fffc;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-top:1px solid #ecece5;display:grid;grid-template-columns:repeat(4,1fr);gap:2px}.m-tab{border:0;background:transparent;border-radius:13px;color:#939c95;font-size:10px;font-weight:690;display:flex;flex-direction:column;align-items:center;gap:2px;padding:5px 3px}.m-tab span{font-size:22px;font-weight:600;line-height:1.3}.m-tab.active{color:#315e49}.m-tab.active span{transform:translateY(-1px)}
.m-joy-summary{background:#fff;border-radius:19px;padding:16px;margin-bottom:10px}.m-joy-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#4d6658}.m-joy-head span{color:#9a9f98}.m-joy-segments{display:flex;height:10px;overflow:hidden;border-radius:12px;background:#e6e7e1;margin:18px 0 13px}.m-joy-segments span{min-width:0;transition:width .3s}.m-legend{display:flex;flex-wrap:wrap;gap:13px;color:#718078;font-size:10px}.m-legend span{display:flex;align-items:center;gap:5px}.m-legend i{width:9px;height:9px;border-radius:50%}.m-filter{font-size:12px;background:#fff;border:1px solid #e4e8e0;color:#425c4c;border-radius:12px;padding:8px}.m-expense{background:#fff;border-radius:17px;padding:16px;margin-bottom:10px}.m-expense-top{display:flex;align-items:start;justify-content:space-between;gap:10px}.m-expense-top>div{flex:1;min-width:0}.m-expense-top b{display:block;font-size:13px;word-wrap:break-word}.m-expense-top strong{font-size:15px;white-space:nowrap}.m-expense-top small{display:block;color:#919a92;margin-top:6px;font-size:10px}.m-feels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:17px}.m-feels button{border:1px solid #ebebe6;background:#f8f8f4;padding:10px 2px;font-size:12px;border-radius:12px;color:#7a857d;font-weight:700}.m-feels button.on.happy{background:#d9eadf;border-color:#a9d1b9;color:#325e49}.m-feels button.on.okay{background:#f7ebce;border-color:#e5cf94;color:#8b6b35}.m-feels button.on.regret{background:#f5e0db;border-color:#e3b8ad;color:#99645c}.m-expense-tail{display:flex;justify-content:space-between;margin-top:12px}.m-expense-tail button{font-size:11px;color:#799083;border:0;background:transparent;padding:6px 2px}.m-more,.m-outline{background:#fff;border:1px solid #dce5dc;color:#456d57;padding:12px 14px;border-radius:13px;font-weight:700}.m-more{width:100%;margin-top:7px}
.m-trip-preamble{color:#67776c;font-size:13px;margin:-10px 0 16px}.m-trip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.m-trip-tile{border:0;background:#fff;border-radius:17px;overflow:hidden;text-align:left;padding:0;box-shadow:0 7px 22px #18241d08}.m-trip-art{height:138px;background:linear-gradient(145deg,#acc2b3,#e2d6bb);position:relative;color:#2a4c3c;padding:14px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.m-trip-art:after{content:'';position:absolute;right:-60px;bottom:-55px;width:210px;height:150px;border:1px solid #ffffff88;border-radius:60%;box-shadow:0 0 0 18px #fff3,0 0 0 48px #fff3;transform:rotate(-25deg)}.m-trip-art small{font-size:8px;letter-spacing:1.3px;font-weight:800;position:relative;z-index:1}.m-trip-art span{font-weight:850;font-size:20px;line-height:1.1;letter-spacing:-1px;position:relative;z-index:1;word-break:break-word}.m-art1 .m-trip-art{background:linear-gradient(145deg,#c5c1be,#e1c6ae)}.m-art2 .m-trip-art{background:linear-gradient(145deg,#adc5c7,#d3d2ca)}.m-art3 .m-trip-art{background:linear-gradient(145deg,#c8bcaf,#e1d3c5)}.m-trip-bottom{display:flex;flex-direction:column;gap:6px;padding:13px 13px 16px}.m-trip-bottom strong{font-size:13px}.m-trip-bottom small{font-size:10px;color:#9a9f99}.m-trip-bottom span{font-size:11px;color:#577762;margin-top:4px}.m-seeds{margin:18px 0}.m-seed{display:inline-flex;border:1px solid #dbe3da;background:#fff;border-radius:18px;padding:9px 12px;margin:3px;color:#4e715d;font-size:12px;font-weight:700}.m-back{border:0;background:transparent;color:#54725b;padding:10px 0;font-weight:750}.m-trip-detail-head{background:linear-gradient(130deg,#bbcdbb,#f0e1cd);border-radius:20px;padding:23px;margin:11px 0}.m-trip-detail-head small{letter-spacing:2px;font-size:10px}.m-trip-detail-head h2{font-size:27px;margin:13px 0;line-height:1.1}.m-trip-detail-head p{font-size:12px;line-height:1.6}.m-trip-totals{display:grid;grid-template-columns:1.5fr 1fr;gap:10px;margin-bottom:12px}.m-trip-totals>div{background:#fff;border-radius:16px;padding:15px}.m-trip-totals small{display:block;color:#8b988d;font-size:10px;margin-bottom:10px}.m-trip-totals b{font-size:20px}.m-btnrow{display:flex;gap:8px;flex-wrap:wrap}.m-btnrow button{flex:1}.m-compact-row{width:100%;border:0;border-bottom:1px solid var(--m-line);background:transparent;display:flex;justify-content:space-between;gap:8px;align-items:center;padding:14px 0;text-align:left}.m-compact-row:last-child{border:0}.m-compact-row strong{font-size:12px;display:block}.m-compact-row small{font-size:10px;color:#9b9f99;display:block;margin-top:6px}.m-compact-row b{font-size:13px}.m-trip-candidates{margin:14px 0;background:#f1f3ed;padding:15px;border-radius:16px}.m-trip-candidates summary{font-weight:800;font-size:12px;color:#436451;cursor:pointer}.m-candidate{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce3d9;padding:12px 0;gap:10px;font-size:11px}.m-candidate span{flex:1}.m-candidate small{display:block;color:#89968a;margin-top:3px}.m-candidate button{border:0;border-radius:10px;padding:8px;background:#d9e7d9;color:#436451;font-weight:750}
.m-invest-hero{background:linear-gradient(145deg,#315747,#547c60);color:#fff;border-radius:24px;padding:20px;min-height:140px}.m-invest-hero .m-eyebrow{color:#d1e4cc}.m-invest-amount{font-size:34px;font-weight:850;letter-spacing:-.06em;margin:16px 0 4px}.m-invest-caption{font-size:11px;color:#d9e8d9;line-height:1.7}.m-transmutation{width:100%;border:0;background:#fff;border-radius:18px;padding:16px;display:flex;align-items:start;gap:14px;text-align:left;margin-bottom:9px;color:var(--m-ink)}.m-trans-number{border-radius:10px;background:#e6eddf;color:#5c7959;font-size:13px;font-weight:800;padding:7px}.m-trans-body{flex:1;display:flex;flex-direction:column;gap:6px}.m-trans-body small{font-size:10px;color:#99a197}.m-trans-body strong{font-size:13px}.m-trans-arrow{color:#75a98b;font-weight:900}.m-trans-body b{font-size:16px;color:#416a4c}.m-trans-body span{font-size:11px;color:#85948a;line-height:1.6}.m-trans-chevron{color:#adb5ad;font-size:19px}.m-holding{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 1px;border-bottom:1px solid var(--m-line)}.m-holding:last-child{border:0}.m-holding b{font-size:12px;max-width:210px}.m-holding small{display:block;color:#9aa49c;font-size:10px;margin-top:5px}.m-holding> b{white-space:nowrap}
.m-tools-section{padding:20px;margin-bottom:14px}.m-tools-section h2{margin:0 0 12px}.m-tools-section p{font-size:12px;line-height:1.7;color:#6d796e}.m-tools-section label{display:block;color:#6e806f;font-size:11px;margin:10px 0}.m-tools-section input{display:block;width:100%;min-height:42px;padding:10px;border:1px solid #d9e3d8;border-radius:11px;margin:8px 0}.m-solid{display:block;width:100%;border:0;background:#426a54;border-radius:13px;color:white;padding:15px;font-size:13px;font-weight:800;margin:14px 0}.m-tools-section .m-outline{margin:6px 0}.m-file{border:1px solid #dfe9df;padding:10px;border-radius:12px}.m-file input{border:0;min-height:0}.m-advanced{background:#f0f1ec;padding:14px;border-radius:15px;margin:10px 0}.m-advanced summary{font-size:12px;color:#6b8273;font-weight:700}.m-advanced p{font-size:12px;line-height:1.7;color:#849489}.m-syncbanner{max-width:620px;margin:12px auto;background:#e3eee3;padding:12px;border-radius:14px;font-size:12px;color:#426a54;line-height:1.6}
.m-overlay{position:fixed;inset:0;z-index:1000;background:#1d29205c;display:flex;align-items:flex-end;justify-content:center}.m-sheet{background:#fafaf7;width:min(620px,100%);border-radius:23px 23px 0 0;padding:16px 22px calc(20px + env(safe-area-inset-bottom));max-height:88dvh;overflow:auto}.m-sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.m-sheet-head h2{font-size:18px;margin:0}.m-sheet-head button{border:0;background:#ecefe7;border-radius:50%;font-size:22px;height:34px;width:34px}.m-sheet-intro{background:white;padding:15px;border-radius:15px;display:flex;flex-direction:column;gap:8px;font-size:12px}.m-sheet-intro strong{font-size:22px}.m-sheet label{display:block;font-size:12px;color:#6d816d;margin:14px 0}.m-sheet input,.m-sheet textarea{display:block;background:#fff;border:1px solid #dde7dc;border-radius:12px;padding:12px;width:100%;margin-top:7px;color:#1d3027;font-size:14px}.m-sheet .m-outline{width:100%;margin:6px 0}.m-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.m-sheet-preview{background:#e7efe4;color:#496a50;padding:13px;border-radius:12px;font-size:12px}.m-small-panel{border-top:1px solid #e0e7de;margin-top:18px;padding-top:12px;color:#637c67;font-size:12px}.m-collect-list button,.m-split-choices button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:0;border-bottom:1px solid #edf0e9;text-align:left;padding:13px 8px;color:#334b3b}.m-collect-list button strong{font-size:12px}.m-collect-list button small,.m-split-choices small{color:#96a299;font-size:10px}.m-collect-list button b,.m-split-choices b{font-size:12px;color:#426f52}.m-split-choices{max-height:38vh;overflow:auto}.m-delete{color:#a76868;border-color:#ebd8d5}
@media(min-width:660px){.m-trip-art{height:155px}.m-vibe{height:280px}.m-page h1{font-size:41px}}@media(prefers-reduced-motion:reduce){.m-page{animation:none}}

.m-nature-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.m-nature-actions button{background:#f2f4ec;color:#4d6b56;border:1px solid #dce5da;border-radius:12px;padding:16px 8px;font-size:13px;font-weight:700}.m-nature-actions button.selected{background:#cfe7d6;color:#25553f;border-color:#93bea3}.m-expense-tail{gap:9px;flex-wrap:wrap}.m-expense-tail button{white-space:nowrap}

/* The home schedule is an editable list, not merely display text. */
button.m-event{width:100%;text-align:left;appearance:none;border:none;border-bottom:1px solid var(--m-line);background:transparent;color:inherit;cursor:pointer;font:inherit}button.m-event:active{background:#f1f4ee}button.m-event:last-child{border-bottom:0}

.m-syncbanner.m-sync-error{background:#f6e4df;color:#995a53}
