@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/font-0.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/font-1.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/font-2.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/font-3.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/font-4.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/font-5.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/font-6.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/font-7.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/font-8.ttf) format('truetype');
}
:root{font-family:'DM Sans',sans-serif;color:#253e33;background:#f6f7f4;font-synthesis:none;--green:#284e3b;--muted:#748077;--line:#e2e6df;--accent:#d7f177}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #9ac333;outline-offset:3px}button{border:0}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:34px;font-weight:700;letter-spacing:-1.2px}h2{font-size:23px;letter-spacing:-.6px}h3{font-size:18px;line-height:1.4}p{line-height:1.6}.shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:36px 23px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.logo{font-family:Manrope,sans-serif;font-size:30px;font-weight:800;letter-spacing:-1.6px;display:flex;align-items:center;gap:9px}.logo-mark{background:var(--green);color:var(--accent);border-radius:12px;width:35px;height:39px;display:grid;place-items:center;font-size:27px}.side-label{font-size:12px;letter-spacing:1.8px;color:var(--muted);margin:48px 14px 16px;font-weight:700}.nav{display:flex;flex-direction:column;gap:9px}.nav button{background:none;color:#707b73;text-align:left;padding:14px;border-radius:10px;display:flex;gap:12px;align-items:center;font-weight:500}.nav button.active{background:#edf3e9;color:var(--green);font-weight:700}.icon{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.side-bottom{margin-top:auto}.sample-note{font-size:13px;color:var(--muted);line-height:1.6;padding:18px 10px}.avatar-row{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:20px}.avatar{width:38px;height:38px;background:#e8eddc;border-radius:50%;display:grid;place-items:center;font-weight:700}.small{font-size:13px;color:var(--muted)}main{padding:0 44px 50px;min-width:0;max-width:1700px}.topbar{height:89px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;margin-bottom:35px}.breadcrumb{font-size:14px;color:var(--muted)}.top-actions{display:flex;gap:12px;align-items:center}.pill{border:1px solid var(--line);border-radius:20px;padding:7px 12px;font-size:12px;background:#fff}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.intro p{color:var(--muted);margin-top:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:white;border-radius:9px;padding:12px 19px;font-weight:600;font-size:14px;text-decoration:none;min-height:44px}.button.secondary{background:white;border:1px solid var(--line);color:var(--green)}.button.light{background:var(--accent);color:#294531}.button:disabled{opacity:.5;cursor:not-allowed}.stats{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:16px;margin-bottom:32px}.stat{background:white;border:1px solid var(--line);border-radius:14px;padding:20px}.stat:first-child{background:var(--green);color:white;border:0}.stat-title{font-size:14px;display:flex;justify-content:space-between;align-items:center;color:var(--muted)}.stat:first-child .stat-title{color:#d4dfd6}.stat-value{font-family:Manrope,sans-serif;font-size:28px;font-weight:700;margin:14px 0}.stat-value span{font-family:'DM Sans',sans-serif;font-size:13px;font-weight:400;color:var(--muted)}.stat:first-child .stat-value span{color:#d4dfd6}.bar{height:5px;background:#edf0e9;border-radius:8px;overflow:hidden;margin:13px 0 10px}.bar i{display:block;height:100%;background:#94ad74;border-radius:8px}.stat:first-child .bar{background:#58725f}.stat:first-child .bar i{background:var(--accent)}.stat-foot{font-size:12px;color:var(--muted)}.stat:first-child .stat-foot{color:#d4dfd6}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.section-head p{font-size:14px;color:var(--muted);margin-top:5px}.text-button{background:none;color:var(--green);font-weight:700;font-size:14px;padding:8px 0}.feature{display:grid;grid-template-columns:1fr 1fr;background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden;margin-bottom:28px}.feature-img{width:100%;height:315px;object-fit:cover}.feature-body{padding:30px;display:flex;flex-direction:column;justify-content:center}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase;color:#6a7f52;margin-bottom:12px}.feature h2{font-size:27px;line-height:1.3;margin-bottom:12px}.feature p{font-size:14px;color:var(--muted)}.chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.chip{border-radius:6px;background:#f0f4e9;padding:6px 9px;font-size:12px;color:#536c41}.macro-line{display:flex;gap:18px;font-size:13px;margin:16px 0 20px}.feature-actions{display:flex;gap:10px}.lower{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:24px}.diary-row{display:flex;gap:16px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.diary-row:last-child{border-bottom:0}.meal-symbol{width:43px;height:43px;background:#f0f3e8;border-radius:11px;display:grid;place-items:center;flex:none}.grow{flex:1;min-width:0}.row-title{font-size:14px;font-weight:600}.row-detail{font-size:12px;color:var(--muted);margin-top:4px}.row-kcal{font-size:14px;text-align:right}.shopping-preview{background:#f0f4e7;border-color:#e1e8d4}.shopping-preview p{font-size:14px;color:var(--muted);margin:13px 0 23px}.overline{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin-bottom:9px}.store-marks{display:flex;gap:7px;margin:20px 0}.store-mark{border:1px solid #dce3d5;background:#fff;border-radius:9px;padding:8px;font-size:12px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.recipe-card{padding:23px;background:#fff;border:1px solid var(--line);border-radius:13px;display:flex;flex-direction:column}.recipe-card h3{margin:8px 0}.recipe-card p{font-size:14px;color:var(--muted);margin-bottom:13px}.recipe-card .button{margin-top:auto}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:23px}.filter{background:white;border:1px solid var(--line);border-radius:22px;padding:9px 17px;color:var(--muted);font-size:14px}.filter.active{background:var(--green);color:white;border-color:var(--green)}.notice{background:#eef2e8;border-radius:10px;padding:14px 17px;font-size:13px;color:#526346;margin-bottom:22px;line-height:1.6}.empty{padding:36px;text-align:center;color:var(--muted);line-height:1.7}.date-input,input,select,textarea{border:1px solid #d8dfd4;background:white;color:#253e33;border-radius:8px;padding:11px;min-width:0;max-width:100%}input[type=checkbox]{width:18px;height:18px;accent-color:var(--green)}.list-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.list-row label{flex:1}.list-row.done label{text-decoration:line-through;color:var(--muted)}.list-row .quantity{font-size:14px;color:var(--muted)}.twocol{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}.retailer{display:flex;gap:13px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.retailer-logo{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:700;background:#f4f7ef}.retailer a{font-size:13px;font-weight:600;text-decoration:none}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:8px;font-size:14px}.full{grid-column:1/-1}.field small{color:var(--muted);line-height:1.5}.form-section{margin-bottom:28px}.form-section h3{margin-bottom:16px}.choice-grid{display:flex;flex-wrap:wrap;gap:8px}.choice{display:flex;align-items:center;gap:7px;background:#f7f8f4;border:1px solid var(--line);border-radius:8px;padding:9px 11px;font-size:13px}.choice:has(input:checked){background:#eaf1dd;border-color:#9cb677}.choice input{width:15px;height:15px}.danger{color:#a74432}.footer-note{font-size:12px;color:var(--muted);margin-top:24px;line-height:1.7}dialog{border:0;border-radius:18px;width:650px;max-width:calc(100% - 30px);max-height:90vh;padding:30px;color:#253e33;box-shadow:0 25px 100px #1d372533}dialog::backdrop{background:#15251cb0;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:22px}.close{background:#f1f3ed;border-radius:50%;width:32px;height:32px;font-size:22px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#243e30;color:white;padding:13px 22px;border-radius:10px;box-shadow:0 6px 25px #0002;display:none;z-index:10;font-size:14px}.badge{display:inline-block;background:#edf2e5;border-radius:5px;font-size:12px;padding:4px 7px;color:#607446}.plan-row{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}.inline{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.recipe-detail ul,.recipe-detail ol{padding-left:23px;line-height:1.9;font-size:14px}.photo-credit{font-size:12px;color:var(--muted);margin-top:20px}.photo-credit a{text-decoration:none}.mobile-logo{display:none}
@media(min-width:1500px){main{padding-left:65px;padding-right:65px}.feature-img{height:355px}}@media(max-width:1150px){.shell{grid-template-columns:190px 1fr}.sidebar{padding:30px 15px}main{padding:0 26px 35px}.stats{gap:10px}.stat{padding:15px}.stat-value{font-size:24px}.grid{grid-template-columns:repeat(2,1fr)}.feature-body{padding:23px}.feature h2{font-size:23px}.macro-line{gap:10px}.lower,.twocol{grid-template-columns:1fr}}@media(max-width:750px){.shell{display:block}.sidebar{height:auto;position:static;padding:17px 20px 0;border-right:0}.logo{font-size:25px}.nav{flex-direction:row;overflow:auto;margin-top:16px;gap:3px;padding-bottom:10px}.nav button{padding:10px;font-size:12px;white-space:nowrap;gap:6px}.nav .icon{width:16px}.side-label,.side-bottom{display:none}main{padding:0 18px 30px}.topbar{height:62px;margin-bottom:25px}.top-actions .pill{display:none}h1{font-size:28px}.intro{align-items:flex-start}.intro .button{padding:10px;font-size:12px}.intro p{font-size:14px}.stats{grid-template-columns:1fr 1fr;margin-bottom:26px}.stat-value{font-size:26px}.feature{grid-template-columns:1fr}.feature-img{height:240px}.feature-body{padding:24px}.grid{grid-template-columns:1fr}.section-head h2{font-size:21px}.panel{padding:20px}.form-grid{gap:14px}.feature-actions{flex-wrap:wrap}.breadcrumb{font-size:12px}.top-actions .button{font-size:12px;padding:8px 11px}.lower{gap:18px}dialog{padding:23px}.nav button.active{background:#eaf1dd}.photo-credit{font-size:12px}}
/* Forest, warm stone and brass: stronger separation without changing the tone. */
:root{background:#eeeee7;color:#203d30;--green:#214b37;--muted:#58665d;--line:#cbd1c5;--accent:#ecd39a}
.sidebar{background:#173d2d;border-right:1px solid #103021;color:#f5f4ea}.logo-mark{background:#ead4a4;color:#183d2c}.logo>span:last-child{color:#ead4a4!important}.side-label,.sample-note{color:#c1cebf}.nav button{color:#e1e8dc}.nav button:hover{background:#2c503e}.nav button.active{background:#e8d5a9;color:#18392b;box-shadow:inset 4px 0 #bf8b49}.avatar-row{border-color:#52715c}.avatar{color:#173d2d;background:#e8d5a9}.avatar-row .small{color:#cbd5c7}
.topbar{background:#dce4d8;border-bottom:2px solid #aab99f;padding:0 22px;margin-left:-22px;margin-right:-22px}.breadcrumb{color:#405a48}.breadcrumb strong{color:#173d2d}.pill{border-color:#acbca2;background:#f6f7ef;color:#35503c}.button{background:#214b37;box-shadow:0 2px 0 #143323}.button:hover{background:#153b28}.button.secondary{background:#eee3c9;border-color:#bfa77d;color:#293f2c;box-shadow:0 2px 0 #d2c4a8}.button.secondary:hover{background:#e6d5af}.button.light{background:#e8d5a9}.filter{color:#425540;border-color:#aeba9f}.filter.active{background:#214b37;border-color:#214b37;color:white}.filter:hover:not(.active){background:#e3e8d9}.panel,.stat,.feature,.recipe-card{border-color:#c6cfbd;box-shadow:0 3px 12px #26392508}.notice{background:#e0e7d7;color:#354b31;border-left:3px solid #71815b}.chip{background:#e4eadb;color:#3e532e}.eyebrow{color:#52653c}.stat:nth-child(2){border-top:3px solid #285640}.stat:nth-child(3){border-top:3px solid #bd8242}.stat:nth-child(4){border-top:3px solid #7b8060}.stat:nth-child(3) .bar i{background:#bd8242}.stat:nth-child(4) .bar i{background:#7b8060}.shopping-preview{background:#e7dfca;border-color:#c9b891}.shopping-preview p{color:#5b604e}.choice{border-color:#bcc7b2}.choice:has(input:checked){background:#dfe9d2;border-color:#64834e;color:#2b4825}.field input,.field select,.field textarea{border-color:#a9b89f}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #627c4c;outline-offset:2px}.danger{color:#9a3223}
.recipe-card{overflow:hidden;padding:0}.recipe-photo{margin:0;position:relative;background:#d7dfce}.recipe-photo img{display:block;width:100%;height:205px;object-fit:cover}.recipe-photo figcaption{position:absolute;bottom:0;left:0;right:0;padding:20px 12px 8px;color:white;font-size:12px;background:linear-gradient(transparent,#000b)}.recipe-photo a{text-decoration:none;color:white}.recipe-card-body{padding:23px;display:flex;flex-direction:column;flex:1}.recipe-card-body .button{margin-top:auto}.macro-line{flex-wrap:wrap}.macro-settings{margin:23px 0 0;padding:20px;border:1px solid #aebd9f;border-radius:12px;background:#f4f6ed}.macro-settings legend{font-family:Manrope,sans-serif;font-size:18px;font-weight:700;padding:0 7px}.macro-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.macro-total{font-size:14px;margin:12px 0}.macro-strip{display:flex;height:10px;overflow:hidden;border-radius:8px;margin-bottom:12px}.macro-preview .small{line-height:1.7}
@media(max-width:900px){.feature{grid-template-columns:1fr}.feature-img{height:280px}.recipe-photo img{height:190px}.topbar{margin-left:-12px;margin-right:-12px;padding:0 12px}}
@media(max-width:750px){.sidebar{border-bottom:3px solid #b99352}.nav button.active{background:#e8d5a9;color:#18392b}.topbar{margin-left:-18px;margin-right:-18px;padding:0 18px}.macro-settings{padding:14px}.macro-inputs{gap:9px}.macro-inputs .field{font-size:13px}.recipe-photo img{height:230px}}
@media(max-width:380px){.macro-inputs{grid-template-columns:1fr}.topbar{height:auto;min-height:72px;gap:10px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}}
.unit-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 22px;padding:15px 18px;background:#e2e8dc;border:1px solid #bdc9b2;border-radius:11px}.unit-control{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;flex-wrap:wrap}.unit-control select{font-size:14px;background:#fffef8;border-color:#a9b89f;max-width:100%}.recipe-detail .section-head{align-items:flex-start;flex-wrap:wrap}.recipe-detail .recipe-photo{border-radius:12px;overflow:hidden;margin:0 0 20px}.recipe-detail .recipe-photo img{height:250px}@media(max-width:750px){.unit-toolbar{align-items:flex-start;flex-direction:column;gap:8px}.unit-control{width:100%}.unit-control select{width:100%}}
.polaris-mark{display:block;width:40px;height:40px;flex:none}.logo{gap:10px;letter-spacing:-1.2px}.logo>span:last-child{color:#f5f4ea!important}.sample-note{font-size:14px;line-height:1.6;max-width:180px}

/* Clear meal groups and balanced Home panels. */
.logo{font-size:25px;letter-spacing:.4px;gap:8px}.polaris-mark{width:34px;height:34px}
.lower{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.lower>.panel{min-width:0}.lower .section-head{align-items:flex-start;flex-wrap:wrap}.lower .diary-row{gap:10px}.lower .meal-symbol{width:32px;height:32px}.lower .row-title{overflow-wrap:anywhere}
.daily-meals{display:grid;gap:20px}.meal-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#e2e8dc;border-bottom:1px solid #bdc9b2;margin:-24px -24px 0;padding:16px 24px;border-radius:13px 13px 0 0}.meal-section-heading h2{font-size:21px}.meal-empty{color:var(--muted);font-size:15px;padding:22px 0 4px}.grocery-guidance{font-size:16px;line-height:1.6;color:#405a48;margin:-6px 0 24px}
@media(max-width:750px){.lower{grid-template-columns:1fr}.meal-section-heading{margin:-20px -20px 0;padding:16px 20px}.logo{font-size:25px}}

.stat.over-target .stat-value,.stat.over-target .stat-foot{color:#b42318}.stat.over-target .bar{background:#f8d4d0}.stat.over-target .bar i{background:#b42318}.stat:first-child.over-target .stat-value,.stat:first-child.over-target .stat-foot{color:#ffaaa3}.stat:first-child.over-target .bar{background:#78433f}.stat:first-child.over-target .bar i{background:#ffaaa3}

.recipe-actions{display:flex;gap:10px;margin-top:auto}.recipe-actions .button{flex:1;padding:12px 10px}.favorite{position:absolute;right:12px;top:12px;width:42px;height:42px;border-radius:50%;background:#fffdf2;color:#214b37;font-size:29px;box-shadow:0 2px 8px #0003;z-index:1}.favorite.selected{background:#ead4a4}.weekly-planner{margin-bottom:26px}.week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:22px}.week-day{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 4px;border:1px solid #bdc9b2;border-radius:12px;background:#f4f6ed;color:#214b37;font-size:14px;cursor:pointer}.week-day b{font-size:21px}.week-day small{font-size:12px}.week-day.selected,.week-day:has(input:checked){background:#214b37;color:white}.day-meals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.day-meals>section{background:#f4f6ed;border:1px solid #cbd1c5;border-radius:10px;padding:16px}.day-meals h3{margin-bottom:12px}.plan-date{margin-bottom:16px}.scheduled-meal{display:flex;flex-direction:column;align-items:flex-start;border-top:1px solid #cbd1c5;padding:10px 0}.scheduled-meal input{width:64px;padding:6px}.scheduled-meal .text-button{text-align:left}.date-choices{border:0;padding:0;margin:0 0 20px}.date-choices legend{margin-bottom:12px}.date-choices input{accent-color:#c69c51}dialog{margin:auto}dialog[open]{position:fixed;inset:0;height:fit-content;overflow-y:auto}@media(max-width:600px){.week-days{gap:4px}.week-day{font-size:12px}.week-day small{font-size:11px}.day-meals{grid-template-columns:1fr}.weekly-planner .section-head{flex-wrap:wrap}}

main{padding-top:36px}@media(max-width:750px){main{padding-top:24px}}

.food-log-link{text-align:left;font-size:16px;padding:2px 0;text-decoration:underline;text-underline-offset:3px}.diary-totals{font-size:20px;font-weight:600;line-height:1.6;color:#214b37}.diary-summary{flex-wrap:wrap}@media(max-width:750px){.diary-totals{font-size:18px}}

.meal-thumbnail{width:64px;height:64px;object-fit:cover;border-radius:10px;flex:none}.diary-row .row-detail{font-size:14px;line-height:1.6}.daily-totals-label{margin-right:14px;font-weight:800}.diary-totals{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px}@media(max-width:750px){.meal-thumbnail{width:52px;height:52px}.diary-row{gap:10px}}

.macro-inputs{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.macro-inputs .field{display:grid;grid-template-rows:2.8em auto;min-width:0}.macro-inputs .field>span{line-height:1.4}.macro-inputs input{width:100%;height:46px}.meal-markers{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;margin-top:4px}.meal-marker{display:inline-flex;align-items:center;gap:3px;font-size:12px}.meal-marker i{width:7px;height:7px;border-radius:50%;background:transparent}.meal-marker .breakfast{background:#dca22e}.meal-marker .lunch{background:#54a59a}.meal-marker .dinner{background:#af80bc}.meal-marker .snacks{background:#e78260}@media(max-width:600px){.meal-markers{display:grid;grid-template-columns:1fr 1fr;gap:4px}.macro-inputs{gap:6px}.macro-inputs .field{font-size:12px;grid-template-rows:3em auto}}

.plan-day-macros{display:flex;flex-direction:column;gap:4px;margin-top:8px;font-size:13px;line-height:1.4;font-weight:500}@media(max-width:600px){.weekly-planner .week-days{overflow-x:auto;grid-template-columns:repeat(7,minmax(76px,1fr));padding-bottom:6px}.plan-day-macros{font-size:12px}}

.stat:nth-child(3){border-top-color:#7b8060}.stat:nth-child(4){border-top-color:#bd8242}.stat:nth-child(3) .bar i{background:#7b8060}.stat:nth-child(4) .bar i{background:#bd8242}.stat.over-target .bar i{background:#b42318}.stat:first-child.over-target .bar i{background:#ffaaa3}

.profile-layout{align-items:start}.profile-left>.form-section{background:white;border:1px solid #c6cfbd;border-radius:14px;padding:24px;margin-bottom:22px}.profile-left>.form-section>h3{background:#e2e8dc;border-bottom:1px solid #bdc9b2;margin:-24px -24px 20px;padding:17px 24px;border-radius:13px 13px 0 0;font-size:20px}.profile-macros{margin-top:20px}.profile-macros .macro-settings{margin-top:0}.profile-right{min-width:0}@media(min-width:901px){.profile-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}

.profile-right>.form-section{background:white;border:1px solid #c6cfbd;border-radius:14px;padding:24px;margin:20px 0 0}.profile-right>.form-section>h3{background:#e2e8dc;border-bottom:1px solid #bdc9b2;margin:-24px -24px 20px;padding:17px 24px;border-radius:13px 13px 0 0;font-size:20px}

.profile-right>.panel>h3{background:#e2e8dc;border-bottom:1px solid #bdc9b2;margin:-24px -24px 20px;padding:17px 24px;border-radius:13px 13px 0 0;font-size:20px}.profile-macros .macro-settings{border:0;padding:0;background:transparent}.profile-right>.panel{padding:24px}

.week-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.week-actions .button{background:#ead4a4;border-color:#ad8547}.planned-day-section{margin-bottom:22px}.planned-day-section>h3{padding:10px 14px;background:#e2e8dc;border-radius:8px}

#toast.toast-upper{top:28vh;bottom:auto;left:50%;transform:translateX(-50%);max-width:calc(100vw - 40px);width:max-content;text-align:center;font-size:16px;line-height:1.5;padding:18px 26px;box-shadow:0 8px 32px #0004}

#toast.toast-upper{left:calc(50% + 115px);max-width:calc(100vw - 270px)}@media(max-width:1150px){#toast.toast-upper{left:calc(50% + 95px);max-width:calc(100vw - 230px)}}@media(max-width:750px){#toast.toast-upper{left:50%;max-width:calc(100vw - 40px)}}

.week-copy-footer{display:flex;justify-content:flex-end;margin-top:-12px}.week-copy-footer .text-button{padding:8px 0}

.sidebar>.nav{margin-top:36px}.side-bottom>.side-label{margin:18px 10px 20px}@media(max-width:750px){.sidebar>.nav{margin-top:16px}}

.diary-totals .total-over{color:#b42318}.week-copy-footer{justify-content:space-between}.reset-day{font-size:13px;padding:8px 12px;min-height:36px}

.meal-marker{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font-size:12px;font-weight:700;line-height:1;border:2px solid var(--meal-color);color:#173d2d;background:#fff}.meal-marker.breakfast{--meal-color:#dca22e}.meal-marker.lunch{--meal-color:#54a59a}.meal-marker.dinner{--meal-color:#af80bc}.meal-marker.snacks{--meal-color:#e78260}.meal-marker.planned{background:var(--meal-color)}.meal-markers{gap:4px}.meal-marker.unplanned{background:transparent;color:inherit}@media(max-width:1150px){.meal-markers{display:grid;grid-template-columns:repeat(2,22px)}}

/* Account and operations spaces share the original forest, stone and brass palette. */
.brand-link{text-decoration:none;color:#f5f4ea}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,47%) 1fr}.auth-story{background:#173d2d;color:#f5f4ea;padding:44px 11%;display:flex;flex-direction:column;overflow:hidden}.auth-story .eyebrow{color:#dcc594;letter-spacing:2px;font-size:11px;margin-bottom:22px}.auth-story-copy{margin:auto 0;padding:65px 0 40px}.auth-story h1{font-size:clamp(35px,3.2vw,52px);line-height:1.2;letter-spacing:-1.8px}.auth-story-copy>p{font-size:17px;color:#d2ddcf;max-width:390px;margin-top:22px;line-height:1.8}.auth-photo{margin-top:36px;position:relative;border-radius:140px 140px 16px 16px;overflow:hidden;max-width:430px;height:280px;border:1px solid #6b7955}.auth-photo img{width:100%;height:100%;object-fit:cover}.auth-photo span{position:absolute;bottom:0;left:0;right:0;padding:40px 22px 20px;background:linear-gradient(transparent,#122c22e8);font-size:14px;color:#f4e8c9}.auth-benefits{display:flex;flex-wrap:wrap;gap:15px 22px;color:#e5d5ad;font-size:12px;margin-top:25px}.auth-caption{font-size:12px;color:#b9cbbd;padding-top:15px}.auth-main{padding:38px 9% 28px;max-width:none;display:flex;flex-direction:column}.auth-top{text-align:right;font-size:13px;color:var(--muted);display:flex;justify-content:flex-end;gap:8px;align-items:center;flex-wrap:wrap}.auth-top .text-button{font-size:13px}.auth-card{width:100%;max-width:430px;margin:auto;padding:55px 0}.auth-card>.eyebrow{font-size:11px;letter-spacing:1.8px;margin-bottom:16px}.auth-card h2{font-size:38px;letter-spacing:-1.4px;line-height:1.2}.auth-card>p{font-size:15px;color:var(--muted);margin-top:17px;max-width:360px}.account-form{display:flex;flex-direction:column;gap:20px;margin-top:26px}.account-form input,.account-form textarea,.account-form select{width:100%;background:#fffef9;padding:13px 14px;min-height:46px}.account-form input[type=checkbox]{width:19px;min-height:19px}.account-form textarea{min-height:100px;resize:vertical}.password-input{display:flex;position:relative}.password-input input{padding-right:65px}.password-input button{position:absolute;right:6px;top:5px;height:36px;padding:0 10px;background:transparent;color:#526346;font-size:12px}.auth-submit{width:100%;padding:15px;justify-content:space-between}.form-error:empty{display:none}.form-error{color:#9a3223;font-size:14px;line-height:1.5}.forgot-link{align-self:flex-end;margin-top:-7px;font-size:13px}.auth-footnote{display:flex;gap:10px;padding-top:25px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);line-height:1.7;margin-top:26px}.auth-footnote .icon{width:17px}.auth-bottom{display:flex;justify-content:space-between;gap:20px;font-size:10px;letter-spacing:1px;color:#697369}.auth-bottom span{letter-spacing:0}.account-loading{display:grid;place-items:center;min-height:100vh;color:var(--green)}.server-error{max-width:620px;margin:12vh auto;padding:40px}.server-error p{margin:20px 0}.account-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:0 0 22px;margin-bottom:28px;border-bottom:1px solid #c8cfbf}.account-toolbar .text-button{font-size:12px;white-space:nowrap}.account-toolbar>.small{font-size:12px}.workspace-header{background:#173d2d;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 6%}.account-content{max-width:1250px;margin:auto;padding:35px 35px 60px}.account-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:28px}.account-columns p{margin:14px 0;color:var(--muted)}.account-details{display:grid;grid-template-columns:110px 1fr;gap:20px;font-size:14px;margin:25px 0}.account-details dt{color:var(--muted)}.account-details dd{margin:0;overflow-wrap:anywhere}.membership-highlight{background:#e5dec9;display:flex;flex-direction:column;justify-content:center}.membership-highlight h2{font-size:32px}.plan-card{padding:30px;display:flex;flex-direction:column;align-items:flex-start}.plan-card h2{margin-top:14px}.plan-price{font-size:28px;font-weight:700;margin:12px 0}.plan-card ul{padding-left:20px;margin:5px 0 25px;line-height:2.2;color:var(--muted);font-size:14px}.plan-card>.badge,.plan-card>.button{margin-top:auto}.retry-save{display:block;margin-top:15px;font-size:12px}.support-link{margin-top:20px}.studio-label{color:#dfc596;font-size:10px;letter-spacing:2.3px;margin:14px 0 0 42px}.admin-shell .sidebar{padding:32px 18px}.admin-shell .nav{margin-top:35px;gap:5px}.admin-shell .nav button{font-size:13px;padding:13px 10px;gap:10px}.admin-shell main{padding:29px 38px 40px}.admin-back{background:transparent;color:#f0e1bc;padding:12px;font-size:13px}.admin-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-stats .stat{min-width:0}.admin-stats .stat-value{font-size:35px;margin:18px 0 12px}.admin-stats .stat-foot{font-size:11px;line-height:1.6}.admin-stats .stat:first-child .stat-foot{color:#d5dfd4}.admin-overview-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:24px;margin-bottom:24px}.setup-links{display:flex;flex-direction:column;margin-top:20px}.setup-links button{display:flex;justify-content:space-between;gap:10px;text-align:left;padding:15px 0;background:transparent;border-top:1px solid #c7bc9d;color:#30472f;font-size:13px}.activity-row{display:flex;gap:13px;align-items:center;padding:17px 0;border-top:1px solid var(--line)}.activity-dot{width:7px;height:7px;background:#82916e;border-radius:50%;flex:none}.activity-row .row-title{font-size:13px}.activity-row .row-detail{font-size:11px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);background:#f1f3eb;padding:14px 12px;white-space:nowrap}td{padding:19px 12px;border-bottom:1px solid var(--line);line-height:1.5}td .text-button{white-space:nowrap;font-size:12px}.status-badge{display:inline-block;color:#335f43;background:#e6efde;font-size:11px;padding:5px 9px;border-radius:20px;white-space:nowrap;text-transform:capitalize}.status-badge.paused{background:#f0e6d2;color:#785e35}.admin-filter{display:flex;gap:18px;align-items:end;margin-bottom:23px}.admin-filter>label:first-child{flex:1}.admin-filter input{min-width:230px}.plan-editor{display:flex;flex-direction:column;gap:22px}.feature-options{margin:0;padding:0;border:0}.feature-options legend{font-size:14px;font-weight:600;margin-bottom:14px}.feature-option{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line);font-size:14px}.feature-option small{display:block;font-size:12px;color:var(--muted);margin-top:7px}.feature-option input{flex:none}.setup-steps{padding-left:22px;line-height:1.8;font-size:14px;margin:20px 0}.setup-steps li{margin-bottom:14px}.recipe-admin-name{display:flex;align-items:center;gap:14px;min-width:230px}.recipe-admin-name img{object-fit:cover;border-radius:9px}.vendor-url{overflow-wrap:anywhere}.operations-panel{max-width:760px}.operations-panel .account-form{margin-top:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.auth-photo{height:340px}.auth-story-copy{padding-top:80px;padding-bottom:60px}}
@media(max-width:1100px){.auth-story{padding:35px 8%}.auth-main{padding-left:9%;padding-right:9%}.admin-shell main{padding:25px}.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-overview-grid{grid-template-columns:1fr}.auth-shell{grid-template-columns:44% 56%}.auth-story h1{font-size:36px}.auth-photo{height:250px}}
@media(max-width:750px){.auth-shell{display:block}.auth-story{padding:23px}.auth-story-copy{padding:28px 0 8px}.auth-story h1{font-size:29px;letter-spacing:-1px}.auth-story h1 br{display:none}.auth-story-copy>p{margin-top:12px;font-size:14px;max-width:none}.auth-story .eyebrow{margin-bottom:13px;font-size:9px}.auth-photo,.auth-benefits,.auth-caption{display:none}.auth-main{padding:24px}.auth-top{justify-content:flex-start}.auth-card{padding:34px 0;max-width:500px}.auth-card h2{font-size:31px}.auth-bottom{font-size:9px}.auth-top,.auth-top .text-button{font-size:12px}.account-toolbar{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:23px}.account-columns{grid-template-columns:1fr}.account-content{padding:25px 18px}.workspace-header{padding:20px 18px}.workspace-header .button{font-size:11px;padding:9px}.workspace-header .logo{font-size:21px}.admin-shell .sidebar{padding:20px 18px 0}.admin-shell .nav{margin-top:18px}.admin-shell .nav button{font-size:12px}.studio-label{font-size:9px;margin-top:8px}.admin-shell main{padding:24px 18px}.admin-stats{gap:12px}.admin-stats .stat{padding:16px}.admin-stats .stat-title{font-size:12px}.admin-stats .stat-value{font-size:29px}.admin-stats .stat-foot{font-size:10px}.admin-filter{align-items:stretch;flex-direction:column}.admin-filter input{min-width:0}.admin-shell .intro{flex-wrap:wrap}.admin-shell h1{font-size:28px}.admin-shell .intro p{font-size:13px}.table-scroll{margin:0 -6px}td{padding:14px 10px}.server-error{margin:30px 18px;padding:24px}.account-details{grid-template-columns:80px 1fr}.plan-card{padding:24px}}


/* Pantry and aligned profile measurements */
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.form-grid>.field,.form-grid>div,.field input,.field select{min-width:0;max-width:100%;box-sizing:border-box}
.measurement-row{align-items:end}
.height-inputs{gap:10px;margin:0}
.height-inputs .field{margin:0}
.height-group{min-width:0}
.pantry-layout{align-items:start}
.pantry-form{display:grid;gap:18px;margin-top:22px}
.pantry-form .button{justify-self:start}
.pantry-row{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--border,#c5cfbb)}
.pantry-row .grow{min-width:0;overflow-wrap:anywhere}
.pantry-match{display:block;font-size:12px;text-decoration:none;color:#576254}
.pantry-expired{display:block;font-size:13px;color:#a52c20;margin-top:6px}
.list-row.done{color:#737a72}
@media(max-width:750px){.pantry-layout{grid-template-columns:1fr}.pantry-row{flex-wrap:wrap}}

.grocery-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.grocery-actions{flex-wrap:wrap;justify-content:flex-end}.grocery-columns .panel{min-width:0}.grocery-columns .list-row label{overflow-wrap:anywhere}.grocery-columns .pantry-match{text-decoration:none}@media(max-width:750px){.grocery-columns{grid-template-columns:1fr}.grocery-actions{justify-content:flex-start}}

/* A compact reminder of profile-based daily targets while planning meals. */
.meal-plan-intro{flex-wrap:wrap;align-items:center;gap:24px}.meal-plan-heading{flex:1 1 330px}.daily-macro-allowances{margin-left:auto;flex:0 1 350px;min-width:0}.daily-macro-label{font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin-bottom:9px}.daily-macro-allowances dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0}.macro-allowance{background:#fff;border:1px solid #c6cfbd;border-top:3px solid #285640;border-radius:10px;padding:11px 12px;box-shadow:0 3px 12px #26392508}.macro-allowance-f{border-top-color:#7b8060}.macro-allowance-c{border-top-color:#bd8242}.macro-allowance dt{font-size:12px;color:var(--muted);margin-bottom:6px}.macro-allowance dd{margin:0;font-family:Manrope,sans-serif;font-size:23px;font-weight:700;white-space:nowrap}.macro-allowance dd span{font-family:'DM Sans',sans-serif;font-size:10px;font-weight:400;color:var(--muted)}
@media(max-width:750px){.meal-plan-intro{gap:18px}.meal-plan-heading{flex-basis:100%}.daily-macro-allowances{flex-basis:100%;margin-left:0}.macro-allowance{padding:10px}.macro-allowance dd{font-size:22px}}

/* Keep profile-save confirmations visible regardless of the form scroll position. */
#toast.toast-center{position:fixed;top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%);width:max-content;max-width:calc(100vw - 40px);text-align:center;font-size:16px;line-height:1.5;padding:18px 26px;box-shadow:0 8px 32px #0004}

.planned-day-section .remove-planned-meal{flex:none;margin-left:auto;min-height:44px;padding:8px 4px;font-size:13px;text-align:right;text-decoration:underline;text-underline-offset:3px}.planned-day-section .food-log-link{overflow-wrap:anywhere}

.plan-day-macros .total-over{color:#b42318;font-weight:700}.week-day.selected .plan-day-macros .total-over{color:#ffaaa3}

/* Three membership tiers: beige essentials, tan Plus, and forest Premium. */
.account-panel-heading{font-family:'DM Sans',sans-serif;font-size:12px;font-weight:700;letter-spacing:1px;line-height:1.4;text-transform:uppercase}.panel.tier-free{background:#e5dec9;border-color:#c9c4af}.panel.tier-plus{background:#e8d5af;border-color:#c7aa78}.panel.tier-premium{background:#173d2d;border-color:#173d2d;color:#f5f4ea}.tier-premium .eyebrow{color:#ead4a4}.account-columns .tier-premium p,.tier-premium ul,.tier-premium .small{color:#d2ddcf}.tier-premium .button.secondary{background:#e8d5a9;border-color:#c7aa78;color:#173d2d}.tier-premium .button:disabled{opacity:1;background:#315440;border-color:#738574;color:#eee3c9}.tier-premium .badge{background:#e8d5a9;color:#173d2d}

/* Private recipe references, alongside the existing recipe catalog. */
.recipe-admin-tabs{margin-bottom:22px}.resource-library>.section-head{flex-wrap:wrap;gap:14px;align-items:center}.resource-intro{max-width:780px;color:var(--muted);font-size:14px;margin:0 0 25px}.resource-filters{align-items:end}.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.resource-card{display:flex;flex-direction:column;gap:13px;background:#f7f7f0;border:1px solid #c6cfbd;border-radius:12px;padding:23px;min-width:0}.resource-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.resource-card .eyebrow{margin:0;font-size:10px;letter-spacing:1px}.resource-card h3{font-size:20px;overflow-wrap:anywhere}.resource-domain{font-size:13px;color:#526346;overflow-wrap:anywhere;text-underline-offset:3px}.resource-card .chips{margin:0}.resource-notes{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;color:var(--muted);line-height:1.7}.resource-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:auto;padding-top:16px;border-top:1px solid #d5dacb}.resource-actions button{font-size:12px;min-height:36px}.resource-empty{grid-column:1/-1;background:#f5f5ec;border:1px dashed #b4bea9;border-radius:12px}.resource-empty h3{margin-bottom:10px}.resource-filters input{width:100%}@media(max-width:1050px){.resource-filters{flex-wrap:wrap}.resource-filters>label:first-child{flex-basis:100%}}@media(max-width:750px){.resource-grid{grid-template-columns:1fr}.resource-card{padding:18px}.resource-filters{align-items:stretch}.resource-actions{flex-wrap:wrap}}

.vendor-brand{width:48px;height:48px;flex-shrink:0;background:white;overflow:hidden}.vendor-brand img{width:32px;height:32px;object-fit:contain}.vendor-brand [hidden]{display:none}
