@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700;800&family=Frank+Ruhl+Libre:wght@400;500;600;700&display=swap');:root{--forest:#243b32;--cream:#f7f2e8;--paper:#fffdf8;--muted:#6b736b;--line:#e6dfd2;--gold:#c68c48}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--forest);font-family:Assistant,Arial,sans-serif;font-size:17px}button,input,select{font:inherit}button{cursor:pointer}.top{background:var(--forest);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:15px max(5%,calc((100% - 1100px)/2));gap:16px}.brand{font-family:'Frank Ruhl Libre',serif;font-size:23px}.top nav{display:flex;gap:8px}.nav{border:0;background:transparent;color:#cdd9d0;padding:8px 12px;border-radius:8px}.nav.active{background:#ffffff1c;color:white}main{max-width:1100px;margin:auto;padding:28px 20px 60px}.hidden{display:none!important}.hero{border-radius:15px;background:linear-gradient(125deg,#2b4c3e,#192c26);color:#fff;padding:70px 9%;min-height:350px;position:relative;overflow:hidden}.hero:after{content:'✦';position:absolute;left:7%;top:4%;font-size:230px;color:#ffffff10}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:800;color:var(--gold)}h1,h2,h3{font-family:'Frank Ruhl Libre',serif;margin:0}h1{font-size:clamp(40px,6vw,72px);line-height:1.12;margin:14px 0}h2{font-size:33px}h3{font-size:23px}.hero p{font-size:20px}.primary{background:#e7b977;border:0;color:#243b32;padding:12px 22px;border-radius:8px;font-weight:800;margin-top:15px}.library-head{display:flex;justify-content:space-between;align-items:center;margin:42px 0 16px}.library-head span,small{color:var(--muted)}.recipe-tile{width:100%;display:flex;text-align:right;background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden;padding:0;color:inherit}.tile-art{width:30%;min-height:200px;background:#e8c9a0;display:grid;place-items:center;font-size:75px}.recipe-tile>div:last-child{padding:25px}.recipe-tile h3{font-size:30px;margin:8px 0}.tile-link{color:#9b672e;font-weight:800}.back{border:0;background:transparent;color:var(--forest);margin:6px 0 22px}.recipe-head{text-align:center;padding:24px 10px 38px}.recipe-head p{font-size:20px;color:var(--muted)}.meta{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;color:var(--muted)}.layout{display:grid;grid-template-columns:300px 1fr;gap:22px;align-items:start}.settings,.paper{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:25px}.settings{position:sticky;top:15px}.settings h2{font-size:27px;margin-bottom:20px}.settings>label,.field>label{display:block;font-weight:800;margin:15px 0 6px}.settings strong{float:left}.settings input[type=range]{width:100%;accent-color:var(--forest)}.field{margin:20px 0}.field input[type=number],select{width:100%;border:1px solid #cfc8ba;border-radius:8px;padding:10px;background:white;color:var(--forest)}.field small{display:block;font-size:13px;line-height:1.5;margin-top:7px}.switch{display:flex!important;gap:8px;align-items:center}.switch input{accent-color:var(--forest)}.secondary{background:transparent;border:1px solid var(--forest);padding:9px 15px;border-radius:8px}.note{background:#f5efe2;border-radius:8px;padding:12px;font-size:13px;color:#5c665c;line-height:1.6;margin-top:18px}.content{display:grid;gap:22px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.textbtn{border:0;background:none;color:#9b672e;font-size:14px}.progress{height:7px;background:#eae5da;border-radius:20px;overflow:hidden}.progress>div{height:100%;background:#648a6c;width:0;transition:width .2s}.counter{font-size:13px;color:var(--muted);margin:8px 0 20px}.ingredient-group{margin:24px 0}.ingredient-group h3{font-size:22px;padding-bottom:8px;border-bottom:1px solid var(--line)}.checkrow{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #eee9df;cursor:pointer}.checkrow input,.step input{width:19px;height:19px;accent-color:#557e60;flex-shrink:0}.checkrow span{flex:1}.checkrow strong{font-size:15px;white-space:nowrap}.checked span,.step.checked h3,.step.checked p{text-decoration:line-through;opacity:.55}.step{display:block;border:1px solid var(--line);padding:18px;border-radius:10px;margin:13px 0;cursor:pointer}.step.checked{background:#f0f5ee}.step-title{display:flex;gap:12px;align-items:center}.step h3{font-size:22px}.step p{color:#59665b;line-height:1.7;margin:8px 31px 0}.tips p{line-height:1.7;border-bottom:1px solid var(--line);padding-bottom:12px}footer{text-align:center;color:var(--muted);padding:24px}@media(max-width:750px){.top{padding:13px 16px}.brand{font-size:18px}main{padding:16px 12px 40px}.hero{padding:48px 28px;min-height:300px}.layout{grid-template-columns:1fr}.settings{position:static}.paper,.settings{padding:19px}.recipe-tile{flex-direction:column}.tile-art{width:100%;min-height:150px}.meta{gap:12px;font-size:14px}.recipe-head{padding-bottom:24px}}
.auth-gate{position:fixed;inset:0;z-index:99;background:#eee7d9;display:grid;place-items:center;padding:20px}.auth-gate.hidden{display:none}.auth-card{background:#fffdf6;border-radius:18px;padding:30px;width:min(440px,100%);box-shadow:0 15px 60px #0002}.auth-card form{display:grid;gap:15px}.auth-card label,#editor label{display:grid;gap:7px;margin:10px 0}.auth-card input,#editor input,#editor textarea{width:100%;padding:12px;border:1px solid #b8b1a3;border-radius:9px;font:inherit}#editor textarea{direction:ltr;text-align:left;font-family:monospace}.recipe-tile{margin-bottom:15px}#authMessage,#editMessage{color:#8a3526}

/* French editorial cookbook — original visual language inspired by vintage culinary books */
:root{--ink:#263c33;--paper:#f6efdf;--accent:#8e3f36;--gold:#c59a57}body{background:#f5eedf;color:#263c33}h1,h2,h3,.brand{font-family:Georgia,"Times New Roman",serif}.hero{background:linear-gradient(135deg,#243d33 0%,#344b3c 63%,#624b3d 100%);border:1px solid #a78a61;position:relative;overflow:hidden}.hero:after{content:'✦';position:absolute;left:8%;bottom:-90px;font-size:300px;color:#ffffff0d;pointer-events:none}.hero h1{font-size:clamp(2.4rem,6vw,5rem);line-height:1.2}.hero h1 em{color:#e3c99d;font-weight:400}.paper,.settings,.recipe-tile{box-shadow:0 8px 32px #2a34220c;border:1px solid #d8cbb6}.recipe-head{border-bottom:2px solid #c59a57}.recipe-head h1{font-size:clamp(2.8rem,6vw,4.6rem)}.primary{background:#8e3f36}.primary:hover{background:#713029}.progress>div{background:#8e3f36}.eyebrow{letter-spacing:.13em}.searchbar{margin:18px 0 24px}.searchbar input{width:100%;padding:14px 18px;border:1px solid #d8cbb6;border-radius:14px;background:#fffbf3;font-size:1rem}.shared-notes textarea{width:100%;box-sizing:border-box;min-height:90px;border:1px solid #d8cbb6;border-radius:12px;padding:12px;font:inherit;background:#fffdf8}.shared-note{padding:14px 0;border-bottom:1px solid #e5d9c8}.shared-note p{white-space:pre-wrap;margin:8px 0}.shared-note small{color:#786e5f}.shared-note button{background:none;border:0;color:#8e3f36;cursor:pointer}.shared-notes>button{margin-top:12px}.tile-art{background:linear-gradient(135deg,#e9d0a7,#d5a35e);font-size:3rem}.note{line-height:1.6}button,input,select,textarea{font-family:inherit}
/* Visual recipe editor */
#editor label,#importer label{display:grid;gap:7px;margin:14px 0;font-weight:700}#editor input,#editor textarea,#importer input,#importer textarea{font:inherit;width:100%;padding:11px;border:1px solid #d5c6b2;border-radius:9px;background:#fffdf8;color:#263c33;direction:rtl;text-align:right}#editor input[type=file]{padding:9px}.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.editor-group,.editor-step{border:1px solid #ded1bf;background:#fbf7ef;padding:15px;border-radius:12px;margin:12px 0}.editor-group>button,.editor-step>button{border:0;background:transparent;color:#8e3f36;padding:8px}.editor-item{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:8px;align-items:center;margin:8px 0}.editor-item button{border:0;background:transparent;color:#8e3f36;font-size:25px}.editor-step textarea{margin:8px 0}.tile-edit{margin-top:10px;background:#eee5d6;border:0;border-radius:7px;padding:5px 12px}.tile-art img{width:100%;height:100%;object-fit:cover}#photoPreview{color:#68786c;font-size:14px}.primary{color:white} @media(max-width:650px){.editor-grid{grid-template-columns:1fr}.editor-item{grid-template-columns:1.5fr .7fr .9fr auto;gap:4px}.editor-item input{padding:7px!important;font-size:14px!important}.top{flex-wrap:wrap}.top nav{overflow-x:auto;width:100%}}

/* La Cuisine v4 — modern French editorial design, original layout */
:root{--forest:#253b31;--ink:#28392f;--cream:#f5f1e9;--paper:#fffdfa;--line:#e6e0d5;--gold:#b78c54;--accent:#994b3e;--muted:#75796f;--shadow:0 14px 40px rgba(32,47,35,.06)}
html{scroll-behavior:smooth}body{background:var(--cream);color:var(--ink);font-size:16px;line-height:1.6}button{transition:background .18s ease,transform .18s ease,box-shadow .18s ease}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #cba46c;outline-offset:3px}button:hover{transform:translateY(-1px)}button:disabled{opacity:.55;cursor:wait;transform:none}
.top{background:#fffdf9;color:var(--ink);border-bottom:1px solid var(--line);padding:16px max(4%,calc((100% - 1220px)/2));position:sticky;top:0;z-index:20;box-shadow:0 4px 18px #243b3208}.brand{display:flex;align-items:center;gap:11px;font-family:Georgia,serif;font-size:27px;font-weight:700;white-space:nowrap;letter-spacing:-.045em}.brand-mark{width:39px;height:39px;display:grid;place-items:center;background:var(--forest);color:#f7e8cf;font-size:16px;letter-spacing:-.07em;border-radius:12px}.top nav{gap:4px}.nav{color:#5b685e;border-radius:100px;font-size:14px;font-weight:700;padding:9px 14px}.nav:hover,.nav.active{background:#eaece5;color:var(--forest)}main{max-width:1220px;padding:32px 28px 70px}
.hero{border-radius:24px;min-height:390px;padding:66px 8%;background:radial-gradient(circle at 82% 22%,#5d6650 0%,transparent 33%),linear-gradient(115deg,#23392e,#3b4d3d 65%,#685b45);border:0;box-shadow:var(--shadow)}.hero:before{content:'✺';position:absolute;left:7%;top:6%;font-size:210px;line-height:1;color:#e7c79b20;transform:rotate(-17deg)}.hero:after{content:'';width:380px;height:380px;border:1px solid #e7c79b25;border-radius:50%;left:-105px;top:10px;font-size:0}.hero h1{font-family:'Frank Ruhl Libre',Georgia,serif;font-size:clamp(49px,7vw,91px);letter-spacing:-.045em;margin:18px 0 14px;line-height:1.04;max-width:730px}.hero h1 em{font-weight:400;color:#f1d7ac}.hero p{max-width:460px;color:#e4e6dc;font-size:18px}.hero .primary{background:#f2dfbe;color:#263a30;margin-top:23px}.hero .eyebrow{color:#d6bb8c}
.primary{background:var(--forest);color:white;border:1px solid transparent;border-radius:12px;padding:12px 22px;font-size:15px;box-shadow:0 5px 16px #263b3220}.primary:hover{background:#3e5949}.secondary{border-color:#c5c9bf;border-radius:11px;color:var(--forest);font-weight:700}.library-head{margin:42px 0 17px;gap:12px}.library-head h2{font-size:37px}.library-head span{font-family:Georgia,serif;letter-spacing:.08em;font-size:11px}.searchbar input{background:#fffdfa;border-radius:13px;border:1px solid #deded5;padding:15px 19px;box-shadow:0 5px 14px #253b3205}
#recipeTiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.recipe-tile{display:flex;flex-direction:column;min-width:0;border-radius:18px;overflow:hidden;margin:0;box-shadow:var(--shadow);text-align:right}.tile-art{width:100%;height:220px;min-height:220px;background:radial-gradient(circle at 50% 35%,#f2dfbc,#d5ab74 72%,#a6794d);font-size:75px}.recipe-tile>div:last-child{padding:24px 27px;display:flex;flex-direction:column;align-items:flex-start;flex:1}.recipe-tile h3{font-size:29px;margin:7px 0 5px}.recipe-tile p{margin:0 0 14px;color:#68756a;line-height:1.5}.tile-link{font-size:14px;color:var(--accent);margin-top:auto}.tile-edit{border-radius:10px;padding:7px 15px;background:#f2eae0;color:#7c4439;font-weight:700}.tile-art img{height:100%;width:100%;object-fit:cover}
.recipe-head{padding:30px 10px 45px;border-bottom:1px solid #d6c6ae;margin-bottom:25px}.recipe-head h1{font-size:clamp(48px,7vw,82px);letter-spacing:-.04em}.recipe-head p{max-width:690px;margin:0 auto 20px}.meta{gap:12px}.meta span{background:#e9e8df;padding:7px 14px;border-radius:100px;font-size:14px}.layout{grid-template-columns:300px minmax(0,1fr);gap:25px}.settings,.paper{background:#fffdfa;border:1px solid #e8e2d7;border-radius:18px;box-shadow:var(--shadow);padding:29px}.paper h2,.settings h2{font-size:31px}.settings{top:92px}.content{gap:24px}.step{border-radius:13px}.step:hover,.checkrow:hover{background:#f5f5ed}.step.checked{background:#f1f5ef}.ingredient-group h3{color:#475e4e}.progress{background:#e8e8df}.progress>div{background:#6b8b70}.eyebrow{color:#9d7b51}.shared-note{background:#f9f7f1;border-radius:10px;padding:13px;margin:10px 0;border:1px solid var(--line)}
.auth-gate{background:radial-gradient(circle at 25% 20%,#b8bd9d 0%,transparent 35%),linear-gradient(135deg,#eae5d8,#f8f3e8)}.auth-card{border:1px solid #e0d6c5;border-radius:22px;box-shadow:0 24px 70px #23382b24;padding:40px}.auth-card h1{font-size:49px}.auth-card .primary{width:100%}#editor .paper,#importer .paper{max-width:920px;margin:auto}.editor-group,.editor-step{background:#f8f7f2}.editor-item{grid-template-columns:2fr 1fr 1fr auto}.back{font-weight:700;color:var(--accent)}footer{font-family:Georgia,serif;letter-spacing:.12em;font-size:11px}
@media(max-width:900px){.top{padding:13px 20px}.layout{grid-template-columns:1fr}.settings{position:static}main{padding:20px 18px 50px}.hero{padding:50px 7%;min-height:350px}}
@media(max-width:640px){.top{position:relative;display:block;padding:12px 14px}.brand{font-size:24px;margin-bottom:9px}.brand-mark{height:34px;width:34px}.top nav{display:flex;overflow-x:auto;gap:5px;padding-bottom:3px;scrollbar-width:none}.top nav::-webkit-scrollbar{display:none}.nav{white-space:nowrap;font-size:13px;padding:8px 12px}.hero{padding:42px 28px;min-height:330px;border-radius:18px}.hero h1{font-size:clamp(45px,11vw,65px)}.hero p{font-size:16px}.hero:before{left:-20%;top:12%;font-size:180px}.hero:after{display:none}#recipeTiles{grid-template-columns:1fr;gap:16px}.tile-art{height:190px;min-height:190px}.library-head{margin-top:32px}.library-head h2{font-size:30px}.library-head span{font-size:9px}.paper,.settings{padding:20px}.recipe-head h1{font-size:53px}.meta span{font-size:12px}.editor-item{grid-template-columns:minmax(0,1.5fr) 75px minmax(0,1fr) 28px}.editor-item input{min-width:0}.auth-card{padding:25px}.auth-card h1{font-size:42px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Illustrated recipe header and step-level ingredient amounts */
.recipe-gallery{display:grid;grid-template-columns:1.25fr 1fr;gap:13px;margin:22px 0 28px}
.recipe-gallery img{width:100%;height:280px;object-fit:cover;border-radius:16px;box-shadow:0 8px 25px #243b3217}
.step-amounts{display:flex;flex-wrap:wrap;gap:7px;margin:13px 30px 0}
.amount-chip{background:#f1eee5;border:1px solid #ded4c3;color:#344b3c;padding:6px 10px;border-radius:9px;font-size:13px;font-weight:650}
@media(max-width:650px){.recipe-gallery{gap:8px;margin:14px 0 22px}.recipe-gallery img{height:165px;border-radius:11px}.step-amounts{margin:12px 0 0}.amount-chip{font-size:12px}}

.recipe-gallery figure{margin:0;min-width:0}.recipe-gallery figure img{width:100%;height:100%;max-height:340px;object-fit:cover}.recipe-gallery figcaption{font-size:12px;color:#68736b;padding:5px}.recipe-gallery figcaption a{color:inherit}
