:root{--forest:#213d32;--ink:#233d32;--muted:#738076;--lime:#81e52c;--paper:#f5f4ee;--card:#fffefa;--line:#e3e7dd;--warm:#edece2;--amber:#a5681f;--amber-bg:#fff5e3;--green-bg:#eef7e8;--red:#a5453a;--radius:15px;--shadow:0 8px 28px #213d3208;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,select,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #68bb31;outline-offset:3px}button{color:inherit}a{color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.app-shell{display:flex;min-height:100vh}.sidebar{width:224px;flex:0 0 224px;background:var(--forest);color:#fffef8;padding:35px 20px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-weight:800;font-size:18px;letter-spacing:2px}.brand small{display:block;font-size:9px;font-weight:500;letter-spacing:3px;color:#c5d5ba;margin-top:5px}.brand-mark{background:var(--lime);color:var(--forest);font-size:20px;font-weight:950;letter-spacing:-3px;width:44px;height:44px;position:relative;border-radius:12px;display:grid;place-content:center;padding-right:3px;transform:skew(-3deg)}.brand-mark span{position:absolute;width:14px;height:3px;background:var(--forest);bottom:7px;right:8px}.workspace-label{font-size:9px;letter-spacing:1.8px;color:#9ab09e;margin:51px 12px 15px;font-weight:700}.nav-item{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#c1cec2;width:100%;padding:13px 12px;border-radius:9px;font-size:13px;text-align:left;margin:4px 0;transition:background .15s}.nav-item:hover{background:#ffffff09;color:#fff}.nav-item.active{background:#365142;color:#fff;font-weight:600}.nav-item.active svg{color:var(--lime)}.nav-count{margin-left:auto;font-size:10px;background:#ffffff10;min-width:22px;border-radius:5px;text-align:center;padding:3px 4px;color:#ceddc6}.nav-divider{height:1px;background:#ffffff12;margin:23px 12px}.sidebar-note{border:1px solid #91bd7733;background:#ffffff03;padding:16px 13px;border-radius:10px;margin:auto 2px 28px;font-size:9px;letter-spacing:1px;color:#d7e4cd}.live-dot{display:inline-block;background:var(--lime);width:6px;height:6px;border-radius:50%;margin-right:6px}.sidebar-note p{font-size:11px;line-height:1.7;color:#9fb49f;letter-spacing:0;margin:10px 0 0}.sidebar-footer{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff17;padding-top:18px;font-size:11px}.sidebar-footer small{display:block;color:#9ab09e;font-size:10px;margin-top:4px}.sidebar-footer>svg{margin-left:auto;width:15px;color:#9ab09e}.avatar{width:32px;height:32px;border-radius:50%;background:#e6ebdf;color:var(--forest);display:grid;place-items:center;font-size:10px;font-weight:700;letter-spacing:.3px}.avatar.small{width:27px;height:27px;font-size:9px;background:#e8eddf}main{min-width:0;flex:1}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px;background:#fafbf7}.breadcrumb{font-size:11px;color:#879087}.breadcrumb span{padding:0 12px;color:#b3bbb0}.breadcrumb b{font-weight:500;color:#425445}.topbar-right{display:flex;align-items:center;gap:20px}.prototype-tag{font-size:8px;font-weight:700;letter-spacing:1px;color:#89947e}.profile-chip{background:transparent;border:0;display:flex;align-items:center;gap:9px;font-size:11px}.profile-chip svg{width:15px;margin-left:8px;color:#7e8d7b}.main-content{max-width:1600px;margin:0 auto;padding:34px 35px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:700;color:#849178;margin-bottom:9px}h1{font-size:32px;line-height:1.18;letter-spacing:-1.1px;font-weight:600;margin:0 0 10px}p{line-height:1.65}.page-heading p{color:var(--muted);font-size:12px;margin:0;max-width:610px}.heading-actions{display:flex;gap:9px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:8px;padding:11px 15px;font-size:11px;font-weight:600;white-space:nowrap;transition:all .15s;min-height:38px;text-decoration:none}.button svg{width:15px;height:15px}.button.primary{background:var(--forest);color:white}.button.primary:hover{background:#315a40;box-shadow:0 3px 12px #213d3217}.button.lime{background:var(--lime);color:var(--forest)}.button.secondary{background:var(--card);border-color:#dce2d4}.button.secondary:hover{border-color:#9fb090;background:#fbfff5}.button.text{background:none;padding:4px 0;color:#52713d;min-height:0}.button.small{padding:7px 10px;min-height:30px;font-size:10px}.icon-button{width:32px;height:32px;border:1px solid #e2e6dc;background:transparent;border-radius:7px;display:inline-grid;place-items:center;padding:7px}.icon-button svg{width:15px;height:15px}.icon-button:hover{background:#eef3e8}.icon-button.is-locked{background:#e7efdc;border-color:#b7c9a7;color:#4d7134}.scenario-bar{background:#eaede3;border:1px solid #dce2d3;padding:13px 16px;display:flex;align-items:center;gap:13px;border-radius:10px;margin-bottom:19px}.scenario-bar .scenario-label{font-size:11px;font-weight:600;display:flex;gap:7px;align-items:center}.scenario-bar .scenario-label svg{width:16px}.scenario-bar select{background:#fafcf5;border:1px solid #ced7c3;font-size:11px;padding:7px 30px 7px 10px;border-radius:6px;max-width:100%}.scenario-bar .scenario-caption{font-size:10px;color:#718167;margin-left:auto}.stat-grid{display:grid;grid-template-columns:1.15fr repeat(4,1fr);gap:12px;margin-bottom:20px}.stat{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:17px 18px;box-shadow:var(--shadow)}.stat-label{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#7f8e79;font-weight:600;display:flex;justify-content:space-between;align-items:center}.stat-label>span{width:6px;height:6px;border-radius:50%;background:#adc0a2}.stat.energy .stat-label>span{background:var(--lime)}.stat.protein .stat-label>span{background:#5f8d64}.stat.carbs .stat-label>span{background:#c9aa71}.stat.fat .stat-label>span{background:#c1947a}.stat.fiber .stat-label>span{background:#879b76}.stat-value{font-size:27px;letter-spacing:-.8px;margin:10px 0 8px;font-weight:600;line-height:1}.stat-value small{font-size:11px;color:#819076;letter-spacing:0;font-weight:400;margin-left:4px}.stat-target{font-size:10px;color:#8a9482}.stat-bar{height:3px;background:#e9eee1;margin-top:13px;border-radius:4px;overflow:hidden}.stat-bar>span{display:block;height:100%;background:#81b85b;border-radius:4px}.stat-bar>span.off{background:#c5a96f}.notice{border-radius:10px;padding:13px 15px;display:flex;gap:10px;align-items:flex-start;font-size:11px;line-height:1.6;margin:0 0 22px;border:1px solid #ddd}.notice svg{width:17px;height:17px;margin-top:1px}.notice strong{font-weight:650}.notice p{margin:1px 0 0;font-size:10px}.notice.good{background:#eff5e9;border-color:#d7e3c7;color:#53713c}.notice.review{background:var(--amber-bg);border-color:#eeddb8;color:#92662f}.notice.blocked{background:#fff0e9;border-color:#eacbbd;color:#8c4f3e}.notice .button{margin-left:auto;align-self:center}.section-header{display:flex;justify-content:space-between;align-items:center;margin:26px 0 15px;gap:12px}.section-header h2{font-size:16px;font-weight:600;letter-spacing:-.35px;margin:0}.section-header p{font-size:10px;color:var(--muted);margin:6px 0 0}.section-header .meta{font-size:10px;color:#7e8e75;display:flex;align-items:center;gap:8px}.badge{font-size:8px;letter-spacing:.4px;padding:4px 7px;border-radius:5px;background:#e9efe1;color:#667b55;font-weight:650;white-space:nowrap;display:inline-block}.badge.amber{background:#faedcf;color:#95713e}.badge.dark{background:var(--forest);color:#e7f4dd}.week-scroller{overflow-x:auto;padding-bottom:7px}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(135px,1fr));gap:10px;min-width:1010px}.day-column{min-width:0}.day-top{display:flex;align-items:center;justify-content:space-between;padding:0 4px 10px;font-size:11px;font-weight:650}.day-top .day-number{font-size:9px;color:#8d9884;font-weight:400}.day-dot{width:6px;height:6px;background:#88af66;border-radius:50%}.day-dot.off{background:#cea768}.meal-card{background:var(--card);border:1px solid var(--line);border-radius:10px;margin-bottom:9px;min-height:156px;display:flex;flex-direction:column;overflow:hidden;transition:border .15s;position:relative}.meal-card.locked{border-color:#b4c798}.meal-card:hover{border-color:#c2d0b7}.meal-card .meal-slot{display:flex;align-items:center;gap:5px;font-size:8px;color:#849377;text-transform:uppercase;letter-spacing:.7px;padding:11px 11px 0}.meal-slot svg{width:12px;height:12px}.meal-card .meal-open{border:0;background:transparent;display:block;text-align:left;padding:8px 11px 5px;font-size:11px;line-height:1.45;font-weight:600;min-height:51px;width:100%}.meal-card .meal-open:hover{color:#5c802f}.meal-card .meal-energy{font-size:10px;padding:0 11px;color:#7c8b72;margin-top:auto}.meal-card .meal-energy b{font-weight:500;color:#426239}.meal-card .meal-actions{display:flex;align-items:center;gap:4px;padding:9px 9px 9px;margin-top:3px}.meal-card select{width:49px;background:#f6f8f1;border:1px solid #e2e7d9;font-size:9px;padding:4px 1px 4px 4px;border-radius:5px;color:#697c5b;height:24px}.meal-card .icon-button{width:25px;height:24px;padding:5px;border:0;background:#f2f5ec;flex-shrink:0}.meal-card .icon-button svg{width:12px;height:12px}.meal-card .swap-button{margin-left:auto}.meal-card .slot-stripe{height:3px;background:#b8cca5}.meal-card.lunch .slot-stripe{background:#d4c5a4}.meal-card.dinner .slot-stripe{background:#6e8e71}.meal-card.snack .slot-stripe{background:#cba693}.day-summary{padding:8px 8px 10px;border:1px solid #e0e7d6;background:#eef2e7;border-radius:9px}.day-summary.off{background:#f5f0e4;border-color:#e8ddc6}.day-summary .day-total{font-size:13px;font-weight:600;display:flex;justify-content:space-between;align-items:baseline;margin-bottom:9px}.day-summary .day-total small{font-size:8px;color:#839174;font-weight:400}.mini-macros{display:grid;grid-template-columns:repeat(2,1fr);gap:6px 4px;font-size:8px;color:#7d8974}.mini-macros b{color:#56674d;font-weight:550}.legend{display:flex;justify-content:space-between;gap:12px;margin:10px 0;font-size:9px;color:#8b9680}.legend svg{width:12px;height:12px;vertical-align:middle}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);padding:22px;box-shadow:var(--shadow)}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.panel h3{font-size:14px;font-weight:600;margin:0 0 9px}.panel p,.panel li{font-size:11px;color:#75816e;line-height:1.7}.panel ul{padding-left:17px;margin:9px 0}.detail-table{border-collapse:collapse;width:100%;font-size:11px}.detail-table th{text-align:left;color:#8a957f;font-weight:550;font-size:9px;text-transform:uppercase;letter-spacing:.6px;padding:13px 10px;background:#f1f4ea;border-bottom:1px solid var(--line);white-space:nowrap}.detail-table td{padding:13px 10px;border-bottom:1px solid #e8ecdf;vertical-align:top;line-height:1.55}.detail-table tr:last-child td{border-bottom:0}.detail-table .number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.detail-table td small{display:block;font-size:9px;color:#8a9580;margin-top:2px}.detail-table .off{color:#a5773f;font-weight:550}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:var(--card)}.table-wrap .detail-table{min-width:600px}.controls-bar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 18px;flex-wrap:wrap}.search-box{position:relative;flex:1;min-width:180px;max-width:390px}.search-box svg{position:absolute;left:12px;top:11px;width:16px;color:#95a08c}.search-box input{padding:11px 12px 11px 37px;width:100%;border:1px solid #dce3d1;background:var(--card);border-radius:8px;font-size:11px;color:var(--ink)}.filter-tabs{display:flex;gap:4px;flex-wrap:wrap}.filter-tabs button{border:1px solid transparent;padding:8px 12px;background:#e9eee0;border-radius:6px;color:#7a8a6b;font-size:10px}.filter-tabs button.active{background:var(--forest);color:white}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.recipe-tile{background:var(--card);border:1px solid var(--line);border-radius:13px;overflow:hidden;text-align:left;padding:0;display:flex;flex-direction:column;min-height:203px;transition:transform .15s,box-shadow .15s}.recipe-tile:hover{transform:translateY(-2px);box-shadow:0 8px 24px #213d320a;border-color:#bdcea9}.recipe-tile-top{padding:16px 18px 10px;display:flex;justify-content:space-between;align-items:center}.role-icon{width:34px;height:34px;display:grid;place-items:center;background:#eef2e6;border-radius:10px;color:#718d5c}.role-icon svg{width:18px}.recipe-tile h3{font-size:14px;line-height:1.4;padding:0 18px;margin:4px 0 9px;font-weight:600}.recipe-tile p{font-size:10px;color:#849179;padding:0 18px;margin:0 0 14px}.tile-macros{display:flex;justify-content:space-between;gap:4px;padding:12px 18px;background:#f5f6ef;margin-top:auto;border-top:1px solid #e9eddf;font-size:9px;color:#8a9480}.tile-macros b{display:block;font-size:12px;color:#4d6741;margin-bottom:3px;font-weight:600}.empty{padding:50px 25px;text-align:center;border:1px dashed #ccd6bf;border-radius:12px;background:#f8faf4;color:#75836b;font-size:12px}.empty h2{color:var(--ink);font-size:20px}.loading{padding:80px 20px;display:flex;align-items:center;justify-content:center;gap:15px;color:#859479;font-size:12px}.loading-ring{border:2px solid #dfebd5;border-top-color:#7caa58;width:20px;height:20px;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.page-footer{display:flex;justify-content:space-between;gap:15px;margin-top:32px;padding:18px 0 0;border-top:1px solid var(--line);font-size:9px;color:#96a08d;letter-spacing:.5px}.page-footer b{font-weight:400;margin-left:5px}.grocery-controls{display:flex;gap:10px;align-items:center;font-size:11px}.grocery-controls select{padding:8px;border:1px solid #d3ddc8;border-radius:6px;background:#fff;font-size:11px}.grocery-check{width:15px;height:15px;accent-color:#5d863c}.grocery-row.checked{opacity:.5}.grocery-row.checked .grocery-name{text-decoration:line-through}.purchase-note{font-size:9px;color:#9b7c48;max-width:220px}.metric-row{display:flex;gap:23px;margin:18px 0 22px;flex-wrap:wrap}.metric-row strong{font-size:22px;font-weight:600;display:block;color:#426139}.metric-row small{font-size:10px;color:#8c967f}.prep-card{border:1px solid var(--line);background:var(--card);border-radius:12px;margin:12px 0;overflow:hidden}.prep-card summary{display:flex;align-items:center;gap:14px;cursor:pointer;padding:18px 20px;list-style:none}.prep-card summary::-webkit-details-marker{display:none}.prep-card summary .prep-index{font-size:12px;color:#8ca072;background:#eef2e7;padding:8px;border-radius:7px}.prep-card summary strong{font-size:13px;font-weight:600;display:block}.prep-card summary small{font-size:10px;color:#8b977e;display:block;margin-top:5px}.prep-card summary>svg{margin-left:auto;transform:rotate(90deg);width:15px;color:#8fa17d}.prep-card[open] summary>svg{transform:rotate(-90deg)}.prep-body{padding:0 20px 22px;border-top:1px solid #edf0e5}.prep-note{background:#f1f5e8;padding:12px;border-radius:8px;font-size:10px;color:#6f825c;line-height:1.6;margin:15px 0}.prep-method{padding-top:15px}.prep-method h4{font-size:12px;margin:0 0 8px}.prep-method p{font-size:10px;color:#7d8a71;margin:4px 0;line-height:1.7}.prep-method ol{padding-left:19px;font-size:11px;line-height:1.75;color:#526548;margin:12px 0}.prep-method li{padding-left:3px;margin:8px 0}.rule-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:14px 0;border-bottom:1px solid #e8eddf;font-size:11px}.rule-row:last-child{border-bottom:0}.rule-row small{display:block;line-height:1.6;font-size:10px;color:#839077;margin-top:4px}.rule-row .badge{flex-shrink:0}.source-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.source-list a{font-size:10px;text-decoration:none;border-bottom:1px solid #a4b38d;color:#648146}.review-details{margin-top:22px}.review-details summary{cursor:pointer;font-size:11px;font-weight:600;padding:15px 0}.subtle{font-size:10px;color:#849178}.error-list{font-size:12px;line-height:1.7;text-align:left;max-width:600px;margin:20px auto}.error-list li{margin:7px 0}dialog{border:0;border-radius:18px;box-shadow:0 22px 100px #11271855;background:var(--card);color:var(--ink);padding:0;width:min(840px,calc(100vw - 32px));max-height:88vh}dialog::backdrop{background:#1530256e;backdrop-filter:blur(3px)}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:24px 27px 20px;border-bottom:1px solid #e4e9da;position:sticky;top:0;background:var(--card);z-index:2}.modal-header h2{font-size:22px;line-height:1.3;letter-spacing:-.5px;max-width:650px;margin:0;font-weight:600}.modal-header .eyebrow{margin-bottom:7px}.modal-header .icon-button{flex-shrink:0;margin-left:14px}#modal-body{padding:23px 27px 27px}.modal-intro{font-size:11px;color:#7d8b72;line-height:1.7;margin:0 0 20px}.form-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.form-grid.four{grid-template-columns:repeat(4,1fr)}.field label{display:block;font-size:10px;font-weight:550;margin:0 0 7px;color:#6e815d}.field input,.field select,.field textarea{width:100%;padding:10px;border:1px solid #d6e0cc;border-radius:7px;background:#fafcf6;color:var(--ink);font-size:12px}.field small{display:block;color:#8d997f;font-size:9px;margin-top:5px}.form-section{padding:20px 0 0}.form-section h3{font-size:12px;margin:0 0 14px}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-footer{display:flex;justify-content:space-between;align-items:center;margin-top:24px;padding-top:19px;border-top:1px solid #e6ecdc;gap:15px}.form-footer p{font-size:10px;color:#8b967d;max-width:440px;margin:0}.check-label{display:flex;align-items:center;gap:8px;font-size:11px;margin:12px 0;color:#6f805e}.check-label input{accent-color:#60883f}.modal-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:16px 0 20px}.modal-stat{padding:12px 10px;background:#f0f4e7;border-radius:8px;text-align:center}.modal-stat b{font-size:18px;display:block;font-weight:600}.modal-stat small{font-size:9px;color:#7b8e6a;display:block;margin-top:6px}.recipe-meta{display:flex;gap:7px;align-items:center;margin:10px 0;flex-wrap:wrap}.recipe-method-select{width:100%;border:1px solid #d8e2cc;padding:10px;border-radius:7px;background:#f9fbf3;font-size:12px;margin-bottom:10px}.swap-option{display:flex;align-items:center;gap:15px;border:1px solid #dfe7d5;border-radius:10px;background:#fcfdf7;padding:16px;text-align:left;width:100%;margin:9px 0}.swap-option:hover{background:#f0f7e6;border-color:#aac68e}.swap-option.selected{border-color:#81b44d;background:#f1f8e8}.swap-option strong{font-size:12px;font-weight:600;display:block;line-height:1.5}.swap-option small{font-size:10px;color:#829370;display:block;margin-top:4px}.swap-option .swap-impact{margin-left:auto;text-align:right;font-size:10px;white-space:nowrap;flex-shrink:0;color:#78915e}.swap-confirm{position:sticky;bottom:0;z-index:3;background:var(--card);border-top:1px solid #dfe7d6;padding:17px 0 10px;margin-top:18px;display:flex;justify-content:space-between;gap:18px;align-items:center}.swap-confirm p{font-size:10px;color:#839274;margin:0}.swap-preview{background:#f0f5e8;border-radius:10px;padding:16px;margin:15px 0}.swap-preview h3{font-size:12px;margin:0 0 9px}.swap-preview .delta-line{display:flex;gap:18px;flex-wrap:wrap;font-size:10px;color:#6f845d}.swap-preview .delta-line strong{color:#43652d}.export-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.export-card{border:1px solid #dfe6d5;border-radius:10px;background:#f8faf3;padding:22px;text-align:left}.export-card:hover{background:#edf4e2;border-color:#adc790}.export-card svg{color:#5e7e43;margin-bottom:13px}.export-card b{display:block;font-size:13px;margin-bottom:7px}.export-card small{display:block;color:#819170;font-size:10px;line-height:1.6}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#213d32;color:#eff7e9;border-radius:10px;padding:13px 20px;font-size:12px;box-shadow:0 6px 30px #183c2940;z-index:99;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100vw - 32px);text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}#print-content{display:none}.link-button{background:transparent;border:0;color:#587c3e;text-decoration:underline;text-underline-offset:3px;padding:0;font-size:inherit}.mobile-help{display:none}.ingredient-state{display:block;font-size:9px;color:#8b967c;margin-top:3px}.time-label{font-size:9px;color:#8a967b;margin-top:9px}
@media(min-width:1600px){.week-grid{min-width:0;gap:14px}.meal-card{min-height:165px}.meal-card .meal-open{font-size:12px}.meal-card .meal-slot{font-size:9px}.meal-card .meal-energy{font-size:11px}.main-content{padding-left:44px;padding-right:44px}}
@media(max-width:1200px){.sidebar{width:195px;flex-basis:195px;padding-left:15px;padding-right:15px}.main-content{padding:28px 25px 18px}.topbar{padding:0 25px}.brand{font-size:15px;gap:10px}.brand small{font-size:8px;letter-spacing:2.3px}.brand-mark{width:38px;height:38px}.page-heading{align-items:flex-start}h1{font-size:29px}.heading-actions{padding-top:15px}.stat{padding:15px 13px}.stat-value{font-size:24px}.scenario-caption{display:none}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.button{font-size:10px;padding:10px 12px}}
@media(max-width:850px){.sidebar{width:76px;flex-basis:76px;padding:25px 12px 14px}.brand>span:nth-child(2),.workspace-label,.nav-item>span,.sidebar-note,.sidebar-footer>div,.sidebar-footer>svg{display:none}.brand{justify-content:center}.nav-item{justify-content:center;padding:13px 10px;margin:9px 0}.sidebar nav{margin-top:37px}.nav-item svg{width:21px;height:21px}.sidebar-footer{margin-top:auto;justify-content:center}.nav-divider{margin:22px 2px}.topbar{height:65px;padding:0 22px}.main-content{padding:26px 22px 18px}.prototype-tag{display:none}.stat-grid{gap:8px}.stat-value{font-size:23px}.stat-label{font-size:8px;letter-spacing:.5px}.stat-target{font-size:9px}.page-heading p{max-width:350px}.two-col{grid-template-columns:1fr}.heading-actions{flex-direction:column;padding-top:0;gap:6px}}
@media(max-width:600px){.app-shell{display:block}.sidebar{position:sticky;top:0;z-index:10;width:100%;height:58px;padding:8px 15px;flex-direction:row;align-items:center;gap:15px}.brand-mark{width:34px;height:34px;font-size:17px}.brand-mark span{width:11px;right:7px;bottom:6px}.sidebar nav{margin:0;display:flex;gap:5px;flex:1;justify-content:flex-end}.nav-item{width:37px;margin:0;padding:8px;border-radius:6px}.nav-item svg{width:18px;height:18px}.nav-divider,.sidebar-footer{display:none}.topbar{height:48px;padding:0 17px}.breadcrumb{font-size:9px}.breadcrumb span{padding:0 7px}.profile-chip{font-size:10px;gap:6px}.profile-chip svg{display:none}.avatar.small{width:23px;height:23px;font-size:8px}.main-content{padding:24px 16px 16px}.page-heading{display:block;margin-bottom:20px}h1{font-size:29px}.page-heading p{font-size:11px;max-width:none}.heading-actions{flex-direction:row;margin-top:18px}.heading-actions .button{padding:10px 14px}.scenario-bar{padding:10px;gap:8px;flex-wrap:wrap}.scenario-bar .scenario-label{font-size:10px}.scenario-bar select{font-size:10px;flex:1;min-width:120px}.scenario-bar .button{font-size:9px}.stat-grid{grid-template-columns:repeat(4,1fr);gap:7px}.stat.energy{grid-column:span 4;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:13px 15px}.stat.energy .stat-label{grid-column:1}.stat.energy .stat-value{grid-column:2;grid-row:1/3;text-align:right;margin:0;font-size:28px}.stat.energy .stat-target{grid-column:1}.stat.energy .stat-bar{display:none}.stat{padding:12px 9px;border-radius:10px}.stat-label{font-size:7px;letter-spacing:.2px}.stat-label>span{width:4px;height:4px}.stat-value{font-size:20px;margin:10px 0 6px}.stat-value small{font-size:8px;margin-left:2px}.stat-target{font-size:8px;line-height:1.4}.stat-bar{margin-top:10px;height:2px}.notice{font-size:10px;padding:11px}.notice p{font-size:9px}.notice .button{display:none}.section-header{margin-top:20px}.section-header h2{font-size:15px}.section-header .meta{font-size:9px}.week-grid{min-width:995px;gap:9px}.legend{font-size:8px;line-height:1.6;display:block}.legend>span{display:block;margin:4px 0}.mobile-help{display:inline;color:#8b9a7b;font-size:9px;margin-left:10px}.recipe-grid{grid-template-columns:1fr 1fr;gap:10px}.recipe-tile-top{padding:12px 12px 7px}.recipe-tile h3{padding:0 12px;font-size:12px}.recipe-tile p{padding:0 12px;font-size:9px}.tile-macros{padding:10px 12px;font-size:8px}.tile-macros b{font-size:10px}.role-icon{width:28px;height:28px}.role-icon svg{width:15px}.recipe-tile{min-height:195px}.filter-tabs button{font-size:9px;padding:7px 10px}.controls-bar{gap:10px}.search-box{max-width:none;width:100%}.panel{padding:17px}.form-grid{grid-template-columns:repeat(2,1fr)}.form-grid .field:last-child{grid-column:span 2}.form-grid.four{grid-template-columns:repeat(2,1fr)}.form-grid.four .field:last-child{grid-column:auto}.form-pair{grid-template-columns:1fr}.modal-header{padding:20px 18px 16px}.modal-header h2{font-size:19px}#modal-body{padding:20px 18px}.modal-stats{gap:5px}.modal-stat{padding:10px 5px}.modal-stat b{font-size:15px}.modal-stat small{font-size:8px}.swap-option{padding:12px;gap:8px}.swap-option strong{font-size:11px}.swap-option small{font-size:9px}.swap-option .swap-impact{font-size:9px}.export-grid{grid-template-columns:1fr}.form-footer{align-items:flex-start}.form-footer p{font-size:9px}.page-footer{font-size:7px;letter-spacing:.2px}.prep-card summary{padding:15px 12px;gap:10px}.prep-card summary strong{font-size:12px}.prep-body{padding:0 14px 18px}.metric-row{gap:20px}.grocery-controls{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white}.app-shell,dialog,#toast{display:none!important}#print-content{display:block;padding:0;color:#222;font:11pt/1.5 Arial,sans-serif}#print-content h1{font-size:24pt}#print-content h2{font-size:17pt;margin-top:25px}#print-content h3{font-size:13pt;margin-top:18px}#print-content table{width:100%;border-collapse:collapse}#print-content th,#print-content td{border-bottom:1px solid #ddd;padding:7px;text-align:left}#print-content .print-section{break-inside:avoid}#print-content .subtle{font-size:9pt}.print-hide{display:none}}

/* Recipe-specific portion controls */
.portion-tag{font-size:7px;font-weight:700;letter-spacing:.6px;color:#788572;line-height:1.5;margin:4px 0 8px}.portion-tag.customized{color:#456b2a}.component-editor{margin:20px 0;padding:18px;border:1px solid #cedbbf;background:#f4f8ee;border-radius:10px}.component-editor h3{font-size:14px;margin:0 0 8px}.component-editor p{font-size:11px;color:#65735d}.component-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.component-fields label{line-height:1.5}.quantity-input{display:flex;align-items:center;gap:9px}.quantity-input input{min-width:0;flex:1}.quantity-input span{font-size:12px;color:#67765e}.component-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.adjustment-list{font-size:11px;line-height:1.8;padding-left:20px;color:#536845}.swap-target{padding:15px;border:1px solid #e0e6d6;border-radius:9px;background:#f4f7ef;font-size:11px;margin-bottom:16px}.swap-target>div{display:flex;gap:15px;flex-wrap:wrap;margin-top:10px}.swap-target span{font-size:10px;color:#738066}.swap-target b{display:block;color:#294834;margin-top:3px;font-size:12px}.tailor-toggle{font-size:12px}.swap-preview p{font-size:11px}.swap-option small+small{margin-top:5px;color:#70835d}.prep-body .adjustment-list{padding:12px 18px 12px 30px;background:#f2f6ea;border-radius:8px}
@media(max-width:600px){.component-fields{grid-template-columns:1fr}.component-editor{padding:14px}.component-actions .button{width:100%}.swap-target>div{gap:12px}.portion-tag{font-size:7px}}

/* Meal organization and strict matching */
.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}.meal-organize{display:flex;border-top:1px solid #e8eddf;margin-top:auto;background:#f9fbf5}.meal-organize button{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;background:transparent;border:0;min-height:31px;padding:7px 5px;font-size:9px;color:#65804e}.meal-organize button+button{border-left:1px solid #e8eddf}.meal-organize button:hover:enabled{background:#eef4e4;color:#315323}.meal-organize svg{width:12px;height:12px}.matching-count{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0;font-size:10px;color:#7b8a6f}.swap-empty{padding:25px 18px}.swap-empty h3{font-size:16px;color:var(--ink);margin:0 0 10px}.swap-empty p{font-size:11px;max-width:550px;margin:0 auto 18px}.swap-empty .button{margin:4px}.organize-source{background:#f4f7ed;border:1px solid #dbe4ce;border-radius:10px;padding:17px;margin:0 0 20px}.organize-source h3{font-size:15px;line-height:1.5;margin:9px 0}.organize-source p{font-size:11px;color:#6b7c5e;margin:5px 0}.organize-source details{margin-top:13px}.organize-source summary,.swap-preview summary{font-size:10px;color:#587741;cursor:pointer}.organize-source .table-wrap,.swap-preview details .table-wrap{margin-top:12px}.copy-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0 13px}.copy-tools h3{font-size:13px;margin:0 auto 0 0}.copy-day-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;border:0;margin:0;padding:0}.copy-day{display:flex;align-items:flex-start;gap:11px;background:#fafcf6;border:1px solid #dfe7d5;border-radius:9px;padding:13px;cursor:pointer}.copy-day:has(input:checked){border-color:#81ad57;background:#f0f7e7}.copy-day input{margin-top:3px;accent-color:#5e853c;flex-shrink:0}.copy-day strong{font-size:12px;display:block}.copy-day small{display:block;font-size:10px;line-height:1.5;color:#7a8b6b;margin-top:4px}.copy-day.unavailable{opacity:.6;cursor:not-allowed}.move-destination{margin:20px 0}.move-destination select{font-size:11px}#copy-preview,#move-preview{margin-top:20px}#copy-preview .notice,#move-preview .notice{margin-bottom:12px}#copy-confirm-description,#move-confirm-description{max-width:500px;line-height:1.6}.notice .icon-button{margin-left:auto;flex-shrink:0}.notice .button.text{display:inline-flex;margin-top:8px}.meal-card .portion-tag{padding:0 11px;margin-bottom:2px}.meal-card .meal-actions{margin-top:3px}
@media(max-width:600px){.copy-day-grid{grid-template-columns:1fr}.copy-tools{gap:10px}.copy-tools h3{width:100%}.organize-source{padding:14px}.swap-confirm{gap:10px;align-items:flex-start}.swap-confirm>p{font-size:9px;max-width:55%}.swap-confirm>.button{min-height:38px;padding:10px;font-size:10px}.matching-count{align-items:flex-start}.meal-organize button{min-height:33px}.move-destination select{font-size:10px}}

/* v0.4 target comparisons, exact meal repetition and food assembly */
.stats-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:24px 0 12px}.stats-heading h2{font-size:15px;font-weight:600;margin:0}.stats-heading p{font-size:10px;color:#7c8972;margin:0}.stat-caption{font-size:7px;letter-spacing:.65px;color:#8b967f;margin-top:12px}.stat-range{font-size:9px;color:#78886c;margin-top:4px;line-height:1.45}.stat-delta{font-size:9px;color:#56783d;margin-top:8px;line-height:1.5}.stat-delta.off{color:#9a723c}.stat-value{margin-top:7px}.day-target{font-size:8px;line-height:1.6;color:#78866b;padding:5px 0 7px;border-bottom:1px solid #dce5ce;margin-bottom:7px}.day-summary.off .day-target{color:#987a4b;border-color:#e7dcc6}.target-table td{min-width:115px}.target-table td:first-child{min-width:70px}.target-table td small{font-size:9px;max-width:165px}.meal-card .meal-actions{padding:7px;gap:3px}.meal-card .meal-actions select{width:40px}.meal-card .meal-actions .icon-button{width:23px;height:25px}.meal-organize button{font-size:8.5px;min-height:34px}.meal-organize button+button{border:0}.meal-preview{margin-top:22px}.preview-footer{flex-direction:column;align-items:stretch;gap:10px;padding-top:13px}.preview-footer>p{max-width:none;line-height:1.5}.preview-footer>div{display:flex;justify-content:flex-end;gap:9px}.preview-footer .button{white-space:normal;line-height:1.35}.preview-blockers{font-size:11px;line-height:1.8;color:#8b6d40;padding-left:20px}.preview-alternatives{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:17px 0}.preview-placement{font-size:11px;color:#6f805e;background:#f5f8ef;border-radius:8px;padding:13px}.meal-change{border:1px solid #dce6d1;border-radius:10px;margin:15px 0;overflow:hidden}.meal-change-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f0f5e8;padding:12px 15px}.meal-change-heading h3{font-size:12px;margin:0}.change-pair{display:grid;grid-template-columns:1fr 1fr}.change-portion{padding:16px;min-width:0}.change-portion+.change-portion{border-left:1px solid #e5ecdc;background:#fbfdf8}.change-label{font-size:8px;letter-spacing:.7px;color:#7b8d6a}.change-portion h4{font-size:13px;line-height:1.45;margin:9px 0}.change-portion p{font-size:11px;margin:6px 0}.change-portion summary{font-size:10px;color:#5b7a43;cursor:pointer}.change-portion .table-wrap{margin-top:10px}.meal-change>.adjustment-list{padding:0 20px 0 35px}.preview-section-title{font-size:14px;margin:22px 0 12px}.loading.compact{padding:22px 14px;font-size:11px;min-height:80px}.builder-destination{background:#f2f6eb;padding:16px;border:1px solid #dee7d2;border-radius:10px;margin-bottom:17px}.builder-template{margin:18px 0}.builder-components{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.builder-component{background:#fafcf7;border:1px solid #dfe7d5;border-radius:10px;padding:15px;min-width:0}.builder-component select{font-size:11px;text-overflow:ellipsis}.component-amount{margin-top:13px}.builder-component .quantity-input input{width:100%;min-width:0}.component-state{font-size:10px;line-height:1.6;color:#5d7650;margin:10px 0 0}.component-range{font-size:9px;line-height:1.5;color:#8a967e;margin:6px 0 0}.builder-options{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0}.builder-options>.field{max-width:260px}.builder-options .check-label{max-width:300px;line-height:1.5}.food-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 17px}.food-intro h2{font-size:17px;margin:0 0 7px;font-weight:600}.food-intro p{font-size:11px;color:#7b8971;margin:0}.assembly-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:0 0 25px}.assembly-template{display:flex;align-items:center;gap:13px;text-align:left;background:#f1f6e9;border:1px solid #dbe6cf;border-radius:10px;padding:15px}.assembly-template>span:nth-child(2){flex:1;min-width:0}.assembly-template strong{display:block;font-size:12px;line-height:1.5;font-weight:600}.assembly-template small{display:block;font-size:10px;color:#829273;margin-top:4px}.assembly-template>svg{width:16px;color:#7b9563}.assembly-template:hover{border-color:#98b47c;background:#edf5e2}.food-filters button{font-size:9px;padding:7px 9px}.food-tile .food-reference{font-size:9px;color:#6e855b;margin-bottom:10px}.food-tile .food-fiber{font-size:9px;padding:8px 18px 12px;margin:0;color:#819374}.food-tile .tile-macros{margin-top:auto}.food-tile h3{min-height:unset}.food-tile>p{line-height:1.5}
@media(max-width:900px){.stats-heading{display:block}.stats-heading p{margin-top:5px}.food-intro{align-items:flex-start}.food-filters{max-width:100%}}
@media(max-width:600px){.sidebar .nav-item{width:34px}.stats-heading{margin-top:20px}.stat-caption{font-size:6px}.stat-range,.stat-delta{font-size:8px}.stat-target{line-height:1.5}.change-pair,.builder-components,.assembly-template-grid{grid-template-columns:1fr}.change-portion+.change-portion{border-left:0;border-top:1px solid #e5ecdc}.preview-footer>p{max-width:none;font-size:9px}.preview-footer>div{width:100%}.preview-footer .button{flex:1;padding:10px 8px;font-size:10px;min-height:42px}.builder-options{align-items:flex-start;flex-direction:column;gap:6px}.builder-options>.field{max-width:none;width:100%}.builder-options .check-label{max-width:none}.builder-destination{padding:12px}.food-intro{display:block}.food-intro .button{margin-top:13px}.meal-change-heading{align-items:flex-start}.meal-change-heading .badge{font-size:7px}.food-filters{gap:4px}.preview-section-title{font-size:13px}}

/* Whole saved sauce batches remain separate from meal consumption. */
.sauce-notice{background:#edf4ec;border-color:#cadfc9}.sauce-batches{margin-top:28px}.sauce-batch-card .prep-index svg{width:20px;height:20px}.sauce-allocation-note{font-size:12px;line-height:1.65;padding:12px 14px;border-left:3px solid var(--sage);background:#f3f5ee;color:var(--muted)}.sauce-allocation-label{display:block;margin-top:4px;color:var(--sage-dark,#386248);font-size:11px}.sauce-batches .prep-note{line-height:1.7}
/* v0.5: assigned portions and practical purchase estimates */
.meal-card .meal-actions{justify-content:flex-end;gap:6px;padding:8px 9px}.assigned-portions{margin-right:auto;font-size:10px;color:#718361;line-height:1.4}.meal-card .meal-actions .icon-button{width:27px;height:28px}.assembly-template:hover{border-color:#dbe6cf;background:#f1f6e9}.shopping-section{margin:26px 0}.shopping-section .section-header{margin:0 0 12px}.shopping-section-count{font-size:11px;font-weight:500;color:#839477;background:#edf2e5;border-radius:20px;padding:3px 8px;margin-left:5px;vertical-align:middle}.shopping-table{table-layout:fixed;width:100%}.shopping-table .ready-column{width:58px}.shopping-table th:nth-child(2){width:26%}.shopping-table th:nth-child(3){width:17%}.shopping-table td{vertical-align:top;padding:17px 15px}.shopping-table .grocery-name{font-weight:600;font-size:12px;line-height:1.5}.shopping-table .ingredient-state{font-size:10px;line-height:1.5;margin-top:5px}.shopping-table td.number{font-size:11px}.shopping-buy{font-size:13px;font-weight:600;line-height:1.5;margin-top:7px;color:#3e5a32}.shopping-weight{font-size:11px;font-weight:500;color:#69815b}.shopping-note{font-size:10px;color:#718168;line-height:1.65;margin:7px 0}.package-coverage{font-size:11px;color:#53753e;line-height:1.65;margin:8px 0 5px}.estimate-badge{background:#eef1df;color:#718146}.estimate-details{margin-top:9px}.estimate-details summary{font-size:10px;color:#748866;cursor:pointer;display:list-item}.estimate-details p,.estimate-details li{font-size:10px;line-height:1.6;color:#7c8b71}.estimate-details ul{padding-left:17px;margin:8px 0}.estimate-details .source-list{margin:9px 0}.estimate-details .source-list a{overflow-wrap:anywhere;font-size:9px}.exact-grocery-details{margin-top:27px}.exact-grocery-details>summary{cursor:pointer;font-size:12px;font-weight:600;color:#536d42}.exact-grocery-details[open]>summary{margin-bottom:14px}.exact-grocery-details .table-wrap{margin:15px 0 10px}.shopping-footnote{line-height:1.7;margin-top:17px;max-width:870px}.shopping-intro p{max-width:900px}
@media(max-width:900px){.shopping-table{min-width:660px}.shopping-table td{padding:14px 12px}.shopping-table .grocery-name{font-size:11px}.shopping-buy{font-size:12px}}
@media(max-width:600px){.shopping-table{min-width:600px}.shopping-table .ready-column{width:48px}.shopping-section .section-header p{font-size:10px;line-height:1.6}.shopping-section-count{font-size:10px}.shopping-footnote{font-size:10px}.assigned-portions{font-size:9px}.meal-card .meal-actions{padding:7px 8px}}

/* v0.6: calorie closeness, weekly variety and preserved-draft updates. */
.week-quality{padding:18px 20px;margin:18px 0;border:1px solid #dce5d1;border-radius:12px;background:#f8faf4}.week-quality-metrics{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:18px}.week-quality-metrics>div+div{border-left:1px solid #e1e8d9;padding-left:20px}.week-quality-metrics strong{display:block;font-size:19px;color:#294834;font-weight:600;line-height:1.4}.week-quality-metrics strong small{font-size:11px;font-weight:500}.week-quality-metrics span{display:block;color:#738568;font-size:10px;line-height:1.6;margin-top:4px}.week-quality>p{font-size:10px;color:#7a8970;line-height:1.65;margin:13px 0 0;max-width:1000px}.week-quality .quality-limit,.quality-limit{font-size:11px;line-height:1.65;color:#8a734e}.generation-notice p{max-width:900px;line-height:1.7}.generation-notice .button+.button{margin-left:12px}.generation-comparison{margin:20px 0 12px}.generation-comparison td,.generation-comparison th{font-size:11px}.generation-comparison tr:last-child td{background:#f2f7e9;font-weight:600;color:#3c5c2d}.generation-meal-details{margin-top:18px}.generation-meal-details>summary{font-size:11px;font-weight:600;color:#587443;cursor:pointer;margin:10px 0}.generation-meal-details td{vertical-align:top;min-width:140px;font-size:11px}.generation-meal-details td:first-child{min-width:90px}.generation-meal-details small{display:block;font-size:9px;color:#7a8c6b;margin-top:5px}.generation-meal-details .adjustment-list{font-size:9px;padding-left:15px;line-height:1.6}
@media(max-width:900px){.week-quality-metrics{grid-template-columns:1fr 1fr;gap:14px}.week-quality-metrics>div:last-child{grid-column:1/-1;border-left:0;border-top:1px solid #e1e8d9;padding:12px 0 0}.week-quality-metrics strong{font-size:18px}}
@media(max-width:600px){.week-quality{padding:15px}.week-quality-metrics strong{font-size:16px}.week-quality-metrics strong small{font-size:10px}.week-quality-metrics>div+div{padding-left:12px}.week-quality-metrics>div:last-child{padding-left:0}.week-quality>p{font-size:9px}.generation-notice .button+.button{margin-left:0}.generation-comparison{min-width:500px}.generation-notice .icon-button{align-self:flex-start}}
.generation-amount-details>summary{font-size:10px;color:#587443;cursor:pointer;padding:3px 0}.generation-amount-details .change-pair{margin-top:10px;border:1px solid #e1e8d9;border-radius:8px;overflow:hidden}.generation-amount-row>td{padding-top:5px!important;padding-bottom:14px!important}
.swap-options-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0 7px;padding:14px 15px;background:#f2f6ec;border:1px solid #dce6d2;border-radius:10px}.swap-options-status{min-width:0}.swap-options-status strong{display:block;font-size:12px;line-height:1.5;font-weight:600}.swap-options-status small{display:block;font-size:10px;line-height:1.6;color:#6f805f;margin-top:4px}.swap-options-toolbar>.button{flex-shrink:0}.swap-refresh-help{margin:0 0 17px;font-size:10px;line-height:1.6}.swap-option>span:nth-child(2){min-width:0}.swap-preview .generation-amount-details{margin-top:14px}.swap-preview .change-portion h4{margin-top:8px}
@media(max-width:600px){.swap-options-toolbar{align-items:flex-start;gap:10px;padding:12px;flex-wrap:wrap}.swap-options-status{width:100%}.swap-options-toolbar>.button{min-height:36px}.swap-refresh-help{font-size:9px}.swap-option{align-items:flex-start}.swap-option .swap-impact{font-size:8px}.swap-option .swap-impact .badge{white-space:normal;max-width:65px;line-height:1.4}}
.swap-option .swap-day-change{color:#85652f;line-height:1.6}.swap-option .swap-day-change .badge{margin-right:5px;vertical-align:middle}.swap-day-preview{margin-top:24px}.swap-day-preview>.preview-section-title{font-size:14px}.swap-confirm-footer #swap-confirm-description{line-height:1.6}
@media(max-width:600px){.swap-confirm-footer{flex-direction:column;align-items:stretch}.swap-confirm-footer #swap-confirm-description{max-width:none;font-size:10px}.swap-confirm-footer #confirm-swap{width:100%}.swap-option .swap-day-change .badge{display:inline-block;margin-bottom:3px}}

/* Approved intake session */
.intake-connection{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 22px;padding:17px 19px;border:1px solid #d9d9bf;border-radius:12px;background:#faf8ed}.intake-connection.connected{border-color:#cfdfbd;background:#f1f7e9}.intake-connection strong{font-size:12px;color:var(--forest)}.intake-connection p{font-size:11px;line-height:1.6;color:#67765b;margin:6px 0}.intake-connection small{font-size:10px;line-height:1.6;color:#7e896d}.intake-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-shrink:0;flex-wrap:wrap;max-width:350px}.intake-actions .button{font-size:10px}.intake-detail-list{display:grid;grid-template-columns:150px 1fr;gap:12px 20px;font-size:12px;line-height:1.6}.intake-detail-list dt{font-weight:600;color:#4f6843}.intake-detail-list dd{margin:0;color:#697b5e}.intake-detail-list small{display:block;color:#879477;font-size:10px}.scenario-bar>strong{font-size:12px}.intake-connection .button:disabled{cursor:wait}@media(max-width:850px){.intake-connection{flex-direction:column;gap:12px}.intake-actions{justify-content:flex-start;max-width:none}}@media(max-width:600px){.intake-connection{padding:14px}.intake-detail-list{grid-template-columns:1fr;gap:3px}.intake-detail-list dd{margin-bottom:10px}.intake-actions .button{font-size:10px}}

/* Assigned sides and preparation amounts stay part of the meal. */
.side-ingredient-label{display:block;color:var(--green-dark,#254b3c);font-weight:700;margin-top:4px;font-size:.75rem}.side-summary{padding:10px 12px;background:#f3f7ed;border-radius:10px}.portion-adjustments{margin:12px 0}.portion-adjustments summary{cursor:pointer;color:var(--text-muted,#5d675f);font-size:.84rem}.household-prep{margin:18px 0;padding:14px;background:#f7f6f1;border-radius:12px}.household-prep details{margin:8px 0}.household-prep summary{cursor:pointer;font-weight:600}

/* Two-session preparation guide */
.prep-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 22px}.prep-view-tabs{display:inline-flex;gap:5px;padding:5px;background:#e9eee2;border:1px solid #dfe6d5;border-radius:11px}.prep-view-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border:0;border-radius:7px;background:transparent;font-size:12px;font-weight:600;color:#6b7d60;min-height:42px}.prep-view-tabs button svg{width:17px;height:17px}.prep-view-tabs button.active{background:var(--forest);color:white;box-shadow:0 2px 4px #203a2312}.bulk-guide{max-width:1080px}.bulk-intro{display:flex;gap:15px;align-items:flex-start;margin:0 0 23px}.bulk-intro .badge{margin-top:3px;padding:6px 8px;flex-shrink:0}.bulk-intro p{font-size:12px;line-height:1.7;color:#718067;margin:0;max-width:760px}.bulk-session{border:1px solid #dce4d2;border-radius:15px;background:var(--card);margin:0 0 23px;box-shadow:var(--shadow);overflow:hidden}.bulk-session-header{display:flex;align-items:center;gap:16px;padding:24px 26px 20px;border-bottom:1px solid #e5ebdc;background:#f6f8ef}.bulk-session-number{display:grid;place-items:center;width:43px;height:43px;border-radius:11px;background:#e7efd8;color:#4c7033;font-size:16px;font-weight:600;flex-shrink:0}.bulk-session-header .eyebrow{font-size:8px;margin-bottom:6px}.bulk-session-header h3{font-size:20px;font-weight:600;line-height:1.35;letter-spacing:-.35px;margin:0 0 6px;color:var(--forest)}.bulk-session-header p{font-size:11px;color:#7b8b70;margin:0}.bulk-task-list{list-style:none;padding:5px 26px 8px;margin:0}.bulk-task-list>li{display:flex;gap:15px;padding:18px 0;border-bottom:1px solid #edf0e6}.bulk-task-list>li:last-child{border-bottom:0}.bulk-task-number{width:23px;height:23px;display:grid;place-items:center;border:1px solid #dce5cf;border-radius:50%;font-size:10px;color:#75955c;flex-shrink:0;margin-top:2px}.bulk-task-list h4{font-size:13px;line-height:1.5;color:#2e4936;margin:0 0 5px;font-weight:650}.bulk-task-list p{font-size:12px;line-height:1.75;color:#697961;margin:0 0 6px}.bulk-task-list p:last-child{margin-bottom:0}.bulk-task-list p.bulk-task-amounts{font-size:11px;color:#53694a}.bulk-ingredient b{font-weight:650;color:#3b5831}.bulk-state{font-size:.94em;color:#819077}.bulk-side{font-size:9px;display:inline-block;padding:0 4px;background:#ecf2e4;border-radius:3px;color:#577b3b}.bulk-handoff{display:flex;gap:13px;margin:4px 26px 23px;padding:15px 17px;border-radius:9px;background:#f0f5e8}.bulk-handoff-icon{color:#729556;padding-top:2px}.bulk-handoff-icon svg{width:19px;height:19px}.bulk-handoff h4{font-size:12px;margin:0 0 5px;color:#466237}.bulk-handoff p{font-size:11px;line-height:1.7;color:#738465;margin:4px 0}.bulk-exact{border-top:1px solid #e0e8d5;background:#fbfcf7}.bulk-exact>summary{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 26px;cursor:pointer;list-style:none;color:#466538;font-size:11px;font-weight:650}.bulk-exact>summary::-webkit-details-marker{display:none}.bulk-exact>summary>span{display:flex;align-items:center;gap:9px}.bulk-exact>summary svg{width:15px;height:15px}.bulk-detail-hint{font-size:10px;font-weight:400;color:#87967c}.bulk-detail-hint svg{transform:rotate(90deg)}.bulk-exact[open]>.bulk-detail-hint svg,.bulk-exact[open]>summary .bulk-detail-hint svg{transform:rotate(-90deg)}.bulk-exact-body{padding:0 26px 24px}.bulk-exact-intro{font-size:11px;color:#77866b;line-height:1.7;margin:0 0 20px}.bulk-batch{border-top:1px solid #e0e7d5;padding:22px 0 5px;margin-top:10px}.bulk-batch h4{font-size:15px;color:#2f4c35;margin:0 0 5px;line-height:1.4}.bulk-batch-meta{font-size:10px;color:#859576;margin:0 0 13px}.bulk-batch-action{font-size:11px;line-height:1.75;color:#6c7e5f;margin:8px 0}.bulk-batch h5{font-size:11px;color:#597448;margin:17px 0 7px}.bulk-total{background:#eef3e5;border:1px solid #e1e8d5;padding:12px 14px;border-radius:9px;margin-top:14px}.bulk-total h5{margin:0 0 6px}.bulk-total p,.bulk-label>p{font-size:11px;line-height:1.8;color:#617654;margin:0}.bulk-portion-rule{font-size:10px;color:#829173;margin:0 0 11px}.bulk-label{border-left:2px solid #c7d8b5;padding:6px 0 7px 13px;margin:13px 0}.bulk-label h6{font-size:11px;color:#426131;margin:0 0 3px;text-transform:capitalize}.bulk-label p.bulk-label-basis{font-size:10px;color:#8b977e;margin-bottom:6px}.bulk-method-detail{margin-top:9px}.bulk-method-detail>summary{cursor:pointer;font-size:10px;color:#66834f}.bulk-method-detail .prep-method{padding-top:13px}.bulk-open-recipe{margin-top:6px}.bulk-safety{background:#edf3e9;border:1px solid #dfe8d6;border-radius:11px;padding:17px 20px;font-size:11px;line-height:1.75;color:#73836a;margin:23px 0}.bulk-safety strong{color:#526b46}.bulk-safety .source-list{margin-top:9px}.bulk-safety .source-list a{font-size:9px}.prep-toolbar+.notice{margin-top:10px}
@media(max-width:700px){.prep-toolbar{align-items:stretch;flex-direction:column;gap:11px}.prep-toolbar>.button{align-self:flex-end}.prep-view-tabs{display:flex}.prep-view-tabs button{flex:1;padding:10px;font-size:11px}.bulk-intro{display:block}.bulk-intro .badge{margin:0 0 10px}.bulk-session-header{padding:19px 17px;gap:12px}.bulk-session-header h3{font-size:17px}.bulk-session-header p{font-size:10px}.bulk-session-number{width:34px;height:34px;font-size:13px}.bulk-task-list{padding:2px 17px 6px}.bulk-task-list>li{gap:11px;padding:15px 0}.bulk-task-list p{font-size:11px}.bulk-task-list h4{font-size:12px}.bulk-handoff{margin:3px 17px 17px;padding:12px}.bulk-exact>summary{padding:16px 17px;font-size:11px;gap:8px}.bulk-detail-hint{font-size:9px}.bulk-exact-body{padding:0 17px 18px}.bulk-safety{padding:14px 16px}.bulk-task-number{width:20px;height:20px}.bulk-batch h4{font-size:14px}}
@media print{#print-content .bulk-guide{max-width:none}#print-content .bulk-intro p{font-size:10pt}#print-content .bulk-session{box-shadow:none;border:0;border-radius:0;margin:0 0 18pt;overflow:visible}#print-content .bulk-session-header{background:transparent;padding:14pt 0 10pt;break-after:avoid}#print-content .bulk-session-header h3{font-size:17pt}#print-content .bulk-session-header p{font-size:9pt}#print-content .bulk-task-list{padding:0;break-inside:auto}#print-content .bulk-task-list>li{padding:8pt 0;break-inside:avoid}#print-content .bulk-task-list h4{font-size:11pt}#print-content .bulk-task-list p{font-size:9pt;line-height:1.5}#print-content .bulk-handoff{margin:10pt 0;padding:10pt;break-inside:avoid}#print-content .bulk-handoff p{font-size:9pt}#print-content .bulk-exact{background:white;border:0}#print-content .bulk-batch{padding:10pt 0 0;break-inside:auto;page-break-inside:auto}#print-content .bulk-batch h4{font-size:12pt;break-after:avoid}#print-content .bulk-batch-meta,#print-content .bulk-batch-action,#print-content .bulk-total p,#print-content .bulk-label>p,#print-content .bulk-portion-rule{font-size:9pt;line-height:1.5}#print-content .bulk-total,#print-content .bulk-label{break-inside:avoid}#print-content .bulk-label h6{font-size:9pt}#print-content .bulk-safety{font-size:9pt;break-inside:avoid}#print-content .bulk-safety .source-list{display:none}#print-content .bulk-task-number{border-color:#bbb}#print-content details>summary{list-style:none}#print-content .bulk-state{color:#555}#print-content .bulk-open-recipe{display:none}}
@media print{#print-content .bulk-print-methods{font-size:9pt;line-height:1.5;margin-top:10pt}#print-content .bulk-print-methods ol{padding-left:15pt;margin:5pt 0}#print-content .bulk-print-methods li{margin:4pt 0}#print-content .bulk-print-methods p{font-size:9pt}#print-content .bulk-label{break-inside:auto}#print-content .bulk-print-methods h6{break-after:avoid}}
.bulk-label p.bulk-method-basis{margin:10px 0 7px;padding:10px 12px;border-radius:6px;background:#eef3e5;color:#5c734c;font-size:10px;line-height:1.6}
.cook-guide{max-width:1020px}.cook-guide .bulk-intro p{font-size:13px}.cook-phases{list-style:none;margin:0;padding:5px 28px 24px}.cook-phase{padding:24px 0;border-bottom:1px solid #e0e7d7}.cook-phase:last-child{border:0;padding-bottom:4px}.cook-phase-heading{display:flex;gap:12px;align-items:center;margin-bottom:14px}.cook-phase-heading>span{width:28px;height:28px;display:grid;place-items:center;flex-shrink:0;background:#e6eedb;border-radius:50%;color:#54763e;font-weight:650;font-size:12px}.cook-phase-heading h4{margin:0;color:var(--forest);font-size:17px;line-height:1.4;letter-spacing:-.2px}.cook-phase-body{padding-left:40px}.cook-phase-body p{font-size:13px;line-height:1.8;color:#53644c;margin:0 0 10px}.cook-phase-body p:last-child{margin-bottom:0}.cook-phase-body strong,.cook-phase-body b{font-weight:650;color:#284a33}.cook-task{margin:0 0 22px;padding:0 0 22px;border-bottom:1px solid #e8eddf}.cook-task:last-child{margin-bottom:0;padding-bottom:0;border:0}.cook-task h5{font-size:14px;line-height:1.5;margin:0 0 10px;color:#24583c;font-weight:700}.cook-task .cook-total{background:#f0f4e9;border-left:3px solid #b6cc9c;padding:10px 13px;margin-bottom:12px}.cook-task .cook-pack{margin:10px 0 13px;padding:0 0 0 13px;border-left:2px solid #d6e3c6}.cook-task .cook-labels{color:#436a3c;font-size:12px}.cook-task .cook-pack p{font-size:12px;line-height:1.8;margin-bottom:7px}.cook-task .cook-next{font-size:12px;color:#687d5b}.cook-destinations{color:#6c805d}.cook-groups p{margin:0 0 10px}.cook-handoff{background:#f0f4e9;padding:12px 15px;border-radius:8px;margin:12px 0}.cook-phase-body .cook-handoff p{font-size:12px}.slot-standard-panel{padding:19px 22px;border:1px solid #dce5cf;background:#f4f7ee;border-radius:12px;margin:20px 0}.slot-standard-panel h3{margin:0 0 6px;font-size:16px;color:var(--forest)}.slot-standard-panel>p{font-size:12px;color:#6a7e5d;line-height:1.7;margin:0 0 14px}.slot-standard-panel table{width:100%;border-collapse:collapse;font-size:12px}.slot-standard-panel th{text-align:left;font-size:10px;color:#738769;padding:8px 10px;border-bottom:1px solid #dbe4ce}.slot-standard-panel td{padding:10px;border-bottom:1px solid #e2e9d9;color:#426038}.slot-standard-panel tbody tr:last-child td{border:0}.slot-standard-panel td:first-child{font-weight:650}
@media(max-width:700px){.cook-phases{padding:2px 16px 18px}.cook-phase{padding:21px 0}.cook-phase-heading{gap:9px}.cook-phase-heading h4{font-size:15px}.cook-phase-heading>span{width:25px;height:25px}.cook-phase-body{padding-left:0}.cook-phase-body p{font-size:12px}.cook-task h5{font-size:13px}.cook-task .cook-total{padding:9px 11px}.slot-standard-panel{padding:15px}.slot-standard-panel th,.slot-standard-panel td{padding:8px 6px;white-space:nowrap}}
@media print{#print-content .cook-phases{padding:0}#print-content .cook-phase{padding:12pt 0;break-inside:auto}#print-content .cook-phase-heading{break-after:avoid;margin:0 0 8pt}#print-content .cook-phase-heading h4{font-size:13pt}#print-content .cook-phase-body{padding-left:0}#print-content .cook-phase-body p,#print-content .cook-task .cook-pack p{font-size:9.5pt;line-height:1.55}#print-content .cook-task{padding-bottom:9pt;margin-bottom:10pt;break-inside:avoid}#print-content .cook-task h5{font-size:11pt;break-after:avoid}#print-content .cook-task .cook-total{background:#f3f5ee}#print-content .cook-guide .bulk-intro p{font-size:10pt}}

/* Simple prep choices and exact per-container assembly. */
.prep-dinner-choice{margin:0 0 18px;padding:18px 20px;background:#f2f7f2;border:1px solid #d8e4d9;border-radius:14px}
.prep-dinner-toggle{display:flex;align-items:flex-start;gap:12px;cursor:pointer}
.prep-dinner-toggle input{width:19px;height:19px;margin:3px 0 0;accent-color:var(--green,#22683d);flex:0 0 auto}
.prep-dinner-toggle strong{display:block;font-size:15px}
.prep-dinner-toggle small{display:block;margin-top:5px;color:var(--muted,#657269);line-height:1.5}
.prep-session-tabs{display:flex;gap:8px;margin:22px 0 16px;padding:5px;background:#eaf0e9;border-radius:12px}
.prep-session-tabs button{flex:1;border:0;border-radius:9px;padding:13px 16px;background:transparent;color:#536154;font:inherit;font-weight:650;cursor:pointer}
.prep-session-tabs button.active{background:#fff;color:#1b5531;box-shadow:0 2px 7px #173c1710}
.prep-session-tabs button:focus-visible,.prep-dinner-toggle input:focus-visible{outline:3px solid #6eac74;outline-offset:3px}
.bulk-session[hidden]{display:none!important}
.container-first{margin:13px 0 14px;padding:16px 18px;background:#f7f8f2;border-left:3px solid #96b986;border-radius:0 8px 8px 0}
.container-first .container-cue{font-size:16px;margin:0 0 8px}
.container-first .cook-labels{margin:4px 0 12px;color:#4d5f50}
.container-group+.container-group{border-top:1px solid #dce5d7;margin-top:14px;padding-top:12px}
.container-amounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 24px;margin:8px 0 4px;padding-left:19px;line-height:1.55}
.container-amounts li{padding-left:3px}
.container-amounts b{color:#203d27}
.prepared-component-note{margin-top:12px!important;font-size:13px}
.session-storage{border-top:1px solid #dbe5d7;padding-top:12px;margin-top:16px}
.dinner-scope-note{font-size:13px!important;color:#59685b}
.inline-link{display:inline!important;padding:0!important;font-size:inherit!important;text-decoration:underline}
@media(max-width:700px){.container-amounts{grid-template-columns:1fr}.prep-session-tabs button{padding:12px 7px;font-size:13px}.container-first{padding:13px}}
@media print{.prep-dinner-choice,.prep-session-tabs{display:none!important}.bulk-session[hidden]{display:block!important}.container-first{break-inside:avoid;background:#f6f8f3!important}.container-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* One-store shopping estimates and the compact weekly checklist. */
.shopping-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}.shopping-form .field{min-width:0;max-width:none}.shopping-form .field.full{grid-column:1/-1}.shopping-form input,.shopping-form select,.shopping-form textarea{max-width:100%;min-width:0}.shopping-form-errors{color:#9c583e;font-size:12px;line-height:1.65;margin:13px 0}.shopping-form-errors:empty{margin:0}.shopping-example-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:17px 0}.shopping-example-controls .button{white-space:normal;text-align:center;line-height:1.5}.shopping-example-controls label{font-size:11px;line-height:1.6;color:#6d7d62}
@media(max-width:600px){.shopping-form .form-grid{grid-template-columns:minmax(0,1fr);gap:14px}.shopping-form .field.full{grid-column:auto}.shopping-example-controls{align-items:stretch}.shopping-example-controls .button{flex:1;min-width:110px}.shopping-form-errors{font-size:11px}}
.shopping-budget-panel{border:1px solid #dce2d4;border-radius:16px;background:var(--card,#fffefa);box-shadow:var(--shadow);margin:0 0 27px;overflow:hidden;min-width:0}
.shopping-budget-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:24px 25px 20px;background:#f4f3eb}
.shopping-budget-heading>div{min-width:0}.shopping-budget-heading .shopping-budget-eyebrow{font-size:9px;line-height:1.4;letter-spacing:1.6px;font-weight:700;color:#738168;margin:0 0 8px}
.shopping-budget-heading h2{font-size:22px;letter-spacing:-.5px;line-height:1.3;margin:0 0 8px;color:var(--forest)}
.shopping-budget-heading p{font-size:12px;line-height:1.65;color:#6a7762;margin:0;max-width:650px}.shopping-budget-heading>.button{flex-shrink:0;margin:1px 0 0;min-height:35px}
.shopping-budget-metrics{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:0;padding:22px 25px;border-top:1px solid #e4e5d9;border-bottom:1px solid #e7e9df}
.shopping-budget-metrics.has-comparison{grid-template-columns:minmax(0,1.25fr) repeat(3,minmax(0,1fr))}
.shopping-budget-metric{min-width:0;padding:0 20px;border-left:1px solid #e4e7dc}.shopping-budget-metric:first-child{padding-left:0;border-left:0}.shopping-budget-metric:last-child{padding-right:0}
.shopping-budget-metric>span{display:block;font-size:10px;line-height:1.5;color:#73816b;margin-bottom:7px}.shopping-budget-metric>strong{display:block;font-size:25px;line-height:1.25;font-weight:650;letter-spacing:-.55px;color:#304d39;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.shopping-budget-metric.store-metric>strong{font-size:20px;letter-spacing:-.3px}.shopping-budget-metric>small{display:block;font-size:10px;line-height:1.6;color:#829078;margin-top:7px;overflow-wrap:anywhere}
.shopping-budget-metric>small.budget-other-stores{font-size:9px;color:#929b87;margin-top:7px;line-height:1.65}
.budget-incomplete .cost-metric>strong{color:#756c50}.budget-over .comparison-metric>strong{color:#976b35}.budget-within .comparison-metric>strong{color:#47723c}
.shopping-budget-status{display:flex;gap:10px;align-items:flex-start;margin:20px 25px 14px;padding:12px 14px;border:1px solid #e5dfce;border-radius:9px;background:#f8f5eb}
.budget-status-icon{padding-top:1px;color:#8f7c51}.budget-status-icon svg{width:17px;height:17px}.shopping-budget-status strong{display:block;font-size:12px;line-height:1.5;font-weight:650;color:#695d3e}
.shopping-budget-status p{font-size:11px;line-height:1.65;color:#84785d;margin:4px 0 0}.budget-within .shopping-budget-status{background:#f0f6e9;border-color:#d9e5cc}.budget-within .shopping-budget-status strong{color:#45613a}.budget-within .shopping-budget-status p,.budget-within .budget-status-icon{color:#6b805d}
.budget-neutral .shopping-budget-status{background:#f4f5ee;border-color:#e0e5d7}.budget-neutral .shopping-budget-status strong{color:#506348}.budget-neutral .shopping-budget-status p,.budget-neutral .budget-status-icon{color:#76866b}
.shopping-price-progress{margin:0 25px 20px}.shopping-price-progress>div{display:flex;justify-content:space-between;gap:15px;font-size:10px;line-height:1.6;color:#7a866f;margin-bottom:7px;flex-wrap:wrap}
.shopping-price-progress progress{display:block;width:100%;height:5px;appearance:none;-webkit-appearance:none;border:0;border-radius:10px;overflow:hidden;background:#e8ebdf;color:#72866a}.shopping-price-progress progress::-webkit-progress-bar{background:#e8ebdf;border-radius:10px}.shopping-price-progress progress::-webkit-progress-value{background:#72866a;border-radius:10px}.shopping-price-progress progress::-moz-progress-bar{background:#72866a;border-radius:10px}
.shopping-budget-breakdown{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.6fr);gap:20px;margin:0 25px;padding:16px 0;border-top:1px solid #e8eadf}
.shopping-budget-breakdown>div{min-width:0}.shopping-budget-breakdown>div>span{display:block;font-size:10px;line-height:1.5;color:#7c886f}.shopping-budget-breakdown strong{display:block;font-size:15px;line-height:1.4;font-weight:600;color:#4a6241;margin:4px 0;font-variant-numeric:tabular-nums}.shopping-budget-breakdown small{display:block;font-size:9px;line-height:1.6;color:#8b957f}.shopping-budget-breakdown>p{font-size:10px;line-height:1.75;color:#7d876f;margin:0;align-self:center}
.shopping-budget-footer{padding:15px 25px 17px;border-top:1px solid #e8eadf;background:#fafaf5}.shopping-budget-footer>p{font-size:10px;line-height:1.7;color:#7b866f;margin:0;max-width:850px}.shopping-budget-footer>div{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:9px}.shopping-budget-footer .button.text{font-size:10px;margin:0;padding:3px 0;white-space:normal;text-align:left;justify-content:flex-start;line-height:1.5}.shopping-budget-footer .button.text svg{width:13px;height:13px}
.budget-example-label{display:inline-block;flex-shrink:0;font-size:10px;font-weight:600;color:#7f704e;border:1px solid #ddd4bf;background:#faf5e7;border-radius:20px;padding:6px 10px;line-height:1.4}.budget-example-price{display:block;font-size:9px;color:#95876b;margin-top:7px}
.budget-shopping-section{margin:26px 0;min-width:0}.budget-shopping-section-heading{margin:0 0 12px}.budget-shopping-section-heading h2{font-size:18px;line-height:1.4;font-weight:600;letter-spacing:-.3px;margin:0 0 5px;color:var(--forest)}.budget-shopping-section-heading h2>span{display:inline-block;font-size:10px;line-height:1.3;vertical-align:middle;background:#eaf0e1;color:#7b8d6b;border-radius:20px;padding:3px 7px;letter-spacing:0;margin-left:6px}.budget-shopping-section-heading p{font-size:11px;line-height:1.65;margin:0;color:#7b8870}
.budget-shopping-table-wrap{border:1px solid #dfe5d6;border-radius:12px;background:var(--card,#fffefa);overflow:hidden;min-width:0}.budget-shopping-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0;font-size:12px;line-height:1.5}.budget-shopping-table th{font-weight:550;font-size:9px;line-height:1.5;text-transform:uppercase;letter-spacing:.6px;background:#f0f3e8;color:#7d8b70;text-align:left;padding:12px 16px;border-bottom:1px solid #e1e6d8;white-space:normal}
.budget-shopping-table .budget-bought-column{width:64px;text-align:center;padding-left:9px;padding-right:9px}.budget-shopping-table .budget-cost-column{width:130px;text-align:right}.budget-shopping-table td{padding:14px 16px;border-bottom:1px solid #e8ecdf;vertical-align:top;overflow-wrap:anywhere;min-width:0}.budget-shopping-table tr:last-child td{border-bottom:0}
.budget-shopping-table .budget-bought-cell{padding:17px 8px;text-align:center}.budget-bought-cell>label{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer;padding:1px 4px}.budget-bought-cell>label>span{display:none}.budget-bought-check,.budget-have-enough input{accent-color:#527c3e;width:17px;height:17px;margin:0;flex-shrink:0;cursor:pointer}
.budget-item-name{display:block;font-size:13px;font-weight:600;line-height:1.5;color:#35553d;overflow-wrap:anywhere}.budget-buy-amount{font-size:12px;font-weight:550;line-height:1.6;color:#5b7150;margin-top:3px}.budget-buy-amount>small{display:inline;font-size:10px;line-height:1.6;color:#8a957d;font-weight:400;margin-left:7px}
.budget-have-enough{display:inline-flex;align-items:center;gap:7px;font-size:10px;line-height:1.5;color:#78886b;cursor:pointer;margin-top:9px;max-width:100%}.budget-have-enough input{width:14px;height:14px}.budget-have-enough span{min-width:0}.budget-grocery-row.from-pantry{background:#f8faf3}.budget-grocery-row.from-pantry .budget-have-enough{color:#5d774e}.budget-grocery-row.checked .budget-item-name{text-decoration:line-through;color:#7f8d74}.budget-grocery-row.checked .budget-buy-amount{color:#8b9881}
.budget-shopping-table .budget-cost-cell{text-align:right;font-variant-numeric:tabular-nums}.budget-cost-cell>strong{display:block;font-size:14px;line-height:1.5;font-weight:650;color:#36543e;overflow-wrap:anywhere}.budget-cost-cell>small{display:block;font-size:9px;line-height:1.5;color:#8c977f;margin-top:2px}.budget-cost-cell>strong.budget-cost-missing{font-size:11px;font-weight:500;color:#968362}.budget-cost-cell>strong.budget-cost-dated{color:#9a7843}.budget-cost-cell>strong.budget-cost-owned{color:#6d865a}.budget-cost-cell .budget-edit-price{display:inline-flex;font-size:10px;line-height:1.5;font-weight:550;padding:4px 0;min-height:28px;margin:4px 0 0;white-space:normal;text-align:right;text-decoration:underline;text-underline-offset:3px;color:#698452}
.budget-item-details{margin-top:6px;color:#849177;max-width:680px}.budget-item-details>summary{display:list-item;width:fit-content;max-width:100%;font-size:9px;line-height:1.6;cursor:pointer;color:#849177;padding:2px 0}.budget-item-details>div{margin:7px 0 0;padding:11px 13px;border:1px solid #e3e8d9;border-radius:7px;background:#f8faf3}.budget-item-details p,.budget-item-details li{font-size:10px;line-height:1.7;color:#7b886e;overflow-wrap:anywhere}.budget-item-details p{margin:0 0 6px}.budget-item-details p:last-child{margin-bottom:0}.budget-item-details ul{padding-left:15px;margin:6px 0 0}.budget-item-details .budget-detail-message{color:#8b7855}.budget-amount-sources{display:flex;gap:7px 13px;flex-wrap:wrap;margin-top:8px}.budget-amount-sources a{font-size:9px;line-height:1.6;color:#6b8754;text-underline-offset:2px;overflow-wrap:anywhere}
.shopping-budget-form{min-width:0}.shopping-budget-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;margin:18px 0}.shopping-budget-field{display:flex;flex-direction:column;gap:7px;min-width:0}.shopping-budget-field.full-width{grid-column:1/-1}.shopping-budget-field>label{font-size:12px;font-weight:600;color:#4e6844}.shopping-budget-field input,.shopping-budget-field select,.shopping-budget-field textarea{width:100%;min-width:0;padding:11px 12px;border:1px solid #d8dfcf;border-radius:8px;background:#fffefa;color:#3c573f;font-size:13px}.shopping-budget-field small,.shopping-budget-hint{font-size:11px;line-height:1.65;color:#7e8b72}.shopping-budget-form-note{padding:13px 15px;border:1px solid #e1e5d7;border-radius:9px;background:#f4f6ee;font-size:11px;line-height:1.7;color:#75836a;margin:15px 0}.shopping-budget-form-error{font-size:12px;line-height:1.6;color:#9c583e}.shopping-budget-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:23px}
@media(max-width:1000px){.shopping-budget-metrics.has-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 0}.shopping-budget-metrics.has-comparison .shopping-budget-metric:nth-child(3){border-left:0;padding-left:0}.shopping-budget-breakdown{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.shopping-budget-breakdown>p{grid-column:1/-1;margin-top:0}.shopping-budget-metric>strong{font-size:23px}}
@media(max-width:700px){.shopping-budget-heading{padding:20px 18px;flex-wrap:wrap;gap:14px}.shopping-budget-heading h2{font-size:21px}.shopping-budget-heading p{font-size:11px}.shopping-budget-heading>.button{margin:0;min-height:36px}.shopping-budget-metrics,.shopping-budget-metrics.has-comparison{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px;gap:18px 0}.shopping-budget-metric{padding:0 14px}.shopping-budget-metric:nth-child(3){border-left:0;padding-left:0}.shopping-budget-metric>strong{font-size:22px}.shopping-budget-metric.store-metric>strong{font-size:17px}.shopping-budget-metric>span{font-size:9px;margin-bottom:6px}.shopping-budget-metric>small{font-size:9px;margin-top:5px}.shopping-budget-status{margin:16px 18px 12px;padding:11px 12px}.shopping-budget-status strong{font-size:11px}.shopping-budget-status p{font-size:10px}.shopping-price-progress{margin:0 18px 16px}.shopping-price-progress>div{font-size:9px;gap:5px 12px}.shopping-budget-breakdown{margin:0 18px;padding:15px 0}.shopping-budget-footer{padding:14px 18px 16px}.shopping-budget-footer>div{gap:8px 20px}.shopping-budget-footer>p{font-size:9px}.shopping-budget-breakdown>p{font-size:9px}.budget-shopping-section-heading h2{font-size:17px}.budget-shopping-section-heading p{font-size:10px}.budget-shopping-table .budget-cost-column{width:105px}.budget-shopping-table .budget-bought-column{width:54px}.budget-shopping-table td{padding:13px 12px}.budget-shopping-table th{padding:11px 12px}.budget-item-name{font-size:12px}.budget-buy-amount{font-size:11px}.budget-buy-amount>small{display:block;font-size:9px;margin-left:0}.budget-cost-cell>strong{font-size:13px}}
@media(max-width:500px){.budget-shopping-table,.budget-shopping-table tbody{display:block;width:100%;min-width:0}.budget-shopping-table thead{display:none}.budget-shopping-table tr{display:grid;grid-template-columns:37px minmax(0,1fr) 82px;width:100%;border-bottom:1px solid #e5eadb}.budget-shopping-table tr:last-child{border-bottom:0}.budget-shopping-table td{display:block;border:0;padding:14px 8px;min-width:0}.budget-shopping-table .budget-bought-cell{padding:15px 1px}.budget-bought-cell>label{padding:0;gap:6px}.budget-bought-cell>label>span{display:block;font-size:8px;line-height:1.4;color:#859477}.budget-bought-check{width:17px;height:17px}.budget-shopping-table .budget-item-cell{padding-left:6px;padding-right:6px}.budget-shopping-table .budget-cost-cell{padding-left:3px;padding-right:10px}.budget-item-name{font-size:12px;line-height:1.55}.budget-buy-amount{font-size:11px;margin-top:4px}.budget-have-enough{font-size:9px;gap:6px;align-items:flex-start;margin-top:10px}.budget-have-enough input{margin-top:1px}.budget-cost-cell>strong{font-size:12px}.budget-cost-cell>strong.budget-cost-missing{font-size:10px}.budget-cost-cell>small{font-size:8px;line-height:1.6}.budget-cost-cell .budget-edit-price{font-size:9px;min-height:30px}.budget-item-details>summary{font-size:9px}.budget-item-details>div{padding:9px}.budget-item-details p,.budget-item-details li{font-size:9px;line-height:1.7}.shopping-budget-fields{grid-template-columns:minmax(0,1fr);gap:14px}.shopping-budget-field.full-width{grid-column:auto}.shopping-budget-modal-actions{align-items:stretch}.shopping-budget-modal-actions>.button{flex:1;white-space:normal}.shopping-budget-breakdown strong{font-size:14px}.shopping-budget-panel{border-radius:13px}.shopping-budget-footer .button.text{font-size:9px}}
@media print{.shopping-budget-heading>.button,.shopping-budget-footer>div,.budget-edit-price,.budget-have-enough,.budget-item-details,.budget-example-price{display:none!important}.shopping-budget-panel{box-shadow:none;break-inside:avoid}.budget-shopping-table{display:table!important}.budget-shopping-table thead{display:table-header-group!important}.budget-shopping-table tbody{display:table-row-group!important}.budget-shopping-table tr{display:table-row!important;break-inside:avoid}.budget-shopping-table td{display:table-cell!important}.budget-bought-cell>label>span{display:none}.shopping-budget-metric>strong{font-size:16px}.shopping-budget-heading h2{font-size:17px}}

/* Automatic shopping ranges remain visibly distinct from observed prices. */
.shopping-budget-estimated .cost-metric>strong{font-size:clamp(25px,3vw,34px);letter-spacing:-.8px;line-height:1.25}.shopping-budget-estimated .cost-metric>small{color:#6f7f63;line-height:1.65}.shopping-estimate-basis{margin:16px 25px 0;font-size:11px;line-height:1.7;color:#748368}.shopping-budget-estimated .shopping-budget-status{margin-top:13px}.budget-no-purchase{display:inline-block;font-size:9px;line-height:1.6;color:#98a18d;padding-top:1px}.budget-grocery-row.non-purchase{background:#fafbf6}.budget-grocery-row.non-purchase .budget-cost-cell>strong{font-size:11px;font-weight:500}.budget-estimate-details .budget-reference-label{font-weight:600;color:#718365;margin-top:11px;margin-bottom:3px}.budget-estimate-details .budget-reference-label+.budget-amount-sources{margin-top:0}
@media(max-width:700px){.shopping-estimate-basis{margin:14px 18px 0;font-size:10px}.shopping-budget-estimated .cost-metric>strong{font-size:26px;letter-spacing:-.6px}.shopping-budget-estimated .shopping-budget-status{margin-top:11px}}
@media print{.shopping-budget-estimated .cost-metric>strong{font-size:19px}.shopping-estimate-basis{font-size:9px}}

.shopping-estimate-coverage{margin:0 24px 16px;padding:12px 0;border-top:1px solid var(--line)}.shopping-estimate-coverage summary{font-size:12px;font-weight:600;cursor:pointer}.shopping-estimate-coverage p{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 0}.field[hidden]{display:none!important}.shopping-form .field>small{display:block;margin-top:6px;font-size:11px;line-height:1.5;color:var(--muted)}

.shopping-form select{width:100%;min-width:0;box-sizing:border-box}@media(max-width:600px){.shopping-form .form-grid{grid-template-columns:minmax(0,1fr)}.shopping-form .field{grid-column:1/-1;min-width:0}}

/* Budget-guided generation and whole-basket change previews. */
.plan-budget-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:22px 0;padding:22px 25px;border:1px solid #e1d9bd;border-radius:14px;background:#faf7ed}.plan-budget-summary.within{border-color:#d4e1c7;background:#f1f6eb}.plan-budget-summary h3{font-size:19px;line-height:1.4;margin:5px 0 8px;color:var(--forest)}.plan-budget-summary p{font-size:13px;line-height:1.7;margin:0 0 4px;color:#5d6a50}.plan-budget-summary small{font-size:11px;line-height:1.6;color:var(--muted)}.plan-budget-actions{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex-shrink:0}.plan-budget-actions .button{white-space:normal;text-align:center}
.budget-impact{border:1px solid #dce3d2;border-radius:12px;background:#f6f8f1;padding:18px 20px;margin:20px 0}.budget-impact.over{border-color:#e4d5ad;background:#fbf6e8}.budget-impact h3{font-size:18px;margin:5px 0 15px}.budget-impact-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.budget-impact-values span{display:block;font-size:11px;color:var(--muted);line-height:1.5}.budget-impact-values strong{display:block;font-size:23px;font-weight:600;margin:4px 0;color:var(--forest)}.budget-impact>p{font-size:12px;line-height:1.7;margin:13px 0 0;color:#68765b}
.budget-pantry-check{margin:23px 0;padding:18px;border:1px solid var(--line);border-radius:11px;background:#f9faf4}.budget-pantry-check>summary{font-size:14px;font-weight:600;cursor:pointer;line-height:1.6;color:var(--forest)}.budget-pantry-check>summary span{font-weight:400;font-size:11px;margin-left:8px;color:var(--muted)}.budget-pantry-check>p{font-size:12px;line-height:1.7;color:var(--muted)}.budget-stock-entry{display:grid;grid-template-columns:minmax(0,2fr) minmax(90px,.8fr) minmax(75px,.6fr);gap:12px;align-items:end;margin:17px 0}.budget-stock-entry .button{grid-column:1/-1;justify-self:start}.budget-stock-list{padding:0;list-style:none;margin:14px 0}.budget-stock-list li{display:flex;gap:15px;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.budget-stock-list b{font-size:12px;font-weight:550}.budget-stock-list small{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:3px}.budget-stock-list .button{flex-shrink:0;font-size:11px}.budget-stock-amount{display:block!important;padding:4px 0!important;font-size:10px!important;min-height:28px!important;margin-top:2px!important}.budget-partial-stock{display:block;font-size:10px;line-height:1.6;color:#677f54;margin:4px 0}
.budget-cost-drivers{margin:18px 0;padding:16px 18px;border:1px solid var(--line);border-radius:10px}.budget-cost-drivers summary{cursor:pointer;font-size:13px;font-weight:600}.budget-cost-drivers ul{padding:0;list-style:none;margin:10px 0}.budget-cost-drivers li{display:flex;justify-content:space-between;gap:18px;font-size:12px;line-height:1.6;padding:7px 0;border-bottom:1px solid var(--line)}.budget-cost-drivers li b{white-space:nowrap}.budget-cost-drivers p{font-size:11px;line-height:1.6;color:var(--muted)}#budget-week-save-error,#budget-planning-errors{color:#9c583e;font-size:12px;line-height:1.6}
@media(max-width:700px){.plan-budget-summary{align-items:flex-start;flex-direction:column;padding:20px;gap:14px}.plan-budget-actions{flex-direction:row;align-items:center;flex-wrap:wrap}.budget-impact{padding:16px}.budget-impact-values{gap:10px}.budget-impact-values strong{font-size:19px}.budget-pantry-check{padding:14px}.budget-stock-entry{grid-template-columns:1fr 1fr}.budget-stock-entry>.field:first-child{grid-column:1/-1}.budget-pantry-check>summary span{display:block;margin:2px 0}.budget-stock-list .button{padding-left:4px;padding-right:4px}}
@media print{.plan-budget-actions,.budget-stock-amount{display:none!important}.budget-impact,.plan-budget-summary{break-inside:avoid}}

/* Weekly food allowance, restock cash and supplements have distinct labels. */
.budget-checkout-note{margin-top:13px;padding-top:12px;border-top:1px solid #e1dfcf;font-size:11px;line-height:1.7;color:#6a735d}.budget-checkout-note b{display:block;color:#506144;margin-bottom:3px}
.shopping-checkout-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 25px 20px;padding:17px 18px;border:1px solid #dee5d4;border-radius:10px;background:#f7f9f2}.shopping-checkout-summary p{margin:5px 0 0;font-size:11px;line-height:1.7;color:#748068}.shopping-checkout-summary h3{margin:0;font-size:14px;color:var(--forest)}.shopping-checkout-summary strong{font-size:22px;font-weight:600;color:#435d38;white-space:nowrap}.shopping-checkout-summary small{display:block;font-size:10px;line-height:1.6;color:#748068;margin-top:5px}
.budget-weekly-share{display:block;margin:8px 0 2px;font-size:11px;line-height:1.65;color:#4f6c3e}.budget-package-lifespan{display:block;font-size:10px;line-height:1.65;color:#7a886e;margin:2px 0 5px}
.supplement-needs{margin:26px 0;padding:22px 25px;border:1px solid #e0e2d8;border-radius:14px;background:#f6f5ee}.supplement-needs-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.supplement-needs h2{font-size:20px;color:var(--forest);margin:0 0 7px}.supplement-needs p{font-size:12px;line-height:1.7;color:#737c67;margin:6px 0}.supplement-needs-heading>strong{font-size:12px;color:#687458;white-space:nowrap}.supplement-needs-list{list-style:none;padding:0;margin:16px 0 0}.supplement-need{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 25px;padding:17px 0;border-top:1px solid #dedfd3}.supplement-need>div{min-width:0}.supplement-need h3,.supplement-need strong{font-size:14px;line-height:1.6;color:#46563d;margin:0}.supplement-need small{display:block;font-size:10px;line-height:1.65;color:#7b856f;margin-top:4px}.supplement-need-price{text-align:right}.supplement-need-price strong{font-size:18px}.supplement-stock-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:8px}.supplement-stock-controls label{display:flex;align-items:center;gap:6px;font-size:10px;line-height:1.5;color:#6a795c}.supplement-stock-controls .budget-have-enough{margin:0}.supplement-stock-controls .button{margin:0!important}.supplement-need .budget-item-details{margin-top:10px}
@media(max-width:700px){.shopping-checkout-summary{margin:0 18px 18px;padding:15px;gap:15px;align-items:flex-start;flex-direction:column}.shopping-checkout-summary strong{font-size:20px}.supplement-needs{padding:18px}.supplement-needs-heading{flex-direction:column;gap:5px}.supplement-need{gap:12px;grid-template-columns:minmax(0,1fr)}.supplement-need-price{text-align:left}.supplement-stock-controls{gap:8px 14px}.budget-weekly-share{font-size:10px}.budget-package-lifespan{font-size:9px}.budget-impact-values{grid-template-columns:repeat(3,minmax(0,1fr))}.budget-impact-values strong{font-size:17px}}
@media print{.supplement-stock-controls{display:none!important}.supplement-needs,.shopping-checkout-summary{break-inside:avoid}.budget-weekly-share,.budget-package-lifespan{color:#333!important}}
.shopping-checkout-summary>div>span,.supplement-need-price>span{display:block;font-size:11px;line-height:1.5;color:#77826c;margin-bottom:5px}.shopping-checkout-summary strong,.supplement-need-price strong{display:block}.supplement-needs-heading .shopping-budget-eyebrow{font-size:9px;font-weight:700;letter-spacing:1.5px;color:#7a846c;margin:0 0 7px}.supplement-need.checked h3{color:#819173}.supplement-need.checked .budget-buy-amount{text-decoration:line-through;color:#929d86}

/* Calculated food cost comparisons */
.food-cost-baseline{display:grid;grid-template-columns:1.15fr 1.15fr .85fr;gap:16px;background:#f2f6eb;border:1px solid #dce6d0;border-radius:13px;padding:20px;margin:18px 0 24px}.food-cost-baseline span,.food-cost-baseline small{display:block;font-size:11px;line-height:1.6;color:#6d7c60}.food-cost-baseline strong{display:block;font-size:25px;line-height:1.5;color:var(--forest);letter-spacing:-.5px;margin:3px 0}.food-cost-results-heading h3,.food-cost-group-heading h3,.food-cost-next h3,.food-cost-meal-changes h3,.food-cost-tradeoffs h3{font-size:17px;line-height:1.45;margin:0 0 5px;color:var(--forest)}.food-cost-results-heading p,.food-cost-group-heading p,.food-cost-next p{font-size:12px;line-height:1.75;color:var(--muted);margin:0}.food-cost-no-swap{font-size:12px;line-height:1.75;padding:13px 16px;background:#f8f8f3;border-left:3px solid #cbd6bb;margin:18px 0}.food-cost-group{margin:25px 0}.food-cost-group-heading{margin:0 0 14px}.food-cost-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.food-cost-cards.stores{grid-template-columns:repeat(3,minmax(0,1fr))}.food-cost-card{display:flex;flex-direction:column;align-items:flex-start;padding:19px;border:1px solid #dde4d4;border-radius:12px;background:#fff;min-width:0}.food-cost-card-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%}.food-cost-saving{font-size:27px;line-height:1.2;color:#3e6832;font-weight:650;letter-spacing:-.6px}.food-cost-saving small{display:block;font-size:10px;line-height:1.6;font-weight:500;letter-spacing:0;color:#6f8164;margin-top:5px}.food-cost-card h4{font-size:15px;line-height:1.5;margin:17px 0 7px;color:var(--forest)}.food-cost-card>p{font-size:12px;line-height:1.7;color:#758069;margin:0 0 13px}.food-cost-card-totals{margin:auto 0 12px;padding-top:3px;width:100%}.food-cost-card-totals>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #edf0e7;padding:9px 0}.food-cost-card-totals dt{font-size:10px;line-height:1.5;color:#79866c}.food-cost-card-totals dd{margin:0;font-size:12px;line-height:1.5;color:#485a3b;font-weight:600;white-space:nowrap}.food-cost-card>p.food-cost-checkout{color:#4d703e;font-size:11px;margin-bottom:8px;font-weight:600}.food-cost-card>p.food-cost-checkout.increase{color:#976044}.food-cost-card>p.food-cost-rounding{font-size:10px;color:#8a8063;margin-bottom:12px}.food-cost-card .button{margin-top:7px;white-space:normal}.food-cost-note{padding:16px 18px;background:#f7f6ee;border:1px solid #e4e0cd;border-radius:10px;margin:22px 0;font-size:12px;line-height:1.75;color:#6f715b}.food-cost-note p{margin:4px 0 0}.food-cost-next{display:flex;align-items:center;justify-content:space-between;gap:22px;padding-top:4px}.food-cost-next>div:first-child{flex:1}.food-cost-next>div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.food-cost-options .form-footer,.food-cost-preview .form-footer{margin-top:23px}.food-cost-preview-hero{display:flex;align-items:center;gap:24px;padding:22px;background:#f0f6e9;border:1px solid #d7e5c8;border-radius:12px;margin:20px 0}.food-cost-preview-hero>span{font-size:34px;letter-spacing:-1px;color:#3b6531;font-weight:650}.food-cost-preview-hero small{display:block;font-size:11px;line-height:1.5;letter-spacing:0;font-weight:400;margin-top:5px}.food-cost-preview-hero>div{border-left:1px solid #d6e3c8;padding-left:24px}.food-cost-preview-hero strong{font-size:14px;color:#4c6440}.food-cost-preview-hero p{font-size:12px;color:#778469;margin:5px 0 0;line-height:1.7}.food-cost-comparison{border:1px solid #e0e5d7;border-radius:10px;overflow:hidden;margin:20px 0}.food-cost-comparison>div{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:12px;padding:15px;border-bottom:1px solid #edf0e7;font-size:13px;line-height:1.6;align-items:center}.food-cost-comparison>div:last-child{border-bottom:0}.food-cost-comparison>div>span:not(:first-child),.food-cost-comparison>div>strong{text-align:right}.food-cost-comparison-head{background:#f5f7f0;font-size:11px!important;color:#7b866e}.food-cost-comparison b{font-weight:550;color:#4a5d3e}.food-cost-comparison small{display:block;font-size:10px;color:#7d8872;margin-top:3px}.food-cost-comparison strong{font-weight:650;color:#3c6231}.food-cost-scope{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 22px}.food-cost-scope span,.food-cost-scope b{display:block;font-size:12px;line-height:1.65}.food-cost-scope span{color:#819074}.food-cost-scope b{color:#4c633e;font-weight:550}.food-cost-meal-changes ul{padding:0;list-style:none;margin:12px 0 20px}.food-cost-meal-changes li{padding:15px;border:1px solid #e1e6d8;border-radius:10px;display:grid;grid-template-columns:1fr 1fr;gap:9px 18px;margin-bottom:10px}.food-cost-meal-changes li>span{grid-column:1/-1;text-transform:capitalize;font-size:11px;color:#4f6b3d;font-weight:650}.food-cost-meal-changes li small{font-size:10px;color:#86917b}.food-cost-meal-changes li p{font-size:12px;line-height:1.65;margin:3px 0;color:#56654a}.food-cost-nutrition{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.75;color:#597247;margin:14px 0}.food-cost-nutrition svg{width:17px;height:17px;flex-shrink:0;margin-top:2px}.food-cost-tradeoffs{margin-top:23px}.food-cost-tradeoffs ul{padding-left:20px;font-size:12px;line-height:1.8;color:#6a765c}.food-cost-tradeoffs li{margin:7px 0}.food-cost-tradeoffs p{font-size:11px;line-height:1.75;color:#87917a}.food-cost-household-confirm{border:1px solid #d9cfae;background:#fbf7eb;padding:15px;border-radius:8px;margin-top:20px}#food-cost-save-error{font-size:12px;color:#9c583e;line-height:1.7}
@media(max-width:700px){.food-cost-baseline{padding:15px;gap:10px;grid-template-columns:1fr 1fr}.food-cost-baseline>div:last-child{grid-column:1/-1;border-top:1px solid #dce6d0;padding-top:10px}.food-cost-baseline>div:last-child strong{display:inline-block;font-size:20px;margin-right:12px}.food-cost-baseline>div:last-child small{display:inline-block}.food-cost-baseline strong{font-size:22px}.food-cost-cards,.food-cost-cards.stores{grid-template-columns:minmax(0,1fr)}.food-cost-card{padding:18px}.food-cost-card h4{font-size:16px}.food-cost-next{flex-direction:column;align-items:stretch;gap:14px}.food-cost-next>div:last-child{align-items:stretch}.food-cost-next .button{text-align:center;justify-content:center}.food-cost-preview-hero{gap:16px;padding:17px;align-items:flex-start;flex-direction:column}.food-cost-preview-hero>span{font-size:31px}.food-cost-preview-hero>div{padding:12px 0 0;border-left:0;border-top:1px solid #d6e3c8;width:100%}.food-cost-comparison>div{grid-template-columns:1.4fr 1fr 1fr;padding:12px 10px;gap:6px;font-size:11px}.food-cost-comparison small{font-size:9px;line-height:1.6}.food-cost-comparison-head{font-size:10px!important}.food-cost-meal-changes li{grid-template-columns:1fr}.food-cost-options .form-footer,.food-cost-preview .form-footer{align-items:stretch;flex-direction:column}.food-cost-preview .form-footer>div{display:flex;flex-wrap:wrap;gap:9px}.food-cost-preview .form-footer .button{flex:1;white-space:normal}}

.food-cost-card.selected{border-color:#739358;background:#f8fbf3;box-shadow:0 0 0 1px #739358}.food-cost-select{display:flex;align-items:center;gap:9px;margin-top:12px;padding:9px 0;font-size:12px;line-height:1.6;color:var(--forest);cursor:pointer;font-weight:600}.food-cost-select input{width:18px;height:18px;accent-color:#52733f;flex-shrink:0}.food-cost-selection{padding:20px;margin:20px 0;border:1px solid #cadcba;border-radius:12px;background:#f0f6e9}.food-cost-selection-heading h3{font-size:17px;margin:0 0 5px;color:var(--forest)}.food-cost-selection-heading p{font-size:12px;line-height:1.7;color:var(--muted);margin:0}.food-cost-selection-totals{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:16px 0}.food-cost-selection-totals span,.food-cost-selection-totals small{display:block;font-size:11px;line-height:1.6;color:#728165}.food-cost-selection-totals strong{display:block;font-size:27px;line-height:1.6;color:#3e6832}.food-cost-selection>.button{margin-top:13px}.food-cost-selection.selection-error{border-color:#dcc49b;background:#fff8ee}.food-cost-selection-error{font-size:12px;line-height:1.75;color:#895b35}.food-cost-selected-list{font-size:12px;line-height:1.8;color:#597247;padding-left:20px}.food-cost-options .form-footer>div{display:flex;gap:10px;flex-wrap:wrap}.food-cost-baseline>div:last-child strong{font-size:20px;overflow-wrap:anywhere}
@media(max-width:700px){.food-cost-selection{padding:16px}.food-cost-selection-totals{gap:12px}.food-cost-selection-totals strong{font-size:23px}.food-cost-selection>.button{width:100%;justify-content:center}.food-cost-options .form-footer>div{flex-direction:column;align-items:stretch}.food-cost-select{font-size:13px}}
.food-cost-select-status{display:block;font-size:10px;color:#7d8a6e;font-weight:400}
/* Planning choices stay readable alongside the weekly estimate. */
.personalization-summary{margin:16px 0;padding:16px 18px;border:1px solid var(--line,#e3e6df);border-radius:12px;background:var(--surface,#fff)}
.personalization-summary>summary{cursor:pointer;font-weight:700;color:var(--ink,#202921)}
.personalization-summary .intake-detail-list{margin-top:16px}
.household-portions{min-width:0;margin:22px 0;padding:18px;border:1px solid var(--line,#e3e6df);border-radius:12px}
.household-portions legend{font-weight:700;padding:0 6px}
.household-portions>p,.household-day-overrides>p{font-size:.9rem;line-height:1.55;color:var(--muted,#626c61)}
.household-portion-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:16px}
.household-portion-grid input,.household-day-overrides input{width:100%;box-sizing:border-box}
.household-day-overrides{margin-top:20px}
.household-day-overrides summary{cursor:pointer;font-weight:600}
.household-day-overrides table{width:100%;min-width:480px}
.household-day-overrides th,.household-day-overrides td{padding:8px 7px;text-align:left}
.household-day-overrides input{min-width:74px;padding:9px 10px;border:1px solid var(--line,#d7dfd2);border-radius:7px;background:#fff;color:var(--ink,#202921)}
.field-review{color:#8b4b12!important}
.household-summary{gap:16px;align-items:center}
.household-summary small{display:block;margin-top:5px;line-height:1.5;color:var(--muted,#626c61)}
.preference-clarification{margin:18px 0}
.meal-card.snack2 .slot-stripe{background:var(--snack,#b39763)}
.meal-card.snack2 .meal-slot{color:var(--snack,#84662f)}
.food-cost-household-changes{margin:18px 0}
.food-cost-household-changes li{margin:7px 0;line-height:1.5}
@media(max-width:640px){.household-portion-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.household-portions{padding:14px}.household-summary{align-items:flex-start;flex-direction:column}.personalization-summary{padding:14px}}

/* Dated weeks and the simple cuisine guide. */
.week-calendar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;padding:22px 25px;margin:0 0 22px;border:1px solid #d8e3cf;border-radius:var(--radius);background:linear-gradient(115deg,#eff6e9,#fffef9)}
.calendar-eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;color:#547044}.calendar-heading h2{margin:7px 0 6px;font-size:25px;letter-spacing:-.6px}.calendar-heading p{margin:0;font-size:12px;color:#65765e}.calendar-heading p span{margin:0 7px}.calendar-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.calendar-controls .icon-button{width:42px;height:42px;border:1px solid #d1ddc6;border-radius:10px;background:#fffefb;font-size:20px}.calendar-controls .button{min-height:42px}.calendar-notice{margin:0;flex-basis:100%;font-size:13px;line-height:1.6;padding-top:13px;border-top:1px solid #d8e3cf;color:#456038}
.saved-weeks{margin-top:26px}.saved-weeks h3{font-size:16px}.saved-week{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;border:1px solid var(--line);border-radius:11px;background:#fffefa;padding:15px;margin:8px 0;text-align:left;color:var(--ink)}.saved-week.selected{background:#eff7e8;border-color:#a7c58d}.saved-week b,.saved-week small{display:block}.saved-week b{font-size:14px}.saved-week small{font-size:11px;color:var(--muted);margin-top:6px}.calendar-reset-list{padding-left:20px;line-height:1.8;font-size:14px}
.cuisine-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cuisine-choice{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f7f8f0;border:1px solid #dde4d4;border-radius:12px;padding:18px;text-align:left;font:inherit;font-size:15px;font-weight:650;color:var(--ink);min-height:64px}.cuisine-choice:hover,.cuisine-choice:focus-visible{background:#edf6e6;border-color:#7fa958}.cuisine-choice span{font-size:19px}.cuisine-general{margin-top:15px!important}.eating-options-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.eating-options-header>span{font-size:12px;font-weight:700;background:#edf4e5;border-radius:20px;padding:7px 12px}.eating-ideas{display:grid;grid-template-columns:1fr 1fr;gap:14px}.eating-idea{display:flex;flex-direction:column;align-items:flex-start;padding:22px;border:1px solid #dce6d3;border-radius:14px;background:#f9fbf4}.idea-eyebrow{font-size:9px;letter-spacing:1.3px;color:#6c805c;font-weight:750}.eating-idea h3{font-size:19px;line-height:1.35;margin:12px 0 6px;letter-spacing:-.3px}.eating-idea p{font-size:13px;line-height:1.65;margin:5px 0 10px;color:#5b6b53}.eating-idea ul{padding-left:18px;margin:0 0 20px;font-size:13px;line-height:1.7}.eating-idea li+li{margin-top:7px}.eating-idea .button{margin-top:auto;width:100%;justify-content:center}.eating-more{display:flex;align-items:center;justify-content:center;gap:13px;margin:18px 0}.eating-more small{color:var(--muted);font-size:11px}.eating-note-field{padding-top:20px;border-top:1px solid var(--line);margin-top:20px}.eating-note-field label{display:block;font-size:14px;font-weight:650;margin-bottom:10px}.eating-note-field label span{font-size:12px;font-weight:400;color:var(--muted)}.eating-note-field textarea{width:100%;max-width:100%;resize:vertical;min-height:96px;padding:13px 14px;border:1px solid #d4dfca;border-radius:10px;font:inherit;font-size:14px;line-height:1.6;color:var(--ink);background:#fffefa}.eating-note-field p{font-size:11px;line-height:1.65;color:var(--muted);margin:8px 0 12px}.eating-note-actions{display:flex;gap:10px;flex-wrap:wrap}.eating-note-actions [hidden]{display:none}.eating-allergy-note,.eating-restriction{font-size:11px!important;line-height:1.7;color:#726345;margin:20px 0 0;padding:12px 14px;background:#faf5e9;border-radius:9px}.eating-restriction{margin:0 0 16px}.eating-current-choice{padding:12px 15px;margin:0 0 16px;background:#f1f4ec;border-left:3px solid #93b377;border-radius:7px}.eating-current-choice small,.eating-current-choice b{display:block}.eating-current-choice small{font-size:9px;letter-spacing:1px;color:var(--muted);margin-bottom:5px}.eating-current-choice b{font-size:13px;font-weight:600;line-height:1.5}.eating-home-options{margin-top:22px;border-top:1px solid var(--line);padding-top:15px;font-size:13px;line-height:1.7}.eating-home-options summary{cursor:pointer;font-weight:650}.eating-home-options p{color:#69755f}.eating-out-trigger{font:inherit;font-size:11px;font-weight:650;text-align:left;width:100%;background:#f2f6eb;color:#456236;border:1px solid #dce6d2;border-radius:7px;padding:9px 10px;margin-top:10px;cursor:pointer}.eating-out-trigger:hover{background:#e8f2dd}.eating-out-card{background:#f7f2e8;border-color:#e1d5bd}.eating-out-card .slot-stripe{background:#b99859}.eating-out-card h3{font-size:17px;margin:6px 0 10px;line-height:1.35}.eating-out-label{display:block;font-size:9px;letter-spacing:1.5px;color:#826b3f;font-weight:750;margin-top:12px}.eating-chosen-title{font-size:13px;line-height:1.55;font-weight:600;margin:10px 0}.eating-saved-note{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;background:#fffcf5;border-radius:7px;padding:10px;margin:10px 0}.eating-nutrition-label,.eating-grocery-label{font-size:10px;line-height:1.65;color:#766d5d;margin:9px 0}.eating-grocery-label{padding-top:9px;border-top:1px solid #e2dac8}.eating-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:3px 12px}.eating-card-actions .button{font-size:10px;padding:5px 0}.eating-out-summary{background:#f0eadf!important;color:#756342!important;border-color:#e3d7c1!important}.eating-out-summary>b{font-size:12px}.eating-out-summary p{font-size:11px;line-height:1.65}.eating-out-summary small{font-size:10px;line-height:1.65;display:block}.day-dot.outside{background:#b59459}.outside-badge{background:#f4ead7;color:#886b36}.eating-undo{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 18px;margin:12px 0;background:#eff7e8;border:1px solid #c7dcb6;border-radius:10px;font-size:13px}.eating-out-notice{background:#faf4e8;border-color:#e9dcc2}.saved-home-title{font-size:13px;line-height:1.55;margin:12px 0}.saved-home-portion{font-size:10px;color:var(--muted);line-height:1.6}.saved-home-title~small{font-size:10px;color:var(--muted)}.home-plan-details{margin-top:18px}.form-error{font-size:13px;color:#9b4333;line-height:1.6}
@media(max-width:650px){.week-calendar{padding:18px;gap:14px}.calendar-heading h2{font-size:23px}.calendar-controls{width:100%}.calendar-controls>.button.secondary{flex:1;justify-content:center}.calendar-controls>.button.text{margin-left:auto}.cuisine-grid{gap:9px}.cuisine-choice{padding:14px;font-size:14px;min-height:62px}.eating-ideas{grid-template-columns:1fr}.eating-idea{padding:19px}.eating-idea h3{font-size:18px}.eating-more{flex-direction:column;gap:8px}.eating-note-actions>.button{width:100%;justify-content:center}.eating-options-header>span{max-width:45%;text-align:center}.calendar-notice{font-size:12px}}

.saved-eating-tips{font-size:11px;line-height:1.6;margin:9px 0;color:#6c634f}.saved-eating-tips summary{cursor:pointer;font-weight:600}.saved-eating-tips ul{padding-left:16px}.saved-eating-tips li+li{margin-top:7px}
