@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--ink:#273c33;--muted:#778079;--green:#38634f;--sage:#eaf0e8;--cream:#f8f8f3;--line:#e4e8df;--peach:#f8ede3;--orange:#ad6847;--white:#fff;--shadow:0 5px 22px #25392c04}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button{color:inherit}a{color:var(--green)}button:focus-visible,a:focus-visible{outline:3px solid #bd925e;outline-offset:4px}input:focus,select:focus{outline:2px solid #87a98e;outline-offset:2px}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;padding:34px 24px;background:#f0f2ea;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{text-decoration:none;display:block;margin:0 14px 48px}.brand-mark{font-family:'Manrope',sans-serif;font-size:48px;letter-spacing:-4px;font-weight:800;line-height:1}.brand-mark span{display:inline-block;font-size:34px;color:#7f9c6e;margin-left:5px;vertical-align:top;letter-spacing:0}.brand>span:last-child{display:block;font-size:9px;letter-spacing:2.2px;margin-top:12px;font-weight:650}.profile-label,.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:var(--muted)}.profile-label{margin:0 12px 12px}.profile-switch{width:100%;padding:11px 10px;display:flex;align-items:center;gap:10px;background:#fff9;border:1px solid #dfe5d8;border-radius:11px;text-align:left;margin-bottom:28px;font-weight:600}.profile-switch>span:last-child{margin-left:auto}.avatar{display:grid;place-items:center;width:32px;height:32px;background:#e5ebdd;border-radius:50%;font-size:12px;flex-shrink:0}#profile-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar nav{display:grid;gap:7px}.sidebar nav button{border:0;background:transparent;padding:14px 14px;border-radius:9px;display:flex;gap:13px;align-items:center;text-align:left;color:#70796e;font-size:13px}.sidebar nav button>span{font-size:20px;width:20px;line-height:1}.sidebar nav button.active{background:var(--green);color:#fff}.sidebar nav button:hover:not(.active){background:#e5eadf}.sidebar-bottom{margin-top:auto;padding:35px 12px 0}.small-flower{color:#879f72;font-size:38px}.sidebar-bottom p{font-family:Manrope,sans-serif;font-size:19px;font-weight:650;line-height:1.6;margin:8px 0 35px}.text-button{border:0;padding:0;background:transparent;color:var(--green);font-size:12px;font-weight:600}.text-button span{margin-left:9px}.version{display:block;font-size:9px;color:#889180;margin-top:16px}main{margin-left:238px;padding:32px 44px 0;max-width:1660px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:41px}.header-right{display:flex;align-items:center;gap:20px}.date-label{color:#7d857c;font-size:12px}.round-button{background:transparent;border:1px solid #dbe1d5;border-radius:50%;height:28px;width:28px;color:#7d857c}.page-top{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:27px}.page-top h1{font-family:Manrope,sans-serif;font-size:31px;font-weight:650;letter-spacing:-1.1px;margin:0 0 9px}.page-top p{color:var(--muted);margin:0;line-height:1.6;font-size:13px}.pill{border:1px solid #dbe3d5;border-radius:30px;padding:8px 14px;font-size:11px;background:#eef2e9;white-space:nowrap}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7e9c72;margin-right:7px}.grid-top{display:grid;grid-template-columns:1.58fr 1fr;gap:22px;margin-bottom:22px}.card{border:1px solid var(--line);border-radius:17px;background:#fff;padding:25px;box-shadow:var(--shadow)}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:10px}.card h2{font-family:Manrope,sans-serif;font-size:16px;font-weight:700;margin:0;letter-spacing:-.3px}.card h3{font-size:14px;margin:0 0 8px}.card-heading>span,.small{font-size:11px;color:var(--muted)}.wallet{background:#edf2e9;position:relative;overflow:hidden;min-height:283px}.wallet .card-heading{margin-bottom:12px}.wallet-main{display:flex;align-items:center;gap:30px}.pie-large{width:150px;height:150px;flex-shrink:0}.pie-slice{stroke:#edf2e9;stroke-width:5;stroke-linejoin:round}.wallet-number{font-family:Manrope,sans-serif;font-size:46px;letter-spacing:-2px;font-weight:650;line-height:1.1}.wallet-number small{font-family:'DM Sans',sans-serif;font-size:13px;letter-spacing:0;color:#75836f;font-weight:400;margin-left:9px}.wallet-meta{font-size:12px;color:#6f7e6c;margin:10px 0 18px}.button{border:1px solid var(--green);border-radius:8px;padding:11px 17px;background:var(--green);color:#fff;font-weight:550;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none}.button:hover{filter:brightness(.94)}.button.secondary{background:transparent;color:var(--green);border-color:#c7d2c0}.button.light{background:#fff;color:var(--green);border-color:#dce3d6}.button.small-button{padding:8px 12px;font-size:11px}.wallet-foot{border-top:1px solid #dae2d3;margin-top:19px;padding-top:14px;font-size:11px;color:#788570;display:flex;gap:8px}.gold-card{background:var(--peach);border-color:#f0e2d4;display:flex;flex-direction:column}.gold-card .card-heading{margin-bottom:16px}.gold-badge{font-size:10px;border-radius:12px;background:#eedcc8;color:#946d43;padding:5px 10px}.gold-content{display:flex;align-items:center;gap:17px;margin:2px 0 13px}.gold-symbol{width:70px;height:70px;border-radius:50%;background:radial-gradient(circle,#f9e9b8 45%,#e3c678 47%,#f8e4a8 55%,#e1bd69 57%,#f2d69a 70%);display:grid;place-items:center;font-size:29px;color:#a17b35;box-shadow:0 5px 8px #d7ba8522}.gold-content h3{font-family:Manrope;font-size:21px;font-weight:650}.gold-card p{color:#957961;font-size:12px;line-height:1.7;margin:0}.gold-card .button{align-self:flex-start;margin-top:auto;color:#8f6746;border-color:#dcc4ad}.grid-middle{display:grid;grid-template-columns:1.58fr 1fr;gap:22px;margin-bottom:22px}.weight-summary{display:flex;gap:28px;align-items:end}.stat-label{font-size:10px;color:var(--muted);margin-bottom:6px}.stat-value{font-family:Manrope;font-weight:650;font-size:29px;letter-spacing:-1px}.stat-value small{font-size:12px;letter-spacing:0;color:var(--muted);font-family:'DM Sans';font-weight:400}.change{font-size:12px;color:var(--green);padding-bottom:5px}.chart{margin-top:15px;min-height:122px}.chart svg{width:100%;height:145px;display:block}.chart-labels{display:flex;justify-content:space-between;font-size:9px;color:#98a091;margin:3px 8px 0 36px}.empty-chart{height:128px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;background:repeating-linear-gradient(0deg,#fafbf8,#fafbf8 39px,#edf0e8 40px);border-radius:8px;color:#8b9785;font-size:12px;margin-top:17px;text-align:center}.habit{display:flex;align-items:center;gap:11px;margin:18px 0}.habit-icon{height:32px;width:32px;display:grid;place-items:center;background:#f1f4ed;border-radius:9px;font-size:16px}.habit-copy{flex:1}.habit-copy strong{font-size:12px;font-weight:550;display:block;margin-bottom:4px}.habit-copy small{font-size:10px;color:var(--muted)}.habit-status{font-size:11px;color:#8e9b85}.habit-status.done{color:var(--green);background:#e9f1e3;padding:4px 6px;border-radius:50%}.habit-foot{border-top:1px solid var(--line);padding-top:15px;margin-top:18px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.finder-banner{background:#f0f2e9;border:1px solid var(--line);padding:22px 26px;border-radius:15px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.finder-banner h2{font-family:Manrope;font-size:17px;margin:0 0 7px}.finder-banner p{font-size:12px;color:var(--muted);margin:0}.finder-banner .search-input{width:290px;flex-shrink:0;background:#fff}.search-input{display:flex;align-items:center;gap:10px;border:1px solid #dfe5da;border-radius:9px;padding:11px 14px;background:#fff}.search-input input{border:0;background:transparent;outline:none;width:100%;color:var(--ink);font-size:12px}.search-input span{font-size:21px;line-height:1;color:#8c9884}.log-row{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-top:1px solid #edf0e8;gap:14px}.log-row:first-child{border-top:0}.log-icon{width:34px;height:34px;display:grid;place-items:center;background:#f1f4ed;border-radius:10px}.log-info{flex:1}.log-info strong{display:block;font-size:12px;font-weight:550;margin-bottom:4px}.log-info small{font-size:10px;color:var(--muted)}.log-cost{font-size:12px;font-weight:600}.empty-inline{padding:16px 0;font-size:12px;color:var(--muted);line-height:1.7}.muted{color:var(--muted)}footer{text-align:center;color:#929c88;font-size:10px;padding:29px 0}footer span{padding:0 9px;color:#95a482}.two-column{display:grid;grid-template-columns:1.4fr 1fr;gap:22px;align-items:start}.filter-row{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.filter{border:1px solid #dde4d7;background:transparent;padding:8px 14px;border-radius:20px;color:#7c8675;font-size:11px}.filter.active{background:var(--green);color:#fff;border-color:var(--green)}.food-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.food-card{background:white;border:1px solid var(--line);border-radius:13px;padding:18px;text-align:left;min-height:138px;display:flex;flex-direction:column;gap:12px}.food-card:hover{border-color:#8daba0;box-shadow:0 5px 15px #345b4a09}.food-card h3{font-size:13px;font-weight:550;line-height:1.5;margin:0}.food-card small{font-size:10px;color:var(--muted);line-height:1.5}.food-card .tag{align-self:flex-start;margin-top:auto}.tag{display:inline-flex;font-size:10px;border-radius:6px;padding:4px 7px;background:#eaf2e5;color:#5f7f50}.tag.token{background:#fbede4;color:#a37451}.tag.portion{background:#eef0e7;color:#828357}.tag.review{background:#f1ecf8;color:#8a74a1}.section-note{font-size:12px;line-height:1.7;color:var(--muted);margin:18px 0}.callout{background:#f0f4ea;padding:14px 17px;border-radius:10px;font-size:12px;line-height:1.8;color:#6f8066;margin:16px 0}.callout.warm{background:var(--peach);color:#977a5f}form{display:grid;gap:16px}label{display:grid;gap:8px;font-size:12px;font-weight:550}input:not([type=checkbox]),select{width:100%;padding:12px;border:1px solid #dce3d7;border-radius:8px;background:#fff;color:var(--ink);min-width:0}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.check-label{display:flex;align-items:start;gap:11px;line-height:1.8;font-weight:400}.check-label input{flex-shrink:0}.help-text{font-size:10px;line-height:1.7;color:var(--muted);font-weight:400}.action-row{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.error{color:#a24535;font-size:12px;line-height:1.7;min-height:1px}.weight-table{width:100%;border-collapse:collapse;font-size:12px}.weight-table th{text-align:left;font-size:10px;color:var(--muted);font-weight:500;padding:14px 8px;border-bottom:1px solid var(--line)}.weight-table td{padding:14px 8px;border-bottom:1px solid #edf0e8}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.guide-grid p,.guide-grid li{font-size:12px;color:#78816f;line-height:1.9}.guide-grid ul{padding-left:19px}.guide-grid .card{padding:23px}.guide-grid h2{margin-bottom:13px}.hero-guide{background:var(--sage);margin-bottom:20px}.guide-rule{border-bottom:1px solid var(--line);padding:11px 0;display:flex;justify-content:space-between;gap:22px;font-size:12px;line-height:1.7}.guide-rule span:last-child{color:var(--muted);text-align:right;max-width:65%}.profile-list{display:grid;gap:10px;margin:22px 0}.profile-option{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--line);border-radius:10px;background:#f7f9f3;text-align:left}.profile-option.active{border-color:var(--green)}.profile-option small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.onboard{max-width:750px;margin:35px auto 0;background:var(--sage);padding:45px;border-radius:23px;border:1px solid #dce5d6}.onboard h1{font:650 36px Manrope;letter-spacing:-1.3px;line-height:1.3;margin:13px 0}.onboard p{font-size:13px;color:#75806e;line-height:1.8;max-width:540px}.onboard .flower{font-size:60px;color:#8dA378}.onboard form{max-width:450px;margin-top:25px}.onboard input,.onboard select{background:#ffffffc9}.onboard .button{justify-self:start}dialog{border:1px solid var(--line);border-radius:19px;padding:30px;max-width:520px;width:calc(100% - 32px);max-height:90vh;color:var(--ink);box-shadow:0 20px 90px #23342926}dialog::backdrop{background:#23342955;backdrop-filter:blur(3px)}dialog h2{font:650 23px Manrope;letter-spacing:-.7px;margin:4px 30px 16px 0}dialog p{line-height:1.8;font-size:12px;color:var(--muted)}.dialog-close{position:absolute;right:17px;top:15px;border:0;background:#f1f4ed;border-radius:50%;width:29px;height:29px;font-size:22px;color:#74836e}.cost-preview{padding:21px;background:var(--sage);border-radius:12px;text-align:center;font:650 28px Manrope;letter-spacing:-.5px;margin:5px 0}.cost-preview small{display:block;font:400 11px 'DM Sans';color:#788570;letter-spacing:0;margin-top:8px}#toast{position:fixed;bottom:28px;left:calc(50% + 100px);transform:translateX(-50%);background:var(--ink);color:#fff;padding:13px 20px;border-radius:9px;opacity:0;pointer-events:none;transition:opacity .2s;font-size:12px;z-index:5;max-width:80vw}#toast.visible{opacity:1}.mobile-head,.mobile-nav{display:none}.storage-alert{padding:15px;background:#ffe5d7;border:1px solid #c88b71;border-radius:8px;line-height:1.8;margin-bottom:15px;font-size:12px}.strike{opacity:.5;text-decoration:line-through}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.summary-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:22px}.summary-tiles .card{padding:19px}.summary-tiles .stat-value{font-size:25px}.history-head{display:flex;justify-content:space-between;gap:10px}.check-summary{font-size:12px;color:var(--muted);line-height:1.9}.source-link{font-size:11px}.search-status{font-size:12px;color:var(--muted);min-height:15px;margin:12px 0}
@media(min-width:1500px){main{padding:40px 65px 0}.grid-top,.grid-middle{grid-template-columns:1.6fr 1fr}.wallet-main{gap:45px}.pie-large{width:170px;height:170px}}
@media(max-width:1120px){.sidebar{width:205px;padding:28px 16px}main{margin-left:205px;padding:28px 26px 0}.wallet-main{gap:15px}.pie-large{width:115px;height:115px}.wallet-number{font-size:36px}.grid-top,.grid-middle{gap:16px}.card{padding:21px}.gold-content{gap:12px}.gold-symbol{width:56px;height:56px;flex-shrink:0}.gold-content h3{font-size:18px}.food-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.grid-top,.grid-middle,.two-column{grid-template-columns:1fr}.gold-card{min-height:220px}.gold-card .button{margin-top:18px}.wallet-main{gap:30px}.pie-large{width:145px;height:145px}.wallet-number{font-size:46px}.finder-banner{align-items:start;flex-direction:column}.finder-banner .search-input{width:100%}.page-top h1{font-size:28px}.page-top{align-items:start}.guide-grid{grid-template-columns:1fr}}
@media(max-width:620px){.sidebar{display:none}.mobile-head{display:flex;justify-content:space-between;align-items:center;padding:23px 21px 10px}.mobile-head .brand-mark{text-decoration:none;font-size:36px}.mobile-head button{border:1px solid var(--line);background:#eef2e8;border-radius:22px;padding:8px 12px;font-size:11px}main{margin:0;padding:18px 18px 74px}header{margin-bottom:27px}.header-right{gap:8px}.date-label{font-size:10px}.eyebrow{font-size:8px;letter-spacing:1.2px}.round-button{width:24px;height:24px;font-size:10px}.page-top{flex-direction:column;gap:13px;margin-bottom:23px}.page-top h1{font-size:28px}.pill{font-size:10px;padding:6px 11px}.card{border-radius:14px;padding:21px}.card-heading{margin-bottom:18px}.wallet-main{gap:24px}.pie-large{width:125px;height:125px}.wallet-number{font-size:39px}.wallet-number small{font-size:12px;margin-left:6px}.wallet-meta{font-size:10px}.wallet .button{padding:10px 12px;font-size:11px}.wallet-foot{font-size:10px}.grid-top,.grid-middle{gap:16px;margin-bottom:16px}.gold-card{min-height:215px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#f4f6eff5;border-top:1px solid #dce4d6;padding:8px 0 max(8px,env(safe-area-inset-bottom));backdrop-filter:blur(10px);z-index:3}.mobile-nav button{background:transparent;border:0;font-size:22px;color:#85917a;min-width:53px;padding:4px;border-radius:7px}.mobile-nav small{font-size:9px;display:block;margin-top:3px}.mobile-nav button.active{color:var(--green);background:#e3ebdd}.onboard{padding:25px;margin-top:10px}.onboard h1{font-size:29px}.onboard .flower{font-size:45px}#toast{bottom:90px;left:50%;width:max-content;max-width:90vw}.food-grid{gap:10px}.food-card{padding:15px;min-height:150px}.food-card h3{font-size:12px}.summary-tiles{gap:8px}.summary-tiles .card{padding:12px}.summary-tiles .stat-value{font-size:20px}.stat-label{font-size:9px}.form-row{gap:10px}.log-row{gap:9px}.log-info strong{font-size:11px}.log-cost{font-size:11px}dialog{padding:25px}.weight-summary{gap:20px}footer{font-size:9px}.search-input input{font-size:12px}}
[hidden]{display:none!important}
textarea{width:100%;font:11px/1.7 'DM Sans',sans-serif;padding:12px;border:1px solid #dce3d7;border-radius:8px;resize:vertical;color:var(--ink);background:#fafbf8}
.server-guest .profile-switch,.server-guest .profile-label,.server-guest nav,.server-guest #settings,.server-guest .mobile-head button{display:none}.server-guest .onboard{max-width:710px}.table-scroll{overflow-x:auto}.table-scroll table{min-width:760px}.save-indicator{position:fixed;top:14px;left:50%;z-index:10;padding:10px 18px;background:#38634f;color:white;border-radius:8px;font-size:12px}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Keep account controls reachable on shorter desktop windows. */
.sidebar{overflow-y:auto}
