.recipe-facts {display:grid;grid-template-columns:1.15fr 1.2fr 1fr 1fr 1fr;border:1px solid #d6dfcf;border-radius:16px;background:#f7faf3;margin:0 0 13px;overflow:hidden}
.recipe-facts>div {min-width:0;padding:14px 16px;border-left:1px solid #dbe1d4;display:flex;flex-direction:column;justify-content:center;gap:5px}
.recipe-facts>div:first-child {border-left:0}.recipe-facts .metric-name {display:flex;align-items:center;gap:5px;font-weight:650;line-height:1.15;font-size:.82rem;color:#495643}
.recipe-facts .metric-name svg {width:16px;height:16px}.recipe-facts strong {font-size:clamp(1.16rem,1.9vw,1.55rem);line-height:1.15;letter-spacing:-.035em;color:#253e2b}
.recipe-facts small {font-size:.8rem;line-height:1.25;color:#586153}.recipe-facts .score-value {display:flex;align-items:center;gap:7px}
.letter-grade {display:inline-grid;place-items:center;width:37px;height:31px;border-radius:7px;background:#dce6d7;color:#174628;font:800 1.35rem/1 var(--sans)}
.letter-grade.b {background:#d9eab0;color:#284a0b}.letter-grade.c {background:#ffe29a;color:#60470a}.letter-grade.d {background:#ffcc9a;color:#6f3409}.letter-grade.e {background:#f3b9b5;color:#75251f}.letter-grade.unknown {background:#e3e4df;color:#414339}
.nutrition-detail {margin:0 0 16px;padding:0 3px;color:#40513f}.nutrition-detail summary {font-weight:650;width:fit-content;max-width:100%;padding:3px 0 7px;font-size:.92rem;cursor:pointer}
.nutrition-detail .nutrition-columns {display:grid;grid-template-columns:minmax(250px,1fr) minmax(230px,1fr);gap:22px;max-width:900px;padding:12px 0 16px}
.nutrition-columns table {width:100%;border-collapse:collapse;font-size:.91rem}.nutrition-columns th,.nutrition-columns td {padding:5px 7px;border-bottom:1px solid #dce0d5;text-align:right}.nutrition-columns td:first-child,.nutrition-columns th:first-child{text-align:left}
.nutrition-columns p,.nutrition-columns details {font-size:.89rem;line-height:1.5;margin-bottom:7px}.nutrition-columns a,.sheet-feedback a {color:#23543a;text-decoration:underline;text-underline-offset:3px;font-weight:700}
.nutrition-columns ul {padding-left:20px;margin:4px 0}.sheet-actions {margin:16px 0 4px}.sheet-actions .sheet-button {font-size:.91rem}
.sheet-feedbox {margin:10px 0}.sheet-feedback {line-height:1.5;padding:10px 14px;margin:0 0 10px;background:#e5efdf;color:#294530;border-radius:9px}
.sheet-toplinks {display:flex;align-items:center;gap:2px}.rating-set {display:flex;align-items:center;flex-wrap:wrap;gap:2px 8px;margin:12px 0 0;padding:4px 0 0;border:0}
.rating-set legend {font-size:.88rem;font-weight:700;color:#40513e;padding:0}.star-options {display:inline-flex;align-items:center}.star-options label {position:relative;display:grid;place-items:center;min-width:36px;min-height:42px;cursor:pointer}
.star-options input {position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.star-options label span {font:1.7rem/1 Arial,sans-serif;color:#746747}
.star-options span.gold,.star-options label:hover span {color:#93600a}.star-options input:focus-visible+span {outline:3px solid #327669;border-radius:4px}
.rating-value,.rating-set .link-btn {font-size:.83rem}.hub-links {display:flex;flex-wrap:wrap;gap:8px}.hub-links .btn {font-size:.9rem}
#view-menu {max-width:1190px}.planner-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0 20px}
.planner-heading h1 {font-size:clamp(2.5rem,6vw,4.8rem)}.planner-heading h1 em{font-weight:normal;color:#325d43}.planner-sub {color:#536050;font-size:1rem;margin-top:5px}
.plan-settings {display:flex;flex-wrap:wrap;gap:9px 16px;align-items:center;background:#f4f5ed;border:1px solid #dedfd3;border-radius:13px;padding:10px 13px;margin-bottom:13px}
.plan-settings label,.slot-controls label,.plan-dialog label {font-size:.94rem;font-weight:650;display:flex;align-items:center;gap:7px}
.plan-settings select,.slot-controls select,.slot-controls input,.plan-dialog input {background:#fffdf7;border:1px solid #bbc7b4;border-radius:8px;padding:8px;min-height:40px}
.plan-settings select {padding-right:8px}.plan-settings .btn {min-height:41px}.plan-settings .generate-group {display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.week-nav {display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:13px 0}
.week-nav h2 {font:650 clamp(1.02rem,1.65vw,1.4rem)/1.25 var(--sans);letter-spacing:-.04em}
.week-arrow,.week-today {border:1px solid #cdd6c6;background:#fffdf7;color:#244832;border-radius:9px;min-height:42px;min-width:42px;display:grid;place-items:center}
.week-arrow.next svg {transform:rotate(180deg)}.week-today {margin-left:4px;padding:0 11px;font-weight:650;font-size:.9rem}
.week-nav button:hover,.slot-empty:hover,.period-choice:hover {background:#e8efe2}
.plan-grid {background:#fffdf8;border:1px solid #d6dbce;border-radius:16px;overflow:hidden}
.plan-weekhead,.meal-row {display:grid;grid-template-columns:minmax(96px,.88fr) repeat(7,minmax(0,1fr))}
.plan-weekhead {background:#e9efe2}.grid-date {display:flex;gap:6px;justify-content:center;align-items:baseline;padding:12px 2px;color:#435640}
.grid-date b {text-transform:capitalize;font-size:.96rem}.grid-date span {font-size:.87rem}.grid-date.is-today {background:#d6e6cb;color:#203f27}
.meal-row {border-top:1px solid #dce0d6;--tint:#f5e9cf;--tone:#6e5319}
.meal-row.midi,.period-choice.midi {--tint:#e1ecd9;--tone:#2f5730}.meal-row.gouter,.period-choice.gouter {--tint:#f5e4df;--tone:#7b4139}.meal-row.soir,.period-choice.soir {--tint:#e6e6f1;--tone:#4c456b}
.meal-row-title {padding:12px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#f8f8f0;text-align:center}
.meal-row-title i,.period-choice>span {font:1.35rem/1 Georgia,serif;background:var(--tint,#f5e9cf);color:var(--tone,#6e5319);width:31px;height:31px;display:grid;place-items:center;border-radius:9px}
.meal-row-title strong {font-size:.9rem;line-height:1.2;overflow-wrap:anywhere}
.plan-cell {padding:7px;border-left:1px solid #e1e2d7;min-height:89px;display:flex;flex-direction:column;min-width:0;gap:5px}
.plan-cell.filled {background:color-mix(in srgb,var(--tint) 24%,white)}.slot-empty {display:flex;align-items:center;justify-content:center;gap:3px;flex:1;padding:6px 1px;border:1px dashed #cbd3c2;border-radius:8px;color:#53634e;background:transparent;font-weight:600;font-size:.84rem;min-height:43px}
.slot-empty svg {width:14px}.slot-dish,.slot-edit {background:transparent;border:0;text-align:left;padding:2px;color:#253a29}.slot-dish {font-weight:720;font-size:.92rem;line-height:1.3;overflow-wrap:anywhere}
.plan-cell>span {font-size:.81rem;color:#5a6255}.slot-edit {width:fit-content;color:var(--tone);font-size:.82rem;font-weight:650;text-decoration:underline;min-height:32px}.day-rail{display:none}
.period-options {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 12px}
.period-choice {display:flex;align-items:center;text-align:left;gap:8px;padding:8px;background:#fffcf6;border:1px solid #d6dacd;border-radius:10px;font-size:.93rem;font-weight:650;min-height:45px}
.period-choice[aria-pressed=true] {border-color:#315842;background:#e9f1e3;box-shadow:inset 0 0 0 1px #315842}
.plan-dialog .modal-body>p,.plan-dialog label {margin-bottom:10px}.plan-dialog .period-legend {font-weight:700;font-size:.95rem}.plan-dialog .modal-body>.btn {margin-top:2px}
.slot-controls {padding:0 17px 10px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.slot-controls input {max-width:100%;width:215px}
.direct-extras {font-size:.93rem;line-height:1.5;margin:13px 0;color:#3b503c}.direct-extras summary {font-weight:700}.direct-extras>div {display:flex;justify-content:space-between;align-items:center;padding:6px 0}
@media(max-width:840px){
 .plan-grid .plan-weekhead{display:none}.day-rail{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:12px 0}
 .day-rail button{display:grid;place-items:center;gap:2px;padding:6px 1px;border:1px solid #d4dbcc;border-radius:9px;background:#fffdf6;color:#3d543c;min-height:46px}
 .day-rail button span{text-transform:capitalize;font-size:.77rem}.day-rail button[aria-pressed=true]{background:#284d36;color:white}
 .meal-row{grid-template-columns:106px 1fr}.plan-cell:not(.mobile-active){display:none}.plan-cell{min-height:65px}
 .meal-row-title{flex-direction:row;justify-content:flex-start;padding-left:9px}.meal-row-title i{width:23px;height:23px;font-size:1rem}.meal-row-title strong{font-size:.83rem}
 .recipe-facts>div{padding:10px 9px}.sheet-toplinks .sheet-tool{padding-inline:5px}
}
@media(max-width:650px){
 .sheet-tools{flex-wrap:wrap;gap:1px}.sheet-toplinks {max-width:100%;flex-wrap:wrap}.sheet-tool.print-sheet{display:none}
 .recipe-facts{grid-template-columns:repeat(6,minmax(0,1fr));border-radius:12px;margin-bottom:7px}
 .recipe-facts>div{grid-column:span 2;padding:8px 7px;border-top:1px solid #dbe1d4;gap:3px}
 .recipe-facts>div:nth-child(-n+2){grid-column:span 3;border-top:0}.recipe-facts>div:nth-child(3){border-left:0}
 .recipe-facts .metric-name{font-size:.77rem}.recipe-facts small{font-size:.76rem}.recipe-facts strong{font-size:1.18rem}
 .nutrition-detail{margin-bottom:6px}.nutrition-detail .nutrition-columns{grid-template-columns:1fr;gap:7px}
 .sheet-actions{margin-top:10px}.sheet-actions .sheet-button{flex:1;padding:9px 7px;font-size:.83rem}
 .plan-settings{padding:9px}.week-nav{gap:5px}.week-nav h2{font-size:1rem}.week-arrow{min-width:36px}.week-today{padding:0 6px;font-size:.8rem}
}
@media print{.sheet-toplinks,.sheet-feedbox,.rating-set,.nutrition-detail,.hub-links{display:none!important}.recipe-facts{break-inside:avoid;margin-bottom:8px}.recipe-facts>div{padding:5px 7px}}

.ingredient-list>li {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
.ingredient-list .ingredient-line {grid-template-columns:22px minmax(0,1fr);gap:1px 8px;min-width:0;padding:9px 0}
.ingredient-line .tick-box {grid-column:1;grid-row:1 / 3}
.ingredient-line .ingredient-name,.ingredient-list .ingredient-line b {grid-column:2;overflow-wrap:anywhere}
.ingredient-list .ingredient-line b {text-align:left;font-size:.88rem;color:#4a594a}
.ingredient-add {display:inline-flex;align-items:center;justify-content:center;gap:3px;min-height:44px;min-width:86px;padding:6px 8px;border:1px solid #879d86;border-radius:9px;background:#fffdf7;color:#245333;font:650 .88rem var(--sans);cursor:pointer}
.ingredient-add:hover,.ingredient-add:focus-visible {background:#e3eddd;border-color:#36613e}
.ingredient-add[aria-disabled=true] {background:#e3eddd;border-color:#c5d4bd;cursor:default}
.ingredient-add svg {width:16px;height:16px;flex:none}
.ingredient-status {margin:10px 0;font-size:.92rem}
.ingredient-status a {display:flex;align-items:center;width:fit-content;min-height:40px;white-space:nowrap}
.ingredient-to-cart {margin-top:13px}
.demo-link {display:block;margin-top:5px;min-height:44px;text-align:left}
#ingredient-video-dialog {width:min(920px,calc(100vw - 22px));max-height:92dvh;overflow:auto}
#ingredient-video-dialog video {width:100%;height:auto;max-height:68dvh;display:block;background:#203a2d;aspect-ratio:16/9}
#ingredient-video-dialog.selection-demo {width:min(720px,68dvh,calc(100vw - 22px))}
#ingredient-video-dialog.selection-demo video {aspect-ratio:1}
#picker-hint {margin:7px 0 2px;font-size:.96rem}
#ingredient-video-text {padding:12px 18px;font-size:.95rem;margin:0}
#ingredient-picker {width:min(470px,calc(100vw - 22px));max-height:90dvh;overflow:auto;border-radius:17px}
#ingredient-picker .modal-head h2 {font-size:clamp(1.35rem,4vw,1.75rem)}
#ingredient-picker .modal-body {padding-top:10px}
#picker-scope,.item-extras small {color:#505e4e}
#picker-scope {font-size:.94rem;line-height:1.4;margin:0 0 7px}
.picker-tools {display:flex;flex-wrap:wrap;gap:8px 17px}
.picker-tools .link-btn {min-height:40px}
#picker-items {border:0;padding:0;margin:0;min-width:0}
#picker-items label {display:grid;grid-template-columns:21px minmax(0,1fr) auto;align-items:center;column-gap:9px;border-top:1px solid #e0e3d6;min-height:48px;margin:0;padding:5px 2px;cursor:pointer}
#picker-items input {height:19px;width:19px;margin:0;accent-color:#2b5336}
#picker-items b {text-align:right;color:#3b533d;font-size:.93rem}
#ingredient-picker .modal-footer {align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
#ingredient-picker .modal-footer small {font-size:.9rem;color:#485647}
.item-extras small {display:block;font-size:.85rem}.item-extras button {min-height:42px}
@media print {.ingredient-add,.ingredient-status,.ingredient-to-cart,.demo-link{display:none!important}.ingredient-list>li{display:block}.ingredient-list .ingredient-line{display:flex;justify-content:space-between;padding:4px 0}}
