:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}*{box-sizing:border-box}body{color:#0f172a;background:radial-gradient(circle at 0 0,#16a05d1f,#0000 28%),linear-gradient(135deg,#f4f8f5 0%,#eef5f1 100%);margin:0;font-family:Inter,Arial,sans-serif}button{cursor:pointer}.app{min-height:100vh;display:flex}.sidebar{color:#fff;z-index:20;background:linear-gradient(#062417 0%,#0b2f20 100%);flex-direction:column;justify-content:space-between;width:300px;padding:26px 22px;display:flex;position:fixed;inset:0 auto 0 0;box-shadow:14px 0 40px #0624172e}.brand{align-items:center;gap:14px;margin-bottom:34px;display:flex}.logo{background:linear-gradient(135deg,#22c55e,#facc15);border-radius:22px;justify-content:center;align-items:center;width:58px;height:58px;font-size:30px;font-weight:900;display:flex;box-shadow:0 14px 30px #22c55e40}.brand h1{letter-spacing:-.6px;margin:0;font-size:22px}.brand p{color:#bbf7d0;margin:5px 0 0;font-size:14px}.nav-list{flex-direction:column;gap:8px;display:flex}.nav-list button{color:#d7fbe4;text-align:left;background:0 0;border:0;border-radius:18px;align-items:center;gap:13px;width:100%;padding:14px 16px;font-size:16px;font-weight:650;transition:all .2s;display:flex}.nav-list button:hover{background:#ffffff1a;transform:translate(4px)}.nav-list button.active{color:#062417;background:#fff;box-shadow:0 10px 26px #0000002e}.nav-icon{justify-content:center;width:26px;display:inline-flex}.profile{background:#ffffff1c;border:1px solid #ffffff1f;border-radius:24px;align-items:flex-start;gap:12px;padding:16px;display:flex}.profile-badge{background:#ffffff24;border-radius:16px;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.profile strong{margin-bottom:5px;display:block}.profile p{color:#d1fae5;margin:4px 0;font-size:14px}.topbar{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffb8;border:1px solid #e2e8f0cc;border-radius:30px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;padding:24px 26px;display:flex;box-shadow:0 14px 40px #0f172a0f}.topbar h2{letter-spacing:-1px;margin:0;font-size:34px}.topbar p,.muted{color:#64748b;margin:8px 0 0;font-size:16px}.topbar-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.toggle{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;gap:5px;padding:5px;display:flex}.toggle button{color:#64748b;background:0 0;border:0;border-radius:15px;padding:11px 16px;font-size:14px;font-weight:800}.toggle button.active{color:#fff;background:#0f172a;box-shadow:0 8px 18px #0f172a2e}.toggle button:disabled{opacity:.45;cursor:not-allowed}.card{background:#ffffffdb;border:1px solid #e2e8f0e6;border-radius:30px;padding:26px;box-shadow:0 18px 45px #0f172a12}.card h3,.section-head h3{letter-spacing:-.4px;margin:0;font-size:24px}.section-head{justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.section-head p{color:#64748b;margin:6px 0 0}.section-head button,.dark-card button,.card>button,td button{color:#fff;background:#0f7a43;border:0;border-radius:16px;padding:12px 18px;font-weight:850;box-shadow:0 10px 20px #0f7a432e}.stats{grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px;display:grid}.stat span{color:#0f6b3f;background:#ecfdf5;border-radius:20px;justify-content:center;align-items:center;width:54px;height:54px;margin-bottom:22px;font-size:26px;display:flex}.stat p{color:#64748b;margin:0;font-size:15px}.stat h3{letter-spacing:-.6px;margin:8px 0 0;font-size:28px}.dashboard-grid{grid-template-columns:minmax(0,2fr) 380px;gap:24px;display:grid}.dark-card{color:#fff;background:linear-gradient(#062417 0%,#0a2f20 100%)}.dark-card h3{font-size:28px;line-height:1.2}.dark-card p{color:#d1d5db;font-size:17px;line-height:1.7}.tip{background:#ffffff1a;border-radius:20px;margin-top:14px;padding:16px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:15px}th{text-align:left;color:#64748b;border-bottom:1px solid #e2e8f0;padding:15px 14px;font-weight:850}td{vertical-align:top;border-bottom:1px solid #e2e8f0;padding:16px 14px}tr:hover td{background:#f8fafc}.grocery-grid,.sub-grid{grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px;display:grid}.grocery-item,.sub-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;justify-content:space-between;gap:10px;padding:16px;display:flex}.sub-card span{color:#0f6b3f;font-weight:900}.budget-row{background:#f8fafc;border-radius:18px;justify-content:space-between;margin-top:10px;padding:16px;display:flex}.total{background:#dcfce7;border-radius:22px;margin-top:18px;padding:22px}.total small{color:#166534;font-weight:800}.total h2{color:#052e16;margin:8px 0 0;font-size:36px}.modal-backdrop{z-index:50;background:#0f172a8c;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.meal-modal{background:#fff;border-radius:28px;width:min(760px,100%);padding:26px;box-shadow:0 24px 70px #00000038}.modal-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.modal-head h2{margin:0;font-size:28px}.modal-head p{color:#64748b;margin:6px 0 0}.close-btn{color:#0f172a;background:#f1f5f9;border:0;border-radius:14px;width:42px;height:42px;font-size:18px;font-weight:900}.meal-detail-grid,.meal-edit-grid{grid-template-columns:repeat(2,1fr);gap:14px;display:grid}.meal-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;padding:18px}.meal-box h4,.meal-edit-grid label{color:#0f6b3f;margin:0 0 8px;font-weight:800}.meal-box p{margin:0;font-size:18px;font-weight:700}.meal-edit-grid label{display:block}.meal-edit-grid input{border:1px solid #e2e8f0;border-radius:16px;width:100%;padding:14px;font-size:16px;font-weight:700}.modal-actions{gap:12px;margin-top:22px;display:flex}.modal-actions button{color:#fff;background:#0f6b3f;border:0;border-radius:14px;padding:12px 18px;font-weight:800}.modal-actions .secondary-btn{color:#0f172a;background:#eef2f7}.settings-grid{grid-template-columns:repeat(2,1fr);gap:20px;margin-top:18px;display:grid}.settings-grid label{margin-bottom:8px;font-weight:800;display:block}.settings-grid input,.settings-grid select{border:1px solid #e2e8f0;border-radius:14px;width:100%;padding:13px;font-size:15px}.setting-check{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;align-items:center;gap:12px;padding:16px;font-weight:800;display:flex}.setting-check input{width:20px;height:20px}.price-input-wrap{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;align-items:center;gap:8px;max-width:180px;padding:8px 10px;display:flex}.price-input-wrap span{color:#0f6b3f;font-weight:900}.price-input-wrap input{color:#0f172a;background:0 0;border:0;outline:none;width:100%;font-size:16px;font-weight:900}@media (width<=1050px){.app{display:block}.sidebar{width:100%;min-height:auto;position:relative}.main{width:100%;margin-left:0;padding:20px}.topbar{flex-direction:column;align-items:flex-start}.stats,.dashboard-grid,.grocery-grid,.sub-grid,.settings-grid{grid-template-columns:1fr}.profile{margin-top:20px}}@media (width<=700px){.meal-detail-grid,.meal-edit-grid{grid-template-columns:1fr}.modal-actions{flex-direction:column}}.sidebar{width:260px;padding:22px 18px}.main{width:calc(100% - 260px);margin-left:260px;padding:24px}.logo{border-radius:18px;width:48px;height:48px;font-size:26px}.brand h1{font-size:19px}.brand p{font-size:13px}.nav-list button{border-radius:15px;padding:11px 14px;font-size:14px}.topbar{border-radius:24px;margin-bottom:20px;padding:18px 22px}.topbar h2{font-size:24px}.topbar p{font-size:14px;line-height:1.5}.toggle button{padding:9px 13px;font-size:13px}.stats{gap:14px;margin-bottom:18px}.card{border-radius:24px;padding:20px}.stat{min-height:130px}.stat span{border-radius:16px;width:44px;height:44px;margin-bottom:14px;font-size:22px}.stat p{font-size:13px}.stat h3{font-size:22px}.dashboard-grid{grid-template-columns:minmax(0,1.7fr) 340px;gap:18px}.card h3,.section-head h3{font-size:20px}.section-head p{font-size:14px}.section-head button,.dark-card button,.card>button,td button{border-radius:14px;padding:10px 14px;font-size:13px}.dark-card h3{font-size:22px}.dark-card p{font-size:15px;line-height:1.55}.tip{padding:13px;font-size:14px}table{font-size:13.5px}th,td{padding:12px 10px}.profile{border-radius:18px;padding:13px}.profile p{font-size:12.5px}
