.view-switcher-container{background:#f3f4f6;border-radius:24px;padding:4px;display:inline-flex;position:relative}.view-switcher-indicator{pointer-events:none;z-index:1;background:linear-gradient(135deg,#4a6651 0% 100%);border-radius:20px;transition:all .3s cubic-bezier(.4,0,.2,1);position:absolute;top:4px;bottom:4px;box-shadow:0 4px 8px #83aa984d,0 2px 4px #0000001a,inset 0 1px 2px #ffffff4d}.view-switcher-option{z-index:2;color:#475569;cursor:pointer;background:0 0;border:none;border-radius:20px;justify-content:center;align-items:center;gap:6px;min-width:80px;min-height:40px;padding:8px 16px;font-family:Plus Jakarta Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.875rem;font-weight:500;transition:all .2s;display:inline-flex;position:relative}.view-switcher-option[aria-checked=true]{color:#fff;text-shadow:0 1px 2px #0000001a;font-weight:600}.view-switcher-option[aria-checked=false]:hover{color:#1e293b;background:#ffffff80}.view-switcher-option svg{width:18px;height:18px;transition:transform .2s}.view-switcher-option[aria-checked=true] svg{filter:drop-shadow(0 1px 2px #0003);transform:scale(1.1)}.view-switcher-option:focus-visible{outline-offset:2px;outline:2px solid #83aa98}.view-switcher-option:disabled{opacity:.5;cursor:not-allowed}@media (max-width:768px){.view-switcher-container{padding:3px}.view-switcher-option{min-width:auto;min-height:38px;padding:6px 14px;font-size:.875rem}.view-switcher-option svg{width:17px;height:17px}}@media (max-width:640px){.view-switcher-container{padding:3px}.view-switcher-option{min-width:auto;min-height:36px;padding:6px 12px;font-size:.8125rem}.view-switcher-option svg{width:16px;height:16px}@media (max-width:400px){.view-switcher-option span{display:none}.view-switcher-option{min-width:44px;padding:8px}}}@media (prefers-contrast:high){.view-switcher-container{background:#fff;border-width:3px}.view-switcher-indicator{box-shadow:none;background:#6e9c87}.view-switcher-option[aria-checked=true]{color:#fff;font-weight:700}}@media (prefers-reduced-motion:reduce){.view-switcher-indicator,.view-switcher-option,.view-switcher-option svg{transition:none}}.custom-category-overlay{z-index:1000;background-color:#00000080;justify-content:center;align-items:flex-start;padding:5vh 1rem 1rem;display:flex;position:fixed;top:0;bottom:0;left:0;right:0;overflow-y:auto}.custom-category-modal{background:#fff;border-radius:12px;flex-direction:column;width:100%;max-width:640px;max-height:90vh;margin-bottom:2rem;display:flex;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.custom-category-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:1.5rem;display:flex}.custom-category-header h2{color:#1f2937;margin:0;font-size:1.25rem;font-weight:600}.close-button{cursor:pointer;color:#6b7280;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:.5rem;transition:all .2s;display:flex}.close-button:hover{color:#1f2937;background-color:#f3f4f6}.custom-category-content{flex:1;padding:1.5rem;overflow-y:auto}.category-section{margin-bottom:2rem}.category-section h3{color:#4b5563;margin-bottom:1rem;font-size:1rem;font-weight:600}.section-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.standard-categories{flex-wrap:wrap;gap:.5rem;display:flex}.standard-category-chip{color:#4b5563;background-color:#f3f4f6;border-radius:20px;padding:.5rem 1rem;font-size:.875rem;font-weight:500}.add-category-button{color:#fff;cursor:pointer;background-color:#4a6651;border:none;border-radius:6px;align-items:center;gap:.5rem;min-height:44px;padding:.5rem 1rem;font-size:.875rem;font-weight:500;transition:background-color .2s;display:flex}.add-category-button:hover{background-color:#598d76}.category-form{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:1rem;padding:1rem}.form-row{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.icon-picker{position:relative}.icon-preview{cursor:pointer;background-color:#fff;border:1px solid #e5e7eb;border-radius:6px;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:.5rem;font-size:1.5rem;display:flex}.icon-options{z-index:10;background:#fff;border:1px solid #e5e7eb;border-radius:6px;grid-template-columns:repeat(6,1fr);gap:.25rem;margin-top:.25rem;padding:.5rem;display:none;position:absolute;top:100%;left:0;box-shadow:0 10px 15px -3px #0000001a}.icon-picker:hover .icon-options,.icon-picker:focus-within .icon-options{display:grid}.icon-option{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;min-width:36px;min-height:36px;padding:.25rem;font-size:1.25rem;display:flex}.icon-option:hover{background-color:#f3f4f6}.icon-option.selected{background-color:#dbeafe;border-color:#4a6651}.category-name-input{border:1px solid #e5e7eb;border-radius:6px;flex:1;min-width:200px;min-height:44px;padding:.75rem;font-size:.875rem}.category-name-input:focus{border-color:#4a6651;outline:none;box-shadow:0 0 0 3px #3b82f61a}.color-picker{position:relative}.color-preview{cursor:pointer;border:2px solid #fff;border-radius:6px;width:44px;height:44px;box-shadow:0 0 0 1px #e5e7eb}.color-options{z-index:10;background:#fff;border:1px solid #e5e7eb;border-radius:6px;grid-template-columns:repeat(4,1fr);gap:.5rem;margin-top:.25rem;padding:.5rem;display:none;position:absolute;top:100%;right:0;box-shadow:0 10px 15px -3px #0000001a}.color-picker:hover .color-options,.color-picker:focus-within .color-options{display:grid}.color-option{cursor:pointer;border:2px solid #fff;border-radius:4px;width:32px;height:32px;transition:transform .2s;box-shadow:0 0 0 1px #e5e7eb}.color-option:hover{transform:scale(1.1)}.color-option.selected{box-shadow:0 0 0 2px #4a6651}.form-actions{gap:.5rem;display:flex}.icon-button{cursor:pointer;color:#6b7280;background:0 0;border:1px solid #e5e7eb;border-radius:6px;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:.5rem;transition:all .2s;display:flex}.icon-button:hover{color:#1f2937;background-color:#f3f4f6}.icon-button.save{color:#fff;background-color:#4a6651;border-color:#4a6651}.icon-button.save:hover{background-color:#598d76}.icon-button.save:disabled{opacity:.5;cursor:not-allowed}.icon-button.cancel{color:#fff;background-color:#ef4444;border-color:#ef4444}.icon-button.cancel:hover{background-color:#dc2626}.icon-button.delete{color:#ef4444}.icon-button.delete:hover{background-color:#fee2e2;border-color:#ef4444}.custom-categories-list{flex-direction:column;gap:.75rem;display:flex}.empty-state{text-align:center;color:#6b7280;padding:2rem}.empty-state p{margin:.5rem 0}.category-item{cursor:move;background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;align-items:center;gap:1rem;padding:.75rem;transition:all .2s;display:flex}.category-item:hover{background-color:#f3f4f6;box-shadow:0 1px 3px #0000001a}.drag-handle{color:#9ca3af;cursor:grab}.drag-handle:active{cursor:grabbing}.category-chip{color:#fff;border-radius:20px;flex:1;align-items:center;gap:.5rem;padding:.5rem 1rem;font-weight:500;display:flex}.category-icon{font-size:1.25rem}.category-name{font-size:.875rem}.category-actions{gap:.5rem;display:flex}.category-edit-form{flex-wrap:wrap;flex:1;align-items:center;gap:.5rem;display:flex}.edit-input{border:1px solid #e5e7eb;border-radius:4px;flex:1;min-width:150px;padding:.5rem;font-size:.875rem}.icon-picker-inline{gap:.25rem;display:flex}.icon-option-small{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:4px;justify-content:center;align-items:center;min-width:32px;min-height:32px;padding:.25rem;font-size:1rem;display:flex}.icon-option-small:hover{background-color:#f3f4f6}.icon-option-small.selected{background-color:#dbeafe;border-color:#4a6651}.edit-actions{gap:.25rem;display:flex}.custom-category-footer{background-color:#f9fafb;border-top:1px solid #e5e7eb;padding:1rem 1.5rem}.help-text{color:#6b7280;margin:0;font-size:.875rem}.loading-state{text-align:center;color:#6b7280;padding:2rem}.touch-target{justify-content:center;align-items:center;min-width:44px;min-height:44px;display:flex}.icon-option,.icon-option-small,.color-option{min-width:44px;min-height:44px}@media (max-width:640px){.custom-category-modal{border-radius:0;height:100%;max-height:100vh}.form-row{flex-direction:column;align-items:stretch}.category-name-input{min-width:100%}.icon-options,.color-options{width:auto;position:fixed;left:1rem;right:1rem}.category-item{flex-wrap:wrap}.category-chip{min-width:100%}}.meal-planning-header{border-bottom:1px solid var(--border-color,#e0e0e0);z-index:10;background:#e6efea;position:-webkit-sticky;position:sticky;top:0;box-shadow:0 2px 4px #0000000d}.header-title-container{background:#e6efea;padding:.5rem 1rem}.header-title{color:var(--text-primary,#333);text-align:left;margin:0;font-size:1.75rem;font-weight:700}.view-switcher-wrapper{background:#e6efea;justify-content:center;width:100%;padding:0 1rem .5rem;display:flex}.header-content{justify-content:center;align-items:center;width:100%;padding:0 1rem .75rem;display:flex}.header-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem;width:100%;display:flex}.button-group{white-space:nowrap;flex-shrink:0;align-items:center;gap:.5rem;flex-direction:row!important;display:flex!important}.week-navigation{background:#fff;border-radius:12px;justify-content:center;align-items:center;gap:.5rem;padding:.25rem;display:flex}.current-week{color:var(--text-primary,#333);white-space:nowrap;text-align:center;min-width:180px;padding:0 1rem;font-weight:600}.saving-indicator{background:var(--info-background,#e3f2fd);color:var(--info-color,#2196f3);border-radius:20px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;display:flex}@keyframes spin{to{transform:rotate(360deg)}}.meal-planning-header .button-group{flex-flow:row!important;align-items:center!important;gap:.5rem!important;display:flex!important}.meal-planning-header .button-group>*{flex:none!important;display:inline-block!important}@media (max-width:768px){.header-title-container{padding:.75rem .75rem .5rem}.header-title{font-size:1.5rem}.view-switcher-wrapper{padding:0 .75rem .5rem}.header-content{flex-direction:column;align-items:center;gap:1rem;padding:0 .75rem .75rem}.header-controls{flex-direction:column;align-items:center;gap:.75rem;width:100%}.button-group{white-space:nowrap;flex-shrink:0;justify-content:center;align-items:center;gap:.5rem;flex-flow:row!important;width:auto!important;display:inline-flex!important}.button-group>*{vertical-align:middle;flex-shrink:0;display:inline-block!important}.week-navigation{justify-content:space-between;width:100%}.current-week{flex:1}}@media (min-width:768px) and (max-width:1023px){.header-title-container{padding:1rem 1rem .5rem}.view-switcher-wrapper{padding:0 1rem .5rem}.header-content{padding:0 1rem .75rem}.button-group{flex-shrink:0;align-items:center;gap:.5rem;display:flex}}@media (min-width:1024px){.header-title-container{padding:1rem 1.25rem .5rem}.view-switcher-wrapper{padding:0 1.25rem .5rem}.header-content{padding:0 1.25rem .75rem}}.month-calendar{box-sizing:border-box;background:#fff;flex-direction:column;width:100%;min-height:0;padding:1rem;display:flex;overflow:visible}.month-header{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;margin-bottom:1rem;padding:1rem 1.5rem;display:flex}.month-grid{background:#e2e8f0;border-radius:.75rem;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:minmax(80px,max-content);gap:1px;width:100%;max-width:100%;margin-bottom:2rem;display:grid;position:relative;overflow:visible}.month-weekday-header{text-align:center;color:#64748b;background:#f8fafc;min-width:0;padding:.5rem .25rem;font-family:Plus Jakarta Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:max(.625rem,min(1.2vw,.875rem));font-weight:600;overflow:hidden}.month-day{aspect-ratio:1;cursor:pointer;box-sizing:border-box;background:#fff;border:2px solid #0000;flex-direction:column;min-width:0;min-height:0;padding:.25rem;transition:all .2s;display:flex;position:relative;overflow:visible}.month-day:hover{z-index:10;background:#f8fafc;transform:translateY(-2px);box-shadow:0 4px 8px #00000014}.month-day.other-month{color:#94a3b8;background:#f8fafc}.month-day.today{background:#e6efea}.month-day.selected{box-shadow:0 0 0 3px 83AA98;background:#e6efea;border-color:#83aa98}.month-day-header{z-index:1;justify-content:space-between;align-items:flex-start;margin-bottom:.25rem;display:flex;position:relative}.month-day-number{color:#1e293b;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:max(.625rem,min(1.5vw,.875rem));font-weight:600}.month-day.today .month-day-number{color:#fff;background:#83aa98;border-radius:50%;justify-content:center;align-items:center;width:max(18px,min(3vw,26px));height:max(18px,min(3vw,26px));font-size:max(.5rem,min(1.2vw,.75rem));display:flex}.month-day-add-btn{cursor:pointer;opacity:1;color:#fff;background:#83aa98;border:none;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;transition:all .2s;display:flex;position:relative;box-shadow:0 1px 3px #0000001a}.month-day:hover .month-day-add-btn{opacity:1;transform:scale(1.1)}.month-day-add-btn:hover{background:#6e9c87;transform:scale(1.15);box-shadow:0 2px 6px #00000026}.month-day-add-btn:active{transform:scale(.95)}.add-icon{width:12px;height:12px;font-size:14px;font-weight:600;line-height:1}.meal-type-menu{z-index:50;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;min-width:140px;margin-top:4px;position:absolute;top:100%;right:-8px;overflow:hidden;box-shadow:0 4px 12px #00000026}.meal-type-menu-item{cursor:pointer;text-transform:capitalize;text-align:left;background:#fff;border:none;align-items:center;gap:.5rem;width:100%;padding:.5rem .75rem;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.75rem;transition:all .2s;display:flex}.meal-type-menu-item:hover{background:#f8fafc}.meal-type-menu-item .menu-icon{width:14px;height:14px}.month-day-meals{flex-direction:column;flex:1;gap:max(.125rem,min(.5vw,.25rem));min-height:0;display:flex;overflow:hidden}.month-day-meals-placeholder,.meal-placeholder-block{display:none}.month-day-meal{border:1px solid;border-radius:.25rem;align-items:center;gap:.125rem;min-width:0;max-width:100%;padding:.125rem .25rem;font-size:max(.4375rem,min(.9vw,.5625rem));transition:all .15s;display:flex;position:relative}.month-day-meal:hover{z-index:15;position:relative;transform:translate(2px)}.month-day-meal .meal-icon{flex-shrink:0;width:max(.5rem,min(1.2vw,.75rem));height:max(.5rem,min(1.2vw,.75rem))}.month-day-meal .meal-text{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.75rem;font-weight:500;overflow:hidden}.meal-type-breakfast{color:#d98e73;background:#d98e731a;border-color:#d98e73}.meal-type-lunch{color:#6e9c87;background:#6e9c871a;border-color:#6e9c87}.meal-type-dinner{color:#6a4c93;background:#6a4c931a;border-color:#6a4c93}.meal-type-snack{color:#d9c88e;background:#d9c88e1a;border-color:#d9c88e}.month-day-more{color:#64748b;background:#f1f5f9;border-radius:.25rem;align-self:flex-start;margin-top:.125rem;padding:.125rem .25rem;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:max(.4375rem,min(.9vw,.625rem))}.month-list{display:none}@media (max-width:640px){.month-calendar{padding:.5rem}.month-grid{display:none}.month-list{flex-direction:column;gap:.5rem;display:flex}.month-list-day{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;padding:.75rem;transition:all .2s}.month-list-day.today{background:#e6efea;border-color:#83aa98}.month-list-day-header{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.month-list-day-date{align-items:center;gap:.5rem;display:flex}.month-list-day-actions{position:relative}.meal-type-menu-mobile{top:calc(100% + 4px);right:0}.month-list-day-number{color:#1e293b;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.9375rem;font-weight:700}.month-list-day-name{color:#64748b;font-size:.8125rem;font-weight:400}.month-list-meals{flex-wrap:wrap;gap:.375rem;display:flex}.month-list-meal{border:1px solid;border-radius:.375rem;align-items:center;gap:.25rem;padding:.25rem .5rem;font-size:.75rem;display:inline-flex}.month-list-meal .meal-icon{width:.875rem;height:.875rem}.month-list-empty{color:#94a3b8;font-size:.75rem;font-style:italic}.month-day-add-btn{opacity:1}}@media (min-width:641px) and (max-width:768px){.month-grid{grid-template-columns:repeat(7,1fr)}.month-day{aspect-ratio:1/1.2}.month-weekday-header{padding:.5rem .25rem;font-size:.625rem}.month-day-meal .meal-text{font-size:.625rem}.month-day-meal:nth-child(n+3){display:none}}@media (min-width:769px) and (max-width:1024px){.month-calendar{padding:1.5rem}.month-day{aspect-ratio:1/1.1}.month-weekday-header{font-size:.75rem}.month-day-meal:nth-child(n+3){display:none}}@media (min-width:1025px) and (max-width:1439px){.month-calendar{padding:2rem}.month-day{aspect-ratio:1;min-height:100px}.month-day-meal:nth-child(n+4){display:none}}@media (min-width:1440px){.month-calendar{padding:2rem}.month-day{aspect-ratio:1;min-height:120px}.month-day-meal{padding:.3125rem .4375rem;font-size:.6875rem}.month-day-meal:nth-child(n+5){display:none}}.month-calendar-loading{flex-direction:column;justify-content:center;align-items:center;gap:1rem;height:100%;display:flex}.month-calendar-loading .loading-spinner{border:4px solid #e2e8f0;border-top-color:#83aa98;border-radius:50%;width:40px;height:40px;animation:1s linear infinite spin}.month-calendar-loading p{color:#64748b;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.875rem}.day-calendar{background:#e6efea;border-radius:12px;flex-direction:column;min-height:0;margin:0 1rem;display:flex;overflow:visible}.day-header{background:#f8f9fa;border-bottom:2px solid #e9ecef;justify-content:space-between;align-items:center;padding:1.25rem;display:flex}.day-nav-button{cursor:pointer;color:#495057;background:#fff;border:1px solid #dee2e6;border-radius:8px;justify-content:center;align-items:center;min-width:44px;min-height:44px;transition:all .2s;display:flex}.day-nav-button .nav-icon{width:20px;height:20px}.day-nav-button:hover{background:#f8f9fa;border-color:#adb5bd;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.day-nav-button:active{transform:scale(.95)}.day-title-container{text-align:center;flex:1}.day-title{color:var(--text-primary,#333);margin:0 0 .25rem;font-size:1.5rem;font-weight:600}.day-subtitle{color:var(--text-secondary,#666);justify-content:center;align-items:center;gap:.5rem;margin:0;font-size:.875rem;display:flex}.today-badge{color:#fff;background:#6e9c87;border-radius:20px;margin-left:.5rem;padding:.25rem .75rem;font-size:.75rem;font-weight:600}.day-meals-container{background:#e6efea;flex:1;width:100%;min-height:0;padding:1rem;overflow-y:visible}.meal-section-static:hover .meal-section-header{background-color:#00000005!important}.meal-item-static:hover{background-color:#00000005;margin:0 -.5rem;padding-left:.5rem;padding-right:.5rem}.day-meal-section{background:#fff;border:2px dashed #cbd5e1;margin-bottom:0;padding:0;transition:all .2s}.day-meal-section.meal-type-breakfast{background:#fffbf5;border-color:#d98e73}.day-meal-section.meal-type-lunch{background:#f5fdf6;border-color:#6e9c87}.day-meal-section.meal-type-dinner{background:#f5faff;border-color:#6a4c93}.day-meal-section.meal-type-snack{background:#fcf7fe;border-color:#d9c88e}.day-meal-section:hover{background:#e6efea;border-color:#83aa98;transform:scale(1.01)}.meal-type-breakfast .meal-icon{color:#b04a2c}.meal-type-lunch .meal-icon{color:#2e7d32}.meal-type-dinner .meal-icon{color:#1565c0}.meal-type-snack .meal-icon{color:#3c5141}.meal-accent-bar{background:currentColor;border-radius:2px;flex-shrink:0;width:4px;height:100%}.meal-type-breakfast .meal-accent-bar{background:#d98e73}.meal-type-lunch .meal-accent-bar{background:#6e9c87}.meal-type-dinner .meal-accent-bar{background:#6a4c93}.meal-type-snack .meal-accent-bar{background:#d9c88e}.day-add-meal-button:hover{color:#fff;background:#83aa98;border-style:solid}.day-meal-header{border-bottom:1px solid var(--border-light,#f0f0f0);align-items:center;gap:.75rem;margin-bottom:1rem;padding-bottom:.75rem;display:flex;position:relative}.meal-header-text{flex:1}.day-meal-info{align-items:center;gap:.75rem;display:flex}.day-meal-label{color:var(--text-primary,#333);margin:0;font-size:1.125rem;font-weight:600;line-height:1.2}.day-meal-time{color:var(--text-secondary,#666);margin-top:.125rem;font-size:.75rem;display:block}.day-add-meal-button{color:#83aa98;cursor:pointer;background:#fff;border:2px dashed #83aa98;border-radius:.5rem;align-items:center;gap:.375rem;min-height:36px;padding:.5rem 1rem;font-size:.875rem;font-weight:500;transition:all .2s;display:flex}.day-add-meal-button .add-icon{width:16px;height:16px}.day-add-meal-button:hover{background:var(--primary-hover,#45a049)}.day-add-meal-button:active{transform:scale(.98)}.day-meal-slots{flex-direction:column;gap:.75rem;display:flex}.day-empty-slot{color:#64748b;cursor:pointer;background:#fff;border:2px dashed #cbd5e1;border-radius:.5rem;justify-content:center;align-items:center;gap:.5rem;width:100%;min-height:60px;padding:1rem;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.875rem;font-weight:500;transition:all .2s;display:flex}.day-empty-slot:hover{color:#83aa98;background:#e6efea;border-color:#83aa98}.day-empty-slot:hover .empty-slot-icon{color:#83aa98}.empty-slot-icon{color:#94a3b8;width:20px;height:20px;transition:color .2s}.day-empty-slot.can-paste{cursor:pointer;color:#6e9c87;background:#d4edda;border-color:#6e9c87}.day-empty-slot.can-paste .empty-slot-icon{color:#6e9c87}.day-empty-slot.can-paste:hover{background:var(--primary-light,#c8e6c9)}.empty-icon,.paste-icon{font-size:1.25rem}.day-meal-card{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;justify-content:space-between;align-items:center;padding:.75rem;transition:all .15s;display:flex;position:relative}.day-meal-card:focus{outline-offset:2px;outline:2px solid #598d76;box-shadow:0 0 0 3px #2563eb1a}.day-meal-card:focus-visible{outline-offset:2px;outline:2px solid #598d76}.day-meal-card:hover{background:#fff;transform:translateY(-1px);box-shadow:0 4px 8px #0000001a}@media (prefers-reduced-motion:reduce){.day-meal-card{transition:none}.day-meal-card:hover{transform:none}}.day-meal-content{flex:1}.day-meal-name{color:#212529;margin:0 0 .25rem;font-size:1rem;font-weight:600}.day-meal-name-link{text-align:left;width:100%;font:inherit;cursor:pointer;color:#598d76;background:0 0;border:none;align-items:center;min-height:44px;padding:4px 0;font-size:1rem;font-weight:600;transition:color .15s;display:flex}.day-meal-name-link:hover{color:#1d4ed8;text-decoration:underline}.day-meal-name-link:focus{outline-offset:2px;border-radius:4px;outline:2px solid #598d76}.day-meal-description{color:#6c757d;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 .25rem;font-size:.813rem;display:-webkit-box;overflow:hidden}.day-meal-calories{color:#fd7e14;background:#fff3cd;border-radius:12px;margin-right:.5rem;padding:.125rem .5rem;font-size:.75rem;font-weight:600;display:inline-block}.day-meal-notes{color:#6c757d;margin:.5rem 0 0;font-size:.813rem;font-style:italic}.day-meal-actions{gap:.5rem;display:flex;position:relative}.day-meal-action.labeled{align-items:center;gap:.375rem;min-width:auto;padding:.5rem .75rem;display:flex}.action-label{font-size:.875rem;font-weight:500;display:none}@media (min-width:640px){.action-label{display:inline}}.meal-action-menu{position:relative}.meal-action-dropdown{z-index:10;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;min-width:140px;margin-top:.25rem;position:absolute;top:100%;right:0;overflow:hidden;box-shadow:0 4px 12px #00000026}.dropdown-item{text-align:left;color:#495057;cursor:pointer;background:0 0;border:none;align-items:center;gap:.75rem;width:100%;min-height:44px;padding:.75rem 1rem;font-size:.875rem;transition:background .15s;display:flex}.dropdown-item:hover{background:#f8f9fa}.dropdown-item.remove{color:#dc3545}.dropdown-item.remove:hover{background:#fef2f2}.day-meal-action{cursor:pointer;color:#6c757d;background:#fff;border:1px solid #dee2e6;border-radius:6px;justify-content:center;align-items:center;min-width:32px;min-height:32px;transition:all .2s;display:flex}.day-meal-action svg{width:16px;height:16px}.day-meal-action.copy-action:hover{color:#6e9c87;background:#d4edda;border-color:#6e9c87}.day-meal-action.swap-action:hover{color:#0d6efd;background:#cfe2ff;border-color:#0d6efd}.day-meal-action.remove-action:hover{color:#dc3545;background:#f8d7da;border-color:#dc3545}.day-meal-action:active{transform:scale(.95)}.day-summary{background:linear-gradient(135deg,#83aa980d 0%,#6e9c8714 100%);border-top:2px solid #83aa98;flex-wrap:wrap;justify-content:space-around;gap:1rem;padding:1rem;display:flex}.day-summary-item{flex-direction:column;align-items:center;gap:.25rem;min-width:80px;display:flex}.day-summary-label{text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary,#666);font-size:.75rem;font-weight:600}.day-summary-value{color:#6e9c87;font-size:1.25rem;font-weight:700}@media (max-width:768px){.day-calendar{margin:0 .75rem}.day-header{padding:.75rem}.day-title{font-size:1.25rem}.day-meals-container{padding:.75rem}.day-meal-section{margin-bottom:.75rem;padding:.75rem}.day-meal-icon{font-size:1.5rem}.day-meal-label{font-size:1rem}.day-add-meal-button{padding:.375rem .75rem;font-size:.813rem}}@media (min-width:768px) and (max-width:1024px){.day-calendar{margin:0 1rem}.day-meals-container{padding:1.5rem}.day-meal-section{padding:1.25rem}}@media (min-width:1024px){.day-calendar{width:100%;max-width:800px;margin:0 auto}.day-header{padding:1.5rem}.day-meals-container{padding:2rem}.day-meal-section{margin-bottom:1.5rem;padding:1.5rem}}.day-calendar-loading{flex-direction:column;justify-content:center;align-items:center;gap:1rem;height:100%;display:flex}.day-calendar-loading .loading-spinner{border:4px solid var(--border-color,#e0e0e0);border-top-color:var(--primary-color,#4caf50);border-radius:50%;width:40px;height:40px;animation:1s linear infinite spin}.next-meal-highlight{background:linear-gradient(135deg,#e6efea 0%,#fff 100%);border-color:#83aa98;position:relative}.next-meal-indicator{position:absolute;top:50%;right:1rem;transform:translateY(-50%)}.next-meal-badge{color:#fff;text-transform:uppercase;letter-spacing:.025em;background:#83aa98;border-radius:20px;padding:.25rem .75rem;font-size:.75rem;font-weight:600;display:inline-block}@keyframes pulse{0%,to{opacity:.6}50%{opacity:1}}.pulse-animation{animation:2s ease-in-out infinite pulse}@media (prefers-reduced-motion:reduce){.pulse-animation{animation:none}}.next-meal-card{border-color:#83aa98;box-shadow:0 2px 8px #83aa9826}.next-meal-cta{z-index:5;position:absolute;bottom:-.5rem;left:50%;transform:translate(-50%)}.next-meal-add-button{color:#fff;cursor:pointer;background:#83aa98;border:none;border-radius:20px;align-items:center;gap:.5rem;min-height:36px;padding:.5rem 1rem;font-size:.875rem;font-weight:600;transition:all .2s;display:flex;box-shadow:0 2px 8px #83aa9840}.next-meal-add-button:hover{background:#0d9488;transform:translate(-50%)translateY(-2px);box-shadow:0 4px 12px #83aa9859}@media (prefers-reduced-motion:reduce){.next-meal-add-button:hover{transform:translate(-50%)}}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.day-column-card{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;flex-direction:column;width:100%;height:auto;padding:1rem;transition:all .2s;display:flex;box-shadow:0 1px 3px #0000000d}.day-column-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.day-column-card.is-today{background:linear-gradient(#f0f7f4,#fff);border-color:#83aa98;box-shadow:0 0 0 3px #83aa9833}.day-card-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;margin-bottom:.75rem;padding-bottom:.75rem;display:flex}.day-date{align-items:center;gap:.75rem;display:flex}.day-name{text-transform:uppercase;letter-spacing:.1em;color:#64748b;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.75rem;font-weight:600}.day-number{color:#1e293b;font-family:Plus Jakarta Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:1.25rem;font-weight:700;line-height:1}.day-column-card.is-today .day-number{color:#83aa98}.today-badge{color:#fff;text-transform:uppercase;letter-spacing:.05em;background:#83aa98;border-radius:9999px;padding:.125rem .5rem;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.625rem;font-weight:600}.day-meals-container{flex-direction:column;gap:.75rem;width:100%;padding:.75rem 0;display:flex}.day-meals-container>*{width:100%;height:auto}.meal-card{cursor:pointer;background:#fff;border:1px solid;border-radius:.5rem;min-height:auto;padding:.75rem 1rem;transition:all .2s;position:relative}.meal-card:hover{transform:translate(2px);box-shadow:0 2px 8px #0000001a}.meal-card.drop-target{transform:scale(1.02);box-shadow:0 4px 12px #83aa9833}.meal-card.is-copied{opacity:.7;border-style:dashed}.meal-card-header{align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.meal-icon{flex-shrink:0;width:1rem;height:1rem}.meal-type-text{text-transform:uppercase;letter-spacing:.05em;flex:1;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.625rem;font-weight:600}.meal-time{opacity:.8;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.625rem}.meal-card-content{margin-bottom:.75rem}.meal-title{margin-bottom:.25rem;font-family:Plus Jakarta Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.875rem;font-weight:600;line-height:1.3}button.meal-title.meal-title-link{text-align:left;cursor:pointer;color:#598d76;background:0 0;border:none;width:100%;padding:4px 0;font-family:Plus Jakarta Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.875rem;font-weight:600;line-height:1.3;transition:color .2s,-webkit-text-decoration .2s,text-decoration .2s;display:block}button.meal-title.meal-title-link:hover{color:#1d4ed8;text-decoration:underline}button.meal-title.meal-title-link:active{color:#1e40af}button.meal-title.meal-title-link:focus{outline-offset:2px;outline:2px solid #598d76}.meal-description{opacity:.8;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:.25rem;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.75rem;line-height:1.4;display:-webkit-box;overflow:hidden}.meal-calories{opacity:.9;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.625rem;font-weight:600}.meal-card-actions{opacity:0;gap:.5rem;transition:opacity .2s;display:flex}.meal-card:hover .meal-card-actions{opacity:1}.meal-action-btn{color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:.25rem;flex:1;padding:.25rem .5rem;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.625rem;font-weight:500;transition:all .2s}.meal-action-btn:hover{color:#fff;background:currentColor}.meal-action-btn.remove{opacity:.7}.meal-action-btn.remove:hover{color:#fff;opacity:1;background:#dc2626;border-color:#dc2626}.meal-card-empty{cursor:pointer;opacity:.6;background:#fff;border:2px dashed;border-radius:.5rem;flex-direction:row;justify-content:center;align-items:center;gap:.5rem;min-height:60px;padding:.75rem 1rem;transition:all .2s;display:flex}.meal-card-empty:hover{opacity:1;border-style:solid;transform:scale(1.02)}.meal-card-empty.drop-target{opacity:1;background:currentColor;border-style:solid;transform:scale(1.05)}.meal-card-empty.can-paste{animation:1.5s infinite pulse}.meal-icon-empty{opacity:.5;width:1.5rem;height:1.5rem}.meal-type-label{text-transform:uppercase;letter-spacing:.05em;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.625rem;font-weight:600}.add-meal-btn{color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:.375rem;align-items:center;gap:.375rem;padding:.375rem .75rem;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.75rem;font-weight:500;transition:all .2s;display:flex}.add-meal-btn:hover{color:#fff;background:currentColor;transform:scale(1.05)}.add-meal-btn:active{transform:scale(.95)}.plus-icon{width:.875rem;height:.875rem}.meal-type-custom{color:#3c6e71;border-color:#3c6e71}.meal-type-custom.meal-card-empty{background:#3c6e711a;border-color:#3c6e71}.meal-icon.custom-icon,.meal-icon-empty.custom-icon{justify-content:center;align-items:center;font-size:1.25rem;display:flex}.meal-card-header[style*=background-color]{border-radius:.375rem .375rem 0 0;margin:-.75rem -.75rem .75rem;padding:.5rem}.meal-card-header[style*=background-color] .meal-type-text,.meal-card-header[style*=background-color] .meal-time{color:#fff;text-shadow:0 1px 2px #0000001a}.meal-card-header[style*=background-color] .meal-icon{color:#fff}.meal-type-breakfast{color:#d98e73;border-color:#d98e73}.meal-type-breakfast.meal-card-empty{background:#d98e731a;border-color:#d98e73}.meal-type-lunch{color:#6e9c87;border-color:#6e9c87}.meal-type-lunch.meal-card-empty{background:#6e9c871a;border-color:#6e9c87}.meal-type-dinner{color:#6a4c93;border-color:#6a4c93}.meal-type-dinner.meal-card-empty{background:#6a4c931a;border-color:#6a4c93}.meal-type-snack{color:#d9c88e;border-color:#d9c88e}.meal-type-snack.meal-card-empty{background:#d9c88e1a;border-color:#d9c88e}@media (max-width:768px){.day-column-card{border-radius:.5rem;margin-bottom:.75rem;padding:.75rem}.day-number{font-size:1.125rem}.day-meals-container{gap:.5rem}.day-meals-container>*{width:100%;height:auto}.meal-card{padding:.625rem}.meal-title{font-size:.75rem}.meal-card-actions{opacity:1}.meal-card-empty{min-height:50px}}@media (min-width:768px) and (max-width:1024px){.day-column-card{padding:1.5rem}.day-meals-container>*{width:100%;height:auto}}@media (min-width:1024px) and (max-width:1440px){.day-column-card{padding:2rem}.day-meals-container>*{width:100%;height:auto}}@media (min-width:1440px){.day-column-card{padding:2rem}.day-meals-container>*{width:100%;height:auto}}.day-column-card.expandable{transition:all .3s;overflow:hidden}.day-expandable-header{cursor:pointer;text-align:left;background:#fff;border:none;width:100%;transition:background-color .2s;position:relative}.day-expandable-header:hover{background-color:#fffffff2}.day-expandable-header:focus{outline-offset:-2px;outline:2px solid #83aa98}.day-expandable-header:active{background-color:83AA98}.day-meals-collapsible{transition:max-height .3s cubic-bezier(.4,0,.2,1),opacity .2s ease-in-out}.day-column-card.expandable.is-today .day-expandable-header{background:linear-gradient(#e6efea80,#0000)}.day-column-card.expandable .day-expandable-header[aria-expanded=false]{border-bottom:none}.day-expandable-header:hover svg{color:#83aa98}@media (max-width:768px){.day-expandable-header{padding:.75rem 1rem}.day-meals-collapsible .day-meals-container{padding:.5rem 1rem}}.week-calendar{touch-action:pan-y pinch-zoom;-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#e6efea;flex-direction:column;flex:1;min-height:0;display:flex;position:relative;overflow:visible}.week-calendar.transitioning{pointer-events:none}.week-header{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.week-days{-webkit-overflow-scrolling:touch;overscroll-behavior-x:none;overscroll-behavior-y:auto;background:#e6efea;flex-direction:column;flex:1;gap:1rem;width:100%;min-height:0;padding:1rem;display:flex;overflow-x:hidden;overflow-y:auto}.week-days-inner{flex-direction:column;gap:1rem;width:100%;display:flex}.week-days::-webkit-scrollbar{width:10px;height:10px}.week-days::-webkit-scrollbar-track{background:#e2e8f0;border-radius:5px}.week-days::-webkit-scrollbar-thumb{background:#83aa98;border-radius:5px}.week-days::-webkit-scrollbar-thumb:hover{background:#6e9c87}.week-days::-webkit-scrollbar-corner{background:#e2e8f0}@media (max-width:768px){.week-days{gap:.75rem;padding:.75rem}.week-days-inner{gap:.75rem}}@media (min-width:769px) and (max-width:1024px){.week-days{gap:1rem;padding:1.5rem}.week-days-inner{gap:1rem}}@media (min-width:1024px){.week-calendar{width:100%;max-width:800px;margin:0 auto}.week-days{gap:1.5rem;padding:2rem}.week-days-inner{gap:1.5rem}}.week-calendar.slide-left{animation:.3s slideLeft}.week-calendar.slide-right{animation:.3s slideRight}@keyframes slideLeft{0%{opacity:.5;transform:translate(100%)}to{opacity:1;transform:translate(0)}}@keyframes slideRight{0%{opacity:.5;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}.week-calendar-loading{background:#fff;flex-direction:column;justify-content:center;align-items:center;gap:1rem;height:100%;display:flex}.week-calendar-loading .loading-spinner{border:4px solid #e2e8f0;border-top-color:#83aa98;border-radius:50%;width:40px;height:40px;animation:1s linear infinite spin}.week-calendar-loading p{color:#64748b;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.875rem}.dinner-wizard-overlay{z-index:9999;background:#00000080;justify-content:center;align-items:flex-start;padding:20px 0;display:flex;position:fixed;top:0;bottom:0;left:0;right:0;overflow-y:auto}.dinner-wizard-modal{background:#fff;border-radius:16px;flex-direction:column;width:calc(100% - 32px);max-width:600px;max-height:calc(100vh - 120px);margin:40px auto;display:flex;position:relative;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.wizard-header{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:20px;display:flex}.wizard-title{align-items:center;gap:12px;display:flex}.wizard-title h2{margin:0;font-size:24px;font-weight:600}.wizard-close{color:#fff;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:8px;transition:background .2s;display:flex}.wizard-close:hover{background:#fff3}.wizard-content{-webkit-overflow-scrolling:touch;scroll-behavior:smooth;flex:1;min-height:0;padding:20px;overflow-x:hidden;overflow-y:auto}.wizard-description{color:#6b7280;margin-bottom:24px;font-size:15px;line-height:1.5}.preference-section{margin-bottom:32px}.preference-section h3{color:#374151;align-items:center;gap:8px;margin:0 0 16px;font-size:18px;font-weight:600;display:flex}.preference-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.dietary-dropdown-container{width:100%;position:relative}.preference-checkbox{cursor:pointer;background:#f9fafb;border-radius:8px;align-items:center;gap:8px;min-height:44px;padding:12px;transition:background .2s;display:flex}.preference-checkbox:hover{background:#f3f4f6}.preference-checkbox input[type=checkbox]{cursor:pointer;width:20px;height:20px}.preference-checkbox span{color:#374151;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px}.preference-options{flex-direction:column;gap:16px;display:flex}.preference-select{flex-direction:column;gap:8px;display:flex}.preference-select label{color:#374151;align-items:center;gap:8px;font-size:14px;font-weight:500;display:flex}.difficulty-select{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;min-height:44px;padding:10px 12px;font-size:14px}.time-inputs{grid-template-columns:1fr 1fr;gap:12px;display:grid}.time-input{flex-direction:column;gap:6px;display:flex}.time-input span{color:#374151;font-size:14px;font-weight:500}.time-input input{border:1px solid #d1d5db;border-radius:8px;min-height:44px;padding:10px 12px;font-size:14px}.time-input input:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 3px #667eea1a}.wizard-footer{background:#f9fafb;border-top:1px solid #e5e7eb;gap:12px;padding:20px;display:flex}.wizard-cancel,.wizard-apply{cursor:pointer;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:12px 20px;font-size:16px;font-weight:500;transition:all .2s;display:flex}.wizard-cancel{color:#6b7280;background:#fff;border:1px solid #d1d5db}.wizard-cancel:hover:not(:disabled){background:#f9fafb}.wizard-apply{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none}.wizard-apply:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 15px -3px #667eea4d}.wizard-cancel:disabled,.wizard-apply:disabled{opacity:.5;cursor:not-allowed}.spinner{border:2px solid #fff;border-top-color:#0000;border-radius:50%;width:16px;height:16px;animation:.6s linear infinite spin;display:inline-block}.wizard-date-range{border-bottom:1px solid #e5e7eb;margin-bottom:32px;padding-bottom:24px}.wizard-section-title{color:#374151;align-items:center;gap:8px;margin:0 0 16px;font-size:18px;font-weight:600;display:flex}.date-range-display{background:#f3f4f6;border-radius:12px;align-items:center;gap:12px;min-height:56px;padding:12px 16px;display:flex}.date-range-display svg{color:#667eea;flex-shrink:0}.date-range-text{color:#374151;flex:1;font-size:15px;font-weight:500}.date-range-count{color:#6b7280;font-size:14px;font-weight:400}.date-range-change-btn{color:#667eea;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;min-height:36px;padding:8px 16px;font-size:14px;font-weight:500;transition:all .2s}.date-range-change-btn:hover{color:#fff;background:#667eea;border-color:#667eea;transform:translateY(-1px);box-shadow:0 4px 6px -1px #667eea33}@media (max-width:640px){.date-range-display{flex-wrap:wrap;gap:8px}.date-range-text{order:2;width:100%}.date-range-change-btn{margin-left:auto}.dinner-wizard-overlay{align-items:flex-start;padding:20px 16px}.dinner-wizard-modal{width:calc(100% - 32px);max-height:calc(100vh - 100px);margin:20px auto}.wizard-content{padding:16px}.time-inputs,.preference-grid{grid-template-columns:1fr}}@supports (padding-bottom:env(safe-area-inset-bottom)){@media (max-width:640px){.dinner-wizard-overlay{padding-top:calc(44px + env(safe-area-inset-top));padding-bottom:calc(83px + env(safe-area-inset-bottom))}.dinner-wizard-modal{max-height:calc(100vh - 44px - env(safe-area-inset-top) - 83px - env(safe-area-inset-bottom))}}}@media (max-width:640px) and (min-height:812px){.dinner-wizard-overlay{padding-top:88px;padding-bottom:117px}.dinner-wizard-modal{max-height:calc(100vh - 205px)}}.meal-planning-view{box-sizing:border-box;overscroll-behavior-x:contain;overscroll-behavior-y:auto;-webkit-overflow-scrolling:touch;background:#e6efea;flex-direction:column;width:100%;max-width:100vw;min-height:100vh;display:flex;position:relative;overflow-x:hidden}.meal-planning-header{box-sizing:border-box;background:#e6efea;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;width:100%;padding:.75rem 1rem;display:flex}.header-left{flex-basis:100%;justify-content:space-between;align-items:center;gap:1rem;width:100%;display:flex}.app-title{align-items:center;gap:.75rem;display:flex}.app-title h1{color:#1e293b;margin:0;font-family:Plus Jakarta Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:1.5rem;font-weight:700}.title-icon{width:1.5rem;height:1.5rem;color:var(--brand-primary,#4a6651)}.header-right{flex-basis:100%;align-items:center;width:100%;display:flex}.navigation-controls{flex:1;justify-content:space-between;align-items:center;gap:.5rem;width:100%;display:flex}.nav-button,.today-button{cursor:pointer;color:#475569;background:#e6efea;border:2px solid #e2e8f0;border-radius:.75rem;justify-content:center;align-items:center;min-height:44px;padding:0 .75rem;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.875rem;font-weight:600;transition:all .2s;display:flex;box-shadow:0 1px 3px #0000001a}.nav-button{width:44px;height:44px;padding:0}.nav-button svg{width:1.25rem;height:1.25rem}.nav-button:hover{border-color:var(--brand-primary,#4a6651);color:var(--brand-primary,#4a6651);background:#e6efea;transform:translateY(-1px);box-shadow:0 4px 8px #06b6d426}.today-button:hover{transform:translateY(-1px);box-shadow:0 4px 8px #16a34a4d;color:#fff!important;background:#3c6e71!important}.nav-button:active,.today-button:active{transform:scale(.95)}.date-group{align-items:center;gap:.5rem;display:flex}.date-display{color:#1e293b;white-space:nowrap;text-align:center;min-width:200px;font-family:Plus Jakarta Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:1.25rem;font-weight:600}.action-buttons{flex-shrink:0;align-items:center;gap:.5rem;display:flex}.meal-planning-sidebar{display:none}.week-calendar,.month-calendar,.day-calendar{flex:1;min-height:0;overflow:visible}.saving-indicator{color:var(--brand-primary,#4a6651);background:#e6efea;border-radius:9999px;align-items:center;gap:.5rem;padding:.375rem .75rem;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.75rem;font-weight:500;display:flex}.saving-spinner{border:2px solid #a5f3fc;border-top-color:var(--brand-primary,#4a6651);border-radius:50%;width:14px;height:14px;animation:.8s linear infinite spin}@media (max-width:768px){.meal-planning-header{flex-direction:column;gap:.75rem;padding:.75rem}.header-left,.header-right{justify-content:space-between;width:100%}.app-title h1{font-size:1.25rem}.date-display{font-size:.875rem}.saving-indicator{padding:.25rem .5rem;font-size:.625rem;position:absolute;top:.5rem;right:.5rem}}@media (min-width:768px) and (max-width:1024px){.meal-planning-header{padding:1rem}}@media (min-width:1024px){.meal-planning-header{padding:1rem 1.25rem}}.meal-planning-error{text-align:center;flex-direction:column;justify-content:center;align-items:center;height:100vh;padding:2rem;display:flex}.meal-planning-error h2{color:#dc2626;margin-bottom:1rem;font-family:Plus Jakarta Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:600}.meal-planning-error button{background:var(--brand-primary,#4a6651);color:#fff;cursor:pointer;border:none;border-radius:9999px;min-height:44px;padding:.75rem 1.5rem;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:1rem;font-weight:600;transition:all .2s}.meal-planning-error button:hover{background:var(--brand-primary-hover,#005f70);transform:translateY(-1px);box-shadow:0 4px 6px #0000001a}.meal-planning-error button:active{transform:scale(.98)}.copied-meal-indicator{background:var(--brand-primary,#4a6651);color:#fff;z-index:100;border-radius:9999px;padding:.75rem 1.5rem;font-family:Geist,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:500;animation:.3s slideUp;position:fixed;bottom:2rem;left:50%;transform:translate(-50%);box-shadow:0 4px 12px #00000026}@keyframes slideUp{0%{opacity:0;transform:translate(-50%)translateY(100px)}to{opacity:1;transform:translate(-50%)translateY(0)}}.meal-planning-loading{flex-direction:column;justify-content:center;align-items:center;height:100%;padding:2rem;display:flex}.loading-spinner{border:4px solid #e2e8f0;border-top-color:var(--brand-primary,#4a6651);border-radius:50%;width:40px;height:40px;animation:1s linear infinite spin}@media (max-width:768px){.meal-planning-header{padding:.5rem}.app-title h1{font-size:1.25rem}.title-icon{width:1.25rem;height:1.25rem}.header-left{gap:1rem}.header-right{gap:.5rem}.date-display{font-size:.875rem}.nav-button{padding:.375rem}.today-button{padding:.375rem .75rem;font-size:.8125rem}}@media (max-width:480px){.meal-planning-header{flex-direction:column;align-items:stretch;gap:.75rem}.header-left{flex-direction:column;gap:.75rem;width:100%}.header-right{justify-content:space-between;width:100%}.app-title{justify-content:center}.app-title h1{font-size:1.125rem}}
