:root{font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;color:#0f172a;background-color:#f6f7fb}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top,rgba(59,130,246,.08),transparent 60%)}a{color:inherit}button{font:inherit}.layout{display:flex;flex-direction:column;min-height:100vh;padding:1.5rem 2.5rem 3rem;gap:1.5rem;max-width:1200px;margin:0 auto}.brand{display:inline-flex;align-items:center;gap:.75rem;padding:.5rem 1.25rem .5rem .5rem;border-radius:999px;background:#fff;width:fit-content;box-shadow:0 4px 12px #0000001a}.brand__logo{width:64px;height:64px;border-radius:50%;object-fit:cover}.brand__title{display:block;font-weight:800;color:#0f172a;font-size:1.1rem;line-height:1.1;letter-spacing:-.02em}.brand__tagline{display:block;color:#64748b;font-weight:600;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em}.layout__body{display:grid;grid-template-columns:2fr 1fr;gap:1.5rem}.layout__body--single{grid-template-columns:minmax(0,720px);justify-content:center}.layout__body--single .panel{grid-column:1;width:min(720px,100%);margin:0 auto}.panel--calendar{grid-column:1 / -1}.week-card{margin:0 auto;max-width:100%}.panel{background:#fff;border-radius:20px;padding:1.75rem;box-shadow:0 30px 80px #0f172a14}.week-planner{display:flex;flex-direction:column;gap:1rem}.week-card{border:1px solid rgba(148,163,184,.3);border-radius:18px;padding:1rem}.week-card header{font-weight:600;margin-bottom:.75rem}.week-table{display:flex;flex-direction:column;gap:.4rem}.week-table__header,.week-table__row{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:.35rem}.week-table__header span{display:flex;flex-direction:column;align-items:center;font-size:.75rem;color:#475569}.row-label{display:flex;align-items:center;font-size:.85rem;color:#475569}.plan-cell{border-radius:12px;border:1px dashed rgba(99,102,241,.3);background:#6366f10d;min-height:90px;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;gap:.5rem;padding:.5rem}.plan-cell.selected{border-color:#2563eb;background:#2563eb14}.plan-cell.filled{border-style:solid;background:#6366f126}.plan-cell__entries{display:flex;flex-wrap:wrap;gap:.35rem}.plan-pill{border:none;border-radius:999px;padding:.35rem .85rem;font-size:.8rem;cursor:pointer;background:#0f172a14;transition:transform .15s ease;display:inline-flex;align-items:center;gap:.25rem}.plan-pill:hover{transform:translateY(-1px)}.assign-chip{border:none;background:#2563eb26;color:#1d4ed8;border-radius:999px;padding:.25rem .75rem;font-size:.75rem;font-weight:600;align-self:flex-start;cursor:pointer}.app-hero{display:flex;justify-content:space-between;align-items:flex-start;padding:2rem;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;border-radius:24px;box-shadow:0 30px 80px #1e40af40;gap:2rem}.app-hero__text h1{margin:.25rem 0 .75rem;font-size:2rem}.app-hero__text p{color:#ffffffd9;margin:0}.eyebrow{text-transform:uppercase;letter-spacing:.2rem;font-size:.75rem;margin:0;color:#ffffffb3}.hero-controls{display:flex;align-items:center;gap:.75rem}.hero-controls button{background:#ffffff26;border:none;color:#fff;padding:.75rem 1.25rem;border-radius:999px;cursor:pointer}.hero-controls span{font-weight:600}.legend{display:flex;gap:.75rem;align-items:center}.main-nav{display:flex;gap:.75rem;background:#ffffffb3;padding:.5rem;border-radius:999px;align-self:flex-start}.main-nav button{border:none;background:transparent;padding:.5rem 1rem;border-radius:999px;cursor:pointer;font-weight:600;color:#475569}.main-nav button.active{background:#2563eb;color:#fff}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:.5rem}.calendar-grid__weekday{text-align:center;font-weight:600;color:#64748b}.calendar-grid__cell{border-radius:14px;background:#fff;border:1px solid rgba(148,163,184,.3);min-height:220px;display:flex;flex-direction:column;padding:.5rem;gap:.25rem}.calendar-grid__cell--muted{background:#f8fafc;color:#94a3b8}.calendar-grid__cell-header{font-weight:600}.calendar-grid__slot{border:1px dashed rgba(99,102,241,.4);border-radius:12px;background:#6366f114;padding:.35rem;display:flex;flex-direction:column;align-items:flex-start;gap:.3rem;text-align:left;cursor:pointer}.calendar-grid__slot--empty{opacity:.7}.calendar-grid__slot-label{font-size:.75rem;text-transform:uppercase;color:#64748b}.calendar-grid__slot-empty-text{font-size:.85rem;color:#94a3b8}.carb-stack{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .65rem;border-radius:.75rem;font-size:.8rem;font-weight:600}.carb-stack--1{background:#34d39926;color:#047857}.carb-stack--2{background:#fbbf2426;color:#92400e}.carb-stack--3{background:#f8717133;color:#b91c1c}.menu-form__header{display:flex;justify-content:space-between;align-items:center}.menu-form{display:flex;flex-direction:column;gap:.75rem}.menu-form input,.menu-form textarea,.menu-form select{width:100%;border-radius:10px;border:1px solid #d4d4d8;padding:.5rem .75rem}.menu-form__ingredients{border:1px solid #e2e8f0;border-radius:12px;padding:.75rem;background:#f8fafc;display:flex;flex-direction:column;gap:.5rem}.menu-form__ingredients-header{display:flex;justify-content:space-between;align-items:center}.menu-form__ingredients-columns{display:grid;grid-template-columns:2fr 1fr 1fr;font-size:.75rem;text-transform:uppercase;color:#94a3b8}.menu-form__ingredient-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:.35rem}.menu-form__ingredient-row select{border-radius:10px;border:1px solid #d4d4d8;padding:.4rem .5rem;background:#fff}.menu-list ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.menu-list__add{border-radius:999px;padding:.6rem 1.5rem;letter-spacing:.01em}.menu-list__add:before{content:"+";font-weight:700;font-size:1.2rem;margin-right:.35rem}.menu-list__header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.menu-list__header p{margin:.15rem 0 0;color:#64748b;font-size:.9rem}.menu-card{border:1px solid #e2e8f0;border-radius:12px;padding:0;display:flex;flex-direction:column;overflow:hidden;background:#fff}.menu-card__toggle{border:none;background:transparent;padding:.9rem 1rem;display:flex;justify-content:space-between;align-items:center;gap:.75rem;width:100%;cursor:pointer}.menu-card__toggle>div{display:flex;flex-direction:column;align-items:flex-start}.chevron{font-size:1.25rem;color:#1d4ed8;font-weight:600}.menu-card__toggle h3{margin:0;font-size:1rem}.menu-card__toggle .carb-stack{margin-top:.35rem}.menu-card--accordion.open{box-shadow:0 12px 35px #0f172a14}.menu-card__details{border-top:1px solid rgba(148,163,184,.3);padding:1rem;display:flex;flex-direction:column;gap:.75rem}.menu-card__recipe-label{text-transform:uppercase;font-size:.7rem;letter-spacing:.08em;color:#94a3b8;margin:0}.menu-card__recipe-copy{margin:0;color:#0f172a;white-space:pre-line}.menu-card__details-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem}.menu-card__ingredients-wrapper{width:100%}.menu-card__ingredients{list-style:none;margin:.25rem 0 0;padding:0;display:flex;flex-direction:column;gap:.2rem}.menu-card__ingredients li{display:flex;justify-content:space-between;font-size:.9rem}.menu-card__actions{display:flex;flex-direction:column;gap:.25rem}.menu-card__actions--inline{flex-direction:row;gap:.5rem}.menu-card__actions--inline button{flex:1;width:auto}.filter-chip{border:none;border-radius:999px;padding:.35rem .9rem;background:#6366f11f;color:#1d4ed8;cursor:pointer}.filter-chip.active{background:#1d4ed8;color:#fff}.filter-chip.carb-stack{border-radius:999px}.menu-card__actions button{width:100%;border:none;border-radius:10px;padding:.5rem;cursor:pointer}.primary{border:none;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;padding:.65rem 1.5rem;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;font-weight:600;box-shadow:0 12px 25px #4f46e559;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}.primary:hover{transform:translateY(-1px);box-shadow:0 18px 30px #4f46e573}.primary:active{transform:translateY(0);box-shadow:0 10px 18px #4f46e559;filter:brightness(.98)}.menu-form .primary{width:100%}.ghost{border:1px solid rgba(37,99,235,.25);background:#2563eb14;color:#1d4ed8;border-radius:12px;padding:.45rem 1rem;font-weight:600;transition:background .2s ease,border-color .2s ease}.ghost:hover{background:#2563eb24;border-color:#2563eb66}.danger{background:#ef44441a;color:#b91c1c}.shopping-header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.week-picker{display:flex;align-items:center;gap:.5rem;background:#2563eb1a;border-radius:999px;padding:.35rem .75rem}.week-picker span{font-weight:600;color:#1d4ed8}.week-picker button{border:none;background:#fff;color:#1d4ed8;border-radius:999px;width:30px;height:30px;cursor:pointer}.shopping-list{margin:1.5rem 0 0;list-style:none;padding:0;display:flex;flex-direction:column;gap:.5rem}.shopping-list li{display:flex;justify-content:space-between;border:1px solid #e2e8f0;border-radius:12px;padding:.65rem 1rem;font-weight:600;color:#0f172a;align-items:center;gap:1rem;transition:background .2s ease,border-color .2s ease}.shopping-list li.checked{border-color:#2563eb4d;background:#2563eb0f}.shopping-list__item{display:flex;align-items:center;gap:.65rem;color:inherit;font-weight:500;cursor:pointer}.shopping-list__item input{display:none}.shopping-list__name{font-weight:600}.checkbox{width:22px;height:22px;border-radius:8px;border:2px solid rgba(30,64,175,.4);display:inline-flex;align-items:center;justify-content:center;position:relative;transition:all .2s ease}.checkbox--checked{background:linear-gradient(135deg,#2563eb,#7c3aed);border-color:transparent;box-shadow:0 6px 16px #4f46e559}.checkbox__mark{width:8px;height:14px;border-right:2px solid white;border-bottom:2px solid white;transform:rotate(45deg);opacity:0;transition:opacity .2s ease}.checkbox--checked .checkbox__mark{opacity:1}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;justify-content:center;align-items:center;padding:1rem}.assign-modal{background:#fff;border-radius:24px;width:min(520px,100%);max-height:85vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 40px 120px #0f172a4d}.assign-modal header{padding:1.25rem 1.5rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(148,163,184,.3)}.assign-modal__filters{padding:.75rem 1.5rem;border-bottom:1px solid rgba(148,163,184,.2);display:flex;flex-direction:column;gap:.5rem}.assign-modal__filters span{font-size:.85rem;color:#475569;font-weight:600}.assign-modal__chips{display:flex;flex-wrap:wrap;gap:.4rem}.assign-modal header button{border:none;background:#6366f11a;color:#4338ca;padding:.35rem .75rem;border-radius:999px;cursor:pointer}.assign-modal__list{padding:1rem 1.5rem 1.5rem;overflow-y:auto;display:flex;flex-direction:column;gap:.5rem}.assign-modal__servings{padding:.75rem 1.5rem;border-bottom:1px solid rgba(148,163,184,.2);display:flex;flex-direction:column;gap:.35rem}.servings-stepper{display:inline-flex;align-items:center;gap:.6rem;border:1px solid rgba(148,163,184,.6);border-radius:999px;padding:.15rem .5rem;width:max-content}.servings-stepper button{border:none;background:#2563eb1a;color:#1d4ed8;width:32px;height:32px;border-radius:50%;font-size:1.1rem;font-weight:600;cursor:pointer}.servings-stepper span{min-width:24px;text-align:center;font-weight:600;color:#0f172a}.assign-modal__servings-hint{color:#94a3b8;font-size:.75rem}.recipe-modal__servings{padding:0 1.5rem 1.5rem;display:flex;flex-direction:column;gap:.45rem}.recipe-modal__servings .servings-stepper{border:1px solid rgba(148,163,184,.6)}.recipe-modal__servings .primary{align-self:flex-start}.assign-modal__list article{display:flex;justify-content:space-between;align-items:center;border:1px solid #e2e8f0;border-radius:14px;padding:.75rem 1rem}.assign-modal__list article button{border:none;border-radius:10px;padding:.35rem .85rem;cursor:pointer}.recipe-modal{background:#fff;border-radius:24px;width:min(600px,100%);max-height:90vh;display:flex;flex-direction:column;box-shadow:0 40px 120px #0f172a59}.recipe-modal header,.recipe-modal footer{padding:1.25rem 1.5rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}.recipe-modal header{border-bottom:1px solid rgba(148,163,184,.3)}.recipe-modal header button,.recipe-modal footer button{border:none;border-radius:999px;padding:.4rem 1rem;cursor:pointer}.recipe-modal header button{background:#6366f11a;color:#4338ca}.recipe-modal__body{padding:1rem 1.5rem 0;overflow-y:auto;display:flex;flex-direction:column;gap:1rem}.recipe-modal__ingredients ul{list-style:none;padding:0;margin:.25rem 0 0;display:flex;flex-direction:column;gap:.35rem}.recipe-modal__ingredients li{display:flex;justify-content:space-between;border:1px solid #e2e8f0;border-radius:10px;padding:.45rem .75rem}.recipe-modal footer{border-top:1px solid rgba(148,163,184,.3)}.menu-modal{background:#fff;border-radius:24px;width:min(640px,100%);max-height:90vh;display:flex;flex-direction:column;box-shadow:0 40px 120px #0f172a4d}.menu-modal header{padding:1.5rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(148,163,184,.3)}.menu-modal header button{border:none;background:#6366f114;color:#4338ca;border-radius:999px;padding:.4rem .95rem;cursor:pointer}.menu-modal__body{padding:1.25rem 1.5rem 1.5rem;overflow-y:auto}.month-selector button{border-radius:50%;width:40px;height:40px;border:none;background:#e2e8f0;cursor:pointer}@media (max-width: 900px){.layout__body,.layout__body--single{grid-template-columns:1fr;justify-content:stretch}.panel--calendar{grid-column:1}.panel{padding:1.25rem}.layout__body--single .panel{width:100%}}@media (max-width: 768px){.layout{padding:1rem;gap:1rem}.app-hero{flex-direction:column;padding:1.25rem}.main-nav{width:100%;border-radius:16px;flex-wrap:nowrap}.main-nav button{flex:1;text-align:center}.legend{flex-wrap:wrap}.week-planner{gap:.75rem}.week-card{padding:.75rem}.week-table{overflow-x:auto}.week-table__header,.week-table__row{grid-template-columns:repeat(8,minmax(110px,1fr))}.menu-list__header,.shopping-header{flex-direction:column;align-items:flex-start}.shopping-list li{flex-direction:column;align-items:flex-start;gap:.35rem}.modal-overlay{padding:0}.assign-modal,.menu-modal,.recipe-modal{width:100%;max-height:none;height:100vh;border-radius:0}}
