@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{--ink:#182e32;--muted:#687b7d;--green:#267568;--line:#e1e8e7;--background:#f5f8f7;--pale:#e8f2ee;--dark:#153f39;color:var(--ink);background:var(--background);font-family:DM Sans,system-ui,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{border:1px solid var(--line);color:var(--ink);cursor:pointer;white-space:nowrap;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:.5rem;padding:.66rem .9rem;font-size:.875rem;font-weight:600;text-decoration:none;display:inline-flex}button:hover,.button:hover{background:#f0f6f3}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #8cc6bb}button.primary,.primary.button{background:var(--green);color:#fff;border-color:var(--green)}button.primary:hover{background:var(--dark)}input,select,textarea{color:var(--ink);background:#fff;border:1px solid #d7e1dd;border-radius:7px;min-width:0;padding:.7rem .85rem;font-size:1rem}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2357726c' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-position:right .65rem center;background-repeat:no-repeat;max-width:100%;padding-right:2.1rem}textarea{resize:vertical;width:100%;min-height:100px}.app-shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:30;background:#fff;flex-direction:column;width:242px;padding:31px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:11px;padding:0 7px;font-family:Manrope,system-ui,sans-serif;font-size:1rem;font-weight:800;display:flex}.brand small{color:var(--muted);letter-spacing:.11em;margin-top:4px;font-size:.65rem;display:block}.brandmark{background:var(--green);color:#fff;border-radius:11px;flex:none;place-items:center;width:40px;height:40px;display:grid}.nav-caption{letter-spacing:.12em;color:#82928e;margin:45px 14px 16px;font-size:.65rem;font-weight:700}nav{flex-direction:column;gap:5px;display:flex}nav button{color:#5a706e;background:0 0;border:0;justify-content:flex-start;gap:13px;padding:13px 14px;font-weight:500}nav button.active{background:var(--pale);color:#226759;font-weight:700}nav button:hover{background:#f2f7f4}.sidebar-bottom{color:#55766e;align-items:center;gap:12px;margin-top:auto;padding:22px 14px 0;font-size:.875rem;display:flex}.sidebar-bottom small{color:var(--muted);margin-top:4px;font-size:.75rem;display:block}.workspace{width:calc(100% - 242px);min-width:0;margin-left:242px}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:12px;height:83px;padding:0 38px;display:flex}.breadcrumb{color:var(--muted);font-size:.875rem}.breadcrumb span{color:#b0beba;padding:0 13px}.breadcrumb b{color:#36554d;font-weight:500}.top-actions{align-items:center;gap:18px;display:flex}.save-status{color:#6d8178;font-size:.75rem}.save-status.unsaved{color:#965f15}.avatars{padding-left:6px;display:flex}.avatars span{color:#306953;background:#daeae2;border:2px solid #fff;border-radius:50%;place-items:center;width:33px;height:33px;margin-left:-6px;font-size:.7rem;font-weight:700;display:grid}.avatars span+span{color:#795d7b;background:#eddfed}main{max-width:1550px;margin:0 auto;padding:38px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.eyebrow{letter-spacing:.15em;color:#5e8278;margin-bottom:10px;font-size:.65rem;font-weight:700}h1,h2,h3,p{margin:0}h1{letter-spacing:-.045em;font-family:Manrope,system-ui,sans-serif;font-size:clamp(1.6rem,2.4vw,2rem);font-weight:700;line-height:1.3}.page-heading p{color:var(--muted);margin-top:9px;font-size:.875rem;line-height:1.5}h2{letter-spacing:-.015em;font-family:Manrope,system-ui,sans-serif;font-size:1rem;font-weight:700}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px;display:grid}.stat{border:1px solid var(--line);background:#fff;border-radius:12px;flex-direction:column;gap:12px;min-width:0;padding:22px 21px;display:flex}.stat>span{color:#5c7470;font-size:.875rem}.stat strong{letter-spacing:-.04em;white-space:nowrap;font-family:Manrope,system-ui,sans-serif;font-size:clamp(1.35rem,2vw,1.9rem);font-weight:700}.stat small{color:var(--muted);font-size:.75rem;line-height:1.5}.stat.featured{background:var(--dark);border-color:var(--dark);color:#fff}.stat.featured>span,.stat.featured small{color:#bcd8cd}.panel{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;margin-bottom:23px;padding:23px}.panel-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:21px;display:flex}.panel-heading p{color:var(--muted);margin-top:7px;font-size:.875rem;line-height:1.5}.two-column{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:23px;display:grid}.two-column>.panel{height:calc(100% - 23px)}.chart-summary{flex-wrap:wrap;align-items:baseline;gap:12px;display:flex}.chart-summary strong{letter-spacing:-.04em;font-family:Manrope,system-ui,sans-serif;font-size:1.6rem}.chart-summary span{color:var(--muted);font-size:.75rem}.chart-summary span:last-child{margin-left:auto}.chart{margin-top:15px}.chart svg{width:100%;display:block;overflow:visible}.chart text{fill:#728580;font-family:inherit;font-size:13px}.inline-note{color:#607c70;background:#f3f7f4;border-radius:7px;padding:12px;font-size:.875rem;line-height:1.6}.goal{border-bottom:1px solid var(--line);padding:8px 0 19px}.goal span,.goal small{color:var(--muted);font-size:.75rem;line-height:1.6;display:block}.goal strong{letter-spacing:-.04em;margin:8px 0;font-family:Manrope,system-ui,sans-serif;font-size:1.9rem;display:block}.goal-row{justify-content:space-between;gap:10px;padding:15px 0;font-size:.875rem;display:flex}.goal-row span{color:var(--muted)}.soft{background:var(--pale);color:#326b58;border:0}.full{width:100%;margin-top:10px}.table-scroll{width:100%;overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:.875rem;line-height:1.5}th{border-bottom:1px solid var(--line);color:#71847d;white-space:nowrap;background:#f8faf9;padding:11px 12px;font-weight:500}td{vertical-align:middle;border-bottom:1px solid #edf1ee;padding:14px 12px}td:first-child,th:first-child{padding-left:4px}td:last-child,th:last-child{padding-right:4px}tbody tr:last-child td{border-bottom:0}td b{font-weight:500}td small.row-note{min-width:180px;max-width:430px;color:var(--muted);margin-top:5px;font-size:.75rem;display:block}td select{font-size:.875rem}.tag{color:#60756b;white-space:nowrap;background:#f1f4f2;border-radius:5px;padding:4px 7px;font-size:.75rem}.tag.green{color:#3f7657;background:#e4f1e8}.negative,.danger{color:#b65345!important}.icon-button{color:#75867d;background:0 0;border:0;padding:7px}.icon-button:hover{background:#eaf3ed}.text-button{color:var(--green);background:0 0;border:0;padding:4px;font-size:.875rem}.meal-preview>div{border-bottom:1px solid #edf1ee;align-items:center;gap:14px;padding:14px 0;display:flex}.meal-preview span{color:#6c8478;min-width:35px;font-size:.75rem}.meal-preview b{font-size:.875rem;font-weight:500;line-height:1.5}.home-links{gap:10px;margin-top:20px;display:flex}.home-links button{flex:1;font-size:.75rem}.toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:22px;display:flex}.toolbar input{flex:1;min-width:180px}.toolbar .file-input{display:none}.notice{color:#855f2b;background:#fff7e9;border:1px solid #ecdbb9;border-radius:9px;margin-bottom:22px;padding:15px 18px;font-size:.875rem;line-height:1.6}.notice.subtle{color:#557466;background:#edf5f1;border-color:#dce8e0}.notice.error{color:#a7493f;background:#fff0ef;border-color:#efcdc7}.notice>div{gap:10px;margin-top:12px;display:flex}.pot-grid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.pot{border:1px solid var(--line);border-radius:9px;padding:17px}.pot>div{justify-content:space-between;align-items:center;font-size:.875rem;display:flex}.pot strong{margin:18px 0;font-size:1.2rem;display:block}.pot small{color:var(--muted);font-size:.75rem;font-weight:400}progress{width:100%;height:7px;accent-color:var(--green);border:0;border-radius:5px}progress::-webkit-progress-bar{background:#e8efea;border-radius:5px}progress::-webkit-progress-value{background:var(--green);border-radius:5px}.chart-key{color:var(--green);justify-content:space-between;font-size:.875rem;display:flex}.milestones{grid-template-columns:repeat(3,1fr);gap:18px;padding-top:25px;display:grid}.milestones>div{background:#f5f8f6;border-radius:9px;padding:18px}.milestones span{color:var(--muted);font-size:.875rem;display:block}.milestones strong{margin-top:9px;font-size:1.5rem;display:block}.settings-list>div{border-bottom:1px solid #edf1ee;justify-content:space-between;gap:20px;padding:12px 0;font-size:.875rem;display:flex}.settings-list span{text-transform:capitalize;color:var(--muted)}.week-tabs{gap:8px;margin-bottom:23px;display:flex}.week-tabs .selected{background:var(--green);color:#fff;border-color:var(--green)}.meal-grid{grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px;display:grid}.meal-card{border:1px solid var(--line);background:#fff;border-radius:12px;min-height:230px;padding:21px}.meal-day{color:#59816e;text-transform:uppercase;letter-spacing:.06em;justify-content:space-between;align-items:center;font-size:.75rem;font-weight:700;display:flex}.meal-card h2{margin:15px 0;font-size:1.2rem;line-height:1.45}.meal-card p{color:var(--muted);margin:20px 0 10px;font-size:.875rem;line-height:1.6}.reference-notes p{margin-bottom:12px;font-size:.875rem;line-height:1.7}.bought{color:#8a9c92;text-decoration:line-through}.formula{overflow-wrap:anywhere;min-width:250px;max-width:650px;font-size:.75rem;display:block}footer{color:#87968e;flex-wrap:wrap;align-items:center;gap:8px;margin:30px 0 0;font-size:.75rem;display:flex}footer span:nth-of-type(2){margin-left:auto}footer a{color:#607b6c;margin-left:10px}.empty{color:var(--muted);padding:30px}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;background:#102e2860;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:16px;width:100%;max-width:550px;max-height:90vh;padding:27px;overflow:auto;box-shadow:0 20px 80px #153f3926}.form-fields{gap:17px;display:grid}.form-fields label{color:#61786b;flex-direction:column;gap:7px;font-size:.875rem;display:flex}.form-fields input[type=checkbox]{width:22px;height:22px;accent-color:var(--green)}.modal-actions{justify-content:flex-end;gap:12px;margin:25px 0 12px;display:flex}.modal-actions .danger{margin-right:auto}.modal small{text-align:right;color:var(--muted);font-size:.75rem;display:block}.loading{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:100vh;padding:30px;display:flex}.loading .brandmark{border-radius:16px;width:60px;height:60px}.loading p{color:var(--muted)}.mobile{display:none}@media (width>=1600px){main{padding:44px 55px}.topbar{padding:0 55px}}@media (width<=1150px){.sidebar{width:210px;padding:28px 12px}.workspace{width:calc(100% - 210px);margin-left:210px}main{padding:25px}.topbar{padding:0 25px}.save-status{display:none}.stats{grid-template-columns:repeat(2,1fr)}.two-column{grid-template-columns:1fr}.two-column>.panel{height:auto}.pot-grid,.meal-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=760px){.mobile{display:inline-flex}.sidebar{width:255px;transform:translate(-100%);box-shadow:0 0 100px #142e2833}.sidebar.open{transform:translate(0)}.sidebar .brand .mobile{margin-left:auto}.workspace{width:100%;margin-left:0}.topbar{z-index:20;height:68px;padding:0 16px;position:sticky;top:0}.breadcrumb{display:none}.top-actions{gap:12px;margin-left:auto}.top-actions .avatars{display:none}main{padding:24px 16px}.page-heading{flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:23px}.page-heading select{width:100%}h1{font-size:1.7rem}.stat{gap:9px;padding:18px 15px}.stat strong{font-size:1.45rem}.stats{gap:12px}.stat>span{font-size:.8rem}.stat small{font-size:.7rem}.panel{padding:18px 15px}.panel-heading{flex-wrap:wrap;align-items:flex-start}.panel-heading>select{width:100%}.home-links{flex-wrap:wrap}.chart-summary span:last-child{margin-left:0}.meal-grid,.pot-grid,.milestones{grid-template-columns:1fr}.meal-card{min-height:0}.modal-backdrop{padding:12px}.modal{padding:22px}.notice>div{flex-wrap:wrap}footer span:nth-of-type(2){width:100%;margin-left:0}.week-tabs{gap:6px}.week-tabs button{flex:1}.toolbar button{flex-grow:1}.toolbar input{width:100%}.modal-actions{flex-wrap:wrap}table{min-width:420px}.chart svg{min-height:150px}}.amount-value{background:0 0;border-color:#0000;justify-content:flex-start;min-width:82px;padding:.35rem .45rem;font-weight:500}.amount-value:hover{border-color:var(--line);background:#f0f6f3}.inline-amount-input{background:#fff;border-color:#b9cec6;width:118px;min-width:90px;padding:.55rem .6rem;font-size:.875rem}.inline-amount-input::placeholder{color:#82928e;font-size:.75rem}.inline-amount-input:focus{border-color:var(--green);box-shadow:0 0 0 2px #26756822}.salary-fields{margin-top:24px}.salary-fields input,.salary-fields select{width:100%}.auth-page{background:radial-gradient(at 0 0,#e4f1ea,#0000 65%);justify-content:center;align-items:center;min-height:100vh;padding:32px 18px;display:flex}.auth-card{border:1px solid var(--line);background:#fff;border-radius:18px;width:100%;max-width:490px;padding:38px;box-shadow:0 15px 70px #153f390a}.auth-brand{align-items:center;gap:13px;margin-bottom:38px;font-weight:700;display:flex}.auth-brand small{letter-spacing:.12em;color:var(--muted);margin-top:4px;font-size:.65rem;display:block}.auth-card>p,.recovery p{color:var(--muted);margin:12px 0 25px;font-size:.95rem;line-height:1.7}.auth-card .form-fields{margin-top:26px}.auth-card .primary{padding:13px}.auth-footer{color:var(--muted);align-items:center;gap:8px;margin-top:28px;font-size:.75rem;display:flex}.auth-card label small{font-size:.75rem;line-height:1.5}.recovery code{overflow-wrap:anywhere;background:#eaf4ef;border:1px solid #cbded1;border-radius:8px;margin:18px 0;padding:18px;font-size:1rem;display:block}.recovery .check-label{align-items:flex-start;gap:10px;margin:25px 0;font-size:.875rem;line-height:1.5;display:flex}.check-label input{margin-top:5px}.invite-box{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.invite-box p,.account-copy{color:var(--muted);margin:15px 0 22px;font-size:.95rem;line-height:1.7}.invite-link{margin-top:20px;font-size:.875rem;display:block}.invite-link textarea{margin:10px 0}.account-form{max-width:500px}.sidebar{overflow-y:auto}@media (width<=600px){.auth-card{padding:27px}.auth-page{align-items:flex-start;padding-top:45px}}.inline-amount-cell{min-width:145px;max-width:180px;position:relative}.inline-amount-cell>span{color:var(--muted,#667d79);pointer-events:none;position:absolute;top:11px;left:10px}.inline-amount-cell .inline-amount-input{text-align:right;font-variant-numeric:tabular-nums;background:#fff;border:1px solid #cadbd6;border-radius:8px;width:100%;min-width:0;padding:10px 10px 10px 26px;font-size:16px}.inline-amount-input:focus{outline-offset:2px;outline:2px solid #267568}.inline-amount-input[aria-invalid=true]{border-color:#b3382e}.inline-amount-cell small{color:#b3382e;white-space:normal;margin-top:5px;display:block}
