@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Literata:wght@400;500;600&display=swap');
.top-inner{flex-wrap:wrap}.top nav{flex-wrap:wrap}.brand{white-space:nowrap;flex-shrink:0}
:root{font-family:'DM Sans',system-ui,sans-serif;color:#23332f;background:#f6f7f3;font-synthesis:none;--green:#205646;--line:#dce2db;--muted:#65716a}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ce8a35;outline-offset:3px}button{border:1px solid var(--line);background:white;color:#23332f;border-radius:8px;padding:11px 17px;font-weight:600}button:hover{background:#eaf0ea}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#163d32}.danger{color:#a32929}.quiet{border:0;background:transparent;padding:8px}.top{border-bottom:1px solid var(--line);background:white}.top-inner{max-width:1280px;padding:23px 40px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:15px}.brand{font-family:Literata,Georgia,serif;font-size:26px;letter-spacing:-1px;text-decoration:none;color:#23332f}.brand-mark{color:var(--green);margin-right:9px;font-family:Georgia;font-size:30px}.top nav{display:flex;align-items:center;gap:18px}.top nav a{font-size:15px;text-decoration:none;font-weight:600}.eyebrow{font-size:12px;letter-spacing:1.7px;text-transform:uppercase;font-weight:700;color:var(--green)}.preview{background:#edf1e9;border-bottom:1px solid #d4ddce;text-align:center;padding:9px 16px;font-size:13px;color:#465642}.preview strong{font-weight:700}.shell{max-width:1280px;margin:auto;padding:38px 40px 80px}.heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}h1,h2,h3{font-family:Literata,Georgia,serif;font-weight:500}h1{font-size:42px;line-height:1.2;letter-spacing:-1.5px;margin:9px 0 12px}h2{font-size:26px;letter-spacing:-.5px;margin:0 0 18px}h3{font-size:19px;margin:25px 0 12px}p{line-height:1.65;margin:0 0 18px}.muted{color:var(--muted)}.small{font-size:14px}.search{max-width:460px;width:100%;position:relative}.search input{padding:14px 18px;width:100%;background:white;border:1px solid var(--line);border-radius:9px}.filters{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0 28px}.filters button{border-radius:30px;font-weight:500;font-size:14px;padding:8px 16px}.filters .active{background:var(--green);color:white;border-color:var(--green)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white;text-decoration:none;color:inherit;transition:transform .18s,box-shadow .18s}.card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #23332f13}.card-image{height:225px;width:100%;object-fit:cover}.card-no-image{height:225px;background:#e9eee6;display:flex;align-items:center;justify-content:center;color:#768472;font-family:Literata,serif;font-size:28px}.card-body{padding:24px;flex:1}.card h2{font-size:24px;margin:10px 0}.card p{font-size:15px;color:var(--muted)}.card-meta{border-top:1px solid var(--line);padding-top:16px;display:flex;gap:18px;color:var(--muted);font-size:14px}.pill{display:inline-block;background:#edf2ec;border-radius:4px;color:#446344;padding:4px 8px;font-size:12px;font-weight:600}.crumb{display:inline-block;margin-bottom:26px;text-decoration:none;font-size:14px;color:var(--muted)}.recipe-header{display:grid;grid-template-columns:1fr 320px;gap:48px;align-items:center;padding-bottom:30px;border-bottom:1px solid var(--line)}.recipe-header h1{max-width:650px}.recipe-photo{width:100%;height:230px;object-fit:cover;border-radius:12px}.recipe-meta{display:flex;flex-wrap:wrap;gap:0;margin-top:25px}.recipe-meta div{padding:0 26px;border-right:1px solid var(--line)}.recipe-meta div:first-child{padding-left:0}.recipe-meta div:last-child{border:0}.recipe-meta span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:5px}.recipe-meta strong{font-size:17px;font-weight:500}.cook-bar{display:flex;justify-content:space-between;align-items:center;padding:22px 0;gap:12px}.cook-toggle{display:flex;align-items:center;gap:8px;font-size:14px}.cook-layout{display:grid;grid-template-columns:370px 1fr;gap:54px;align-items:start}.ingredients{background:white;border:1px solid var(--line);border-radius:12px;padding:28px}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.section-title h2{margin-bottom:6px}.section-title button{padding:0;font-size:13px;color:var(--green);text-decoration:underline}.progress{height:4px;background:#e6ece3;border-radius:4px;margin:13px 0 24px}.progress div{height:100%;background:var(--green);transition:width .2s}.ingredient{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #edf0eb;padding:12px 0;line-height:1.55;font-size:16px;cursor:pointer}.ingredient:last-child{border:0}.ingredient input{appearance:none;flex:0 0 20px;width:20px;height:20px;margin:3px 0 0;border:1.5px solid #a7b6a8;border-radius:4px;cursor:pointer}.ingredient input:checked{background:var(--green);border-color:var(--green)}.ingredient input:checked:after{content:'✓';display:block;color:white;font-size:15px;line-height:17px;text-align:center}.ingredient:has(input:checked) .ingredient-text{color:#89938b;text-decoration:line-through}.ingredient em{display:block;font-style:normal;color:var(--muted);font-size:14px}.steps{list-style:none;padding:0;margin:0;counter-reset:step}.steps li{display:flex;gap:20px;margin:0 0 26px;padding-bottom:26px;border-bottom:1px solid var(--line);line-height:1.8;font-size:17px}.step-number{flex:0 0 34px;height:34px;border-radius:50%;background:#e5ece3;color:var(--green);text-align:center;line-height:34px;font-size:15px;font-weight:600;margin-top:3px}.notes{border-left:3px solid #b5c4a6;background:#edf1e8;padding:20px 24px;margin-top:28px}.notes h3{margin:0 0 8px}.source{font-size:14px;margin-top:30px;color:var(--muted)}.warning{background:#fff0cf;color:#745000;padding:14px 18px;border-radius:8px;font-size:14px;margin:18px 0}.panel{max-width:760px;margin:0 auto;background:white;border:1px solid var(--line);border-radius:12px;padding:32px}.auth{max-width:440px;margin:55px auto}.field{display:block;margin:18px 0}.field span{display:block;font-size:14px;font-weight:600;margin-bottom:8px}input,textarea{border:1px solid #bfcbbf;border-radius:7px;padding:12px;width:100%;color:#23332f;background:white}input[type=checkbox]{width:auto}textarea{font-family:ui-monospace,monospace;font-size:14px;min-height:360px;resize:vertical}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.errors{color:#a32929;line-height:1.6}.review-card{border:1px solid var(--line);padding:20px;border-radius:8px;margin-top:20px}.empty{padding:50px 20px;text-align:center;background:white;border:1px dashed var(--line);border-radius:12px}.footer{border-top:1px solid var(--line);padding-top:22px;margin-top:45px;display:flex;justify-content:space-between;gap:15px;font-size:13px;color:var(--muted)}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:min(550px,90vw);background:#243b31;color:white;border-radius:9px;padding:14px 20px;box-shadow:0 5px 20px #0002;z-index:10;display:none}body.cooking .top{display:none}body.cooking .steps li{font-size:21px}body.cooking .ingredient{font-size:18px}body.cooking .recipe-header{grid-template-columns:1fr}body.cooking .recipe-photo{display:none}@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.cook-layout{grid-template-columns:320px 1fr;gap:28px}.recipe-header{grid-template-columns:1fr 240px;gap:24px}.shell{padding:28px 24px 60px}.top-inner{padding:20px 24px}.heading{display:block}.search{margin-top:24px;max-width:none}}@media(max-width:650px){.top-inner{padding:17px 20px}.brand{font-size:22px}.top nav{gap:8px}.top nav a{font-size:14px}.top nav button{padding:7px 10px;font-size:13px}.shell{padding:26px 20px 50px}h1{font-size:34px}.heading{margin-bottom:20px}.grid{grid-template-columns:1fr}.card-image,.card-no-image{height:205px}.recipe-header{display:block}.recipe-photo{display:none}.recipe-meta div{padding:0 18px}.cook-layout{display:flex;flex-direction:column;gap:32px}.ingredients,.instructions{width:100%}.ingredients{padding:22px}.steps li{font-size:17px;gap:14px}.panel{padding:23px}.auth{margin:30px auto}.footer{flex-direction:column}.cook-bar{align-items:flex-start}.preview{font-size:12px}.recipe-meta{gap:12px 0}}

/* Keep cooking checkboxes separate from text-field sizing. */
.ingredient{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;min-height:48px}
.ingredient input[type=checkbox]{appearance:none;display:block;box-sizing:border-box;width:22px;height:22px;min-width:22px;min-height:22px;padding:0;margin:2px 0 0;line-height:normal;align-self:start}
.ingredient input[type=checkbox]:checked:after{line-height:19px;font-size:16px}
.ingredient-text{min-width:0;overflow-wrap:anywhere}
.card-media{height:225px;overflow:hidden;background:#e9eee6}
.card-media .card-image{display:block;height:100%}
.uploaded-photo{object-fit:contain;background:#e9eee6}
.recipe-photo-link{display:block;min-width:0;text-decoration:none;text-align:center}
.recipe-photo-link .recipe-photo{display:block}
.recipe-photo-link span{display:block;margin-top:8px}
.recipe-header:has(.recipe-photo-link) .recipe-photo{height:230px}
.recipe-header:not(:has(.recipe-photo,.recipe-photo-link)){grid-template-columns:1fr}
.card-meta{flex-wrap:wrap;gap:8px 18px}
.section-title{flex-wrap:wrap}
body.cooking .recipe-photo-link{display:none}
@media(max-width:650px){.card-media{height:205px}.recipe-photo-link{margin-top:24px}.recipe-photo-link .recipe-photo{display:block;max-height:200px}.recipe-header:has(.recipe-photo-link) .recipe-photo{height:200px}body.cooking .recipe-photo-link{display:none}}
