:root{--ink:#172b3a;--muted:#63727c;--line:#dce3e7;--paper:#f3f6f8;--orange:#c35426;--mint:#daf0e9;--white:#fff;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);padding:11px 16px;font-weight:600}button:hover{border-color:var(--ink)}button:disabled{opacity:.5;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f8b671;outline-offset:3px}header{height:92px;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,20px);background:var(--ink);color:white}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;font-size:28px;font-weight:700;letter-spacing:-1px}.brandmark{background:#f5a66b;color:var(--ink);border-radius:12px;display:grid;place-items:center;width:48px;height:48px;font-family:Georgia,serif;font-size:40px;letter-spacing:-3px;padding-right:4px}.brand-sub{display:block;font-size:10px;letter-spacing:2px;font-weight:500;color:#b9c8d1;margin-top:3px}.header-actions{display:flex;gap:12px;align-items:center}.quiet{background:transparent;border-color:#5c6d77;color:inherit}.network{font-size:14px;color:#f5b891}main{max-width:1240px;margin:0 auto;padding:42px 28px 64px;min-height:70vh}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:var(--orange);text-transform:uppercase}h1{font-family:Georgia,'Times New Roman',serif;letter-spacing:-1.8px;font-weight:400;font-size:clamp(36px,5vw,58px);line-height:1.08;margin:12px 0 16px}h2{font-family:Georgia,serif;font-size:28px;font-weight:400;margin:0 0 20px}h3{font-size:16px;margin:24px 0 12px}.intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.intro p{color:var(--muted);margin:0;line-height:1.6}.collection-count{text-align:right;white-space:nowrap;font-size:14px;color:var(--muted)}.collection-count strong{font-family:Georgia,serif;font-weight:400;font-size:40px;color:var(--ink);display:block}.toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:20px}.search{width:360px;max-width:100%;position:relative}.search input{width:100%;padding:14px 18px;background:white}.filters{display:flex;flex-wrap:wrap;gap:8px}.filters button{border:0;background:transparent;font-weight:500}.filters button.active{background:var(--ink);color:white}.results-line{font-size:14px;color:var(--muted);margin:0 0 16px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:white;border:1px solid var(--line);border-radius:16px;text-decoration:none;display:flex;flex-direction:column;min-height:230px;padding:24px;transition:transform .15s,border-color .15s}.card:hover{transform:translateY(-3px);border-color:#889da8}.card-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}.recipe-symbol{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-size:20px;background:#edf3f6}.card h2{font-size:27px;line-height:1.2;margin:20px 0 12px;letter-spacing:-.5px}.tags{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.tag{font-size:12px;color:var(--muted);padding:4px 8px;background:var(--paper);border-radius:5px}.card-foot{margin-top:auto;padding-top:16px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;font-size:14px;color:var(--muted)}.protein{color:#246754;font-weight:650}.back{display:inline-block;color:var(--muted);text-decoration:none;margin-bottom:24px;font-size:14px}.detail-header{display:flex;justify-content:space-between;gap:20px;align-items:start}.detail-actions{display:flex;gap:8px;flex-wrap:wrap}.detail-info{color:var(--muted);font-size:14px;margin:0 0 24px}.macro-panel{display:flex;align-items:center;background:var(--ink);color:white;border-radius:14px;padding:24px 28px;gap:28px;margin-bottom:24px}.macro-item{flex:1}.macro-item strong{display:block;font-family:Georgia,serif;font-size:30px;font-weight:400}.macro-item span{font-size:12px;color:#c0cfd7}.macro-item.featured strong{color:#a3dfc9}.macro-caption{max-width:160px;color:#c0cfd7;font-size:13px;line-height:1.5}.adjust{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:28px}.adjust-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.adjust-header h2{font-family:inherit;font-size:16px;font-weight:650;margin:0}.adjust-grid{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:24px}.adjust label{font-size:14px;font-weight:650;display:block}.help{font-size:12px;color:var(--muted);line-height:1.5;margin:8px 0 0}.stepper{display:flex;gap:0;margin-top:9px}.stepper button{border-radius:8px 0 0 8px;padding:9px 13px}.stepper button:last-child{border-radius:0 8px 8px 0}.stepper input{width:68px;min-width:0;text-align:center;border-radius:0;border-left:0;border-right:0}.anchor-row{display:flex;gap:8px;margin-top:9px}.anchor-row select{min-width:0;width:65%}.anchor-row input{width:35%}.detail-columns{display:grid;grid-template-columns:1.05fr 1fr;gap:28px}.ingredients,.method{background:white;border:1px solid var(--line);border-radius:14px;padding:28px}.ingredient{display:flex;gap:12px;align-items:center;border-bottom:1px solid #edf0f2;padding:14px 0;min-height:56px}.ingredient:last-child{border-bottom:0}.ingredient input[type=checkbox]{width:19px;height:19px;accent-color:var(--orange);flex:none}.ingredient .name{flex:1;line-height:1.5}.ingredient.checked .name{text-decoration:line-through;color:var(--muted)}.amount{white-space:nowrap;font-size:14px;font-weight:600}.ingredient-quantity{width:75px!important;text-align:right;padding:7px!important;font-size:14px!important}.unit{font-size:12px;min-width:20px;color:var(--muted)}.small-button{padding:7px 10px;font-size:12px;font-weight:500}.method p,.method li{line-height:1.7}.empty-steps{padding:18px;background:var(--paper);border-radius:8px;color:var(--muted);font-size:14px;line-height:1.6}.note{font-size:13px;color:var(--muted);line-height:1.65}.macro-warning{font-size:13px;line-height:1.6;padding:12px 16px;border-radius:9px;background:#fff1df;color:#88551e;margin:0 0 24px}.method ol{padding-left:22px}.method li{padding-left:7px;margin-bottom:16px}details{border-top:1px solid var(--line);padding-top:16px;margin-top:24px}summary{cursor:pointer;font-size:14px;font-weight:600}.primary{background:var(--orange);border-color:var(--orange);color:white}.danger{color:#b52f2f;border-color:#eacaca}.empty{grid-column:1/-1;padding:50px 20px;text-align:center;color:var(--muted);background:white;border-radius:12px}.loading{padding:60px;text-align:center;color:var(--muted)}footer{max-width:1240px;margin:0 auto;padding:24px 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}input,select,textarea{padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink)}textarea{resize:vertical;width:100%;min-height:100px;line-height:1.5}dialog{border:0;border-radius:18px;padding:28px;max-width:520px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 30px 100px #0004}dialog::backdrop{background:#172b3ab3}dialog h2{font-size:30px}dialog label{display:block;font-size:14px;margin:16px 0 7px}dialog input{width:100%}.modal-actions{display:flex;gap:10px;justify-content:end;margin-top:24px}.error{color:#b52f2f;font-size:14px;line-height:1.6}.editor{max-width:1000px;margin:auto}.editor-panel{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:20px}.form-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.field label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.field input,.field select{width:100%}.field.wide{grid-column:1/-1}.editor-row{padding:16px 0;border-bottom:1px solid var(--line)}.editor-row-top{display:grid;grid-template-columns:2fr .7fr .7fr 1fr auto;gap:8px;align-items:end}.editor-row label{display:block;font-size:12px;color:var(--muted);margin:0 0 5px}.editor-row input,.editor-row select{width:100%}.nutrition-fields{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px}.editor-row details{border:0;margin-top:8px;padding-top:0}.editor-row summary{font-size:12px;color:var(--muted)}.editor-actions{display:flex;gap:10px;justify-content:end;margin:24px 0}.notice{background:var(--mint);color:#246754;padding:16px;border-radius:10px;font-size:14px;line-height:1.6}.install-help{font-size:13px;color:var(--muted);line-height:1.6}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:14px 20px;border-radius:10px;box-shadow:0 4px 20px #0003;display:none;max-width:90%;z-index:10;font-size:14px}[hidden]{display:none!important}@media(max-width:950px){.grid{grid-template-columns:repeat(2,1fr)}.toolbar{align-items:start;flex-direction:column}.search{width:100%}.adjust-grid{gap:16px}.detail-columns{gap:18px}.ingredients,.method{padding:20px}}@media(max-width:640px){header{height:76px;padding:0 18px}.brand{font-size:24px;gap:10px}.brandmark{width:40px;height:40px;font-size:34px}.brand-sub{font-size:8px;letter-spacing:1.5px}.header-actions{gap:6px}.header-actions button{font-size:12px;padding:9px}.network{font-size:11px}main{padding:28px 18px 42px}.intro{align-items:center;gap:12px;margin-bottom:24px}.intro p{font-size:14px}.collection-count strong{font-size:30px}.grid{grid-template-columns:1fr}.card{min-height:200px;padding:22px}.card h2{font-size:28px;margin-top:14px}.filters{gap:3px}.filters button{font-size:13px;padding:10px 12px}.detail-header{flex-direction:column;gap:0}.detail-header h1{margin-bottom:16px}.detail-actions{margin-bottom:20px}.macro-panel{gap:16px;padding:20px;flex-wrap:wrap}.macro-item{flex:1 0 35%}.macro-item strong{font-size:28px}.macro-caption{max-width:none;width:100%}.adjust{padding:20px}.adjust-grid{grid-template-columns:1fr 1fr;gap:20px 12px}.adjust-grid>div:last-child{grid-column:1/-1}.detail-columns{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr 1fr}.form-grid>.field:first-child{grid-column:1/-1}.editor-panel{padding:18px}.editor-row-top{grid-template-columns:2fr 1fr 1fr}.editor-row-top>div:first-child{grid-column:1/-1}.nutrition-fields{grid-template-columns:repeat(2,1fr)}footer{padding:20px 18px;flex-direction:column;gap:8px}.amount{font-size:13px}.detail-info{line-height:1.6}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{header,footer,.adjust,.detail-actions,.back{display:none}.detail-columns{display:block}.ingredients,.method{border:0}.macro-panel{background:white;color:black}.macro-item span,.macro-caption{color:black}}
/* Keep the editor usable on narrow screens and enlarged text. */
.field,.editor-row-top>div,.nutrition-fields>div{min-width:0}.editor-actions{flex-wrap:wrap}.editor-row-top{grid-template-columns:minmax(0,2fr) minmax(0,.7fr) minmax(0,.7fr) minmax(0,1fr) auto}.ingredient .name{min-width:0;overflow-wrap:anywhere}.header-actions{flex-shrink:0}@media(max-width:640px){.editor-row-top{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:360px){header{height:auto;min-height:76px;flex-wrap:wrap;gap:10px;padding-top:14px;padding-bottom:14px}.header-actions{margin-left:auto}.detail-actions{flex-wrap:wrap}.collection-count{display:none}}
