:root{--paper:#faf8f2;--white:#fffefa;--ink:#303b2d;--olive:#526442;--muted:#697064;--line:#dfdfd2;--lime:#e7ebd9;--peach:#eddfcd;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a26931;outline-offset:4px}button{border:0;background:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.15}h1{font-size:clamp(42px,4.6vw,68px);letter-spacing:-2px}h2{font-size:36px;letter-spacing:-1px}h3{font-size:25px}small{font-size:13px}.demo-bar{background:#e9eddf;min-height:33px;text-align:center;font-size:11px;letter-spacing:1.5px;padding:7px 16px}.demo-detail{letter-spacing:.3px;margin-left:10px}.dot{display:inline-block;width:6px;height:6px;background:#7b8c5e;border-radius:50%;margin-right:7px}.site-header{max-width:1440px;margin:auto;min-height:105px;display:flex;align-items:center;gap:40px;padding:18px 5%}.brand{display:flex;align-items:center;gap:12px;font-family:var(--serif);font-size:23px;line-height:1.2;white-space:nowrap}.brand-icon{font-size:48px;transform:rotate(-30deg);color:var(--olive)}.brand small{display:block;font:10px/2 sans-serif;letter-spacing:3.8px;margin-top:5px}.site-header nav{display:flex;gap:28px;margin:auto;font-size:14px}.site-header nav a{padding:9px 0;border-bottom:1px solid transparent}.site-header nav a.active{border-color:var(--olive)}.header-actions{display:flex;gap:23px;align-items:center;font-size:14px}.favorite-link{white-space:nowrap}.favorite-link>span:last-child{display:inline-flex;font-size:11px;background:var(--lime);width:20px;height:20px;justify-content:center;align-items:center;border-radius:50%;margin-left:5px}.profile-button{border:1px solid #c9cdbf;border-radius:50%;width:40px;height:40px;background:#e9e8de;font-family:var(--serif);font-size:20px}main{max-width:1440px;margin:auto;padding:0 5% 70px;min-height:60vh}.hero{display:grid;grid-template-columns:1.05fr 1fr;background:#eeeee3;border-radius:4px;min-height:453px;overflow:hidden}.hero-copy{padding:51px 0 46px 49px;align-self:center;z-index:1}.eyebrow{font:11px/1.5 sans-serif;letter-spacing:2.5px;font-weight:600;color:var(--olive);text-transform:uppercase;margin-bottom:20px}.hero h1{max-width:570px;margin-bottom:21px}.hero h1 em{font-weight:400;color:var(--olive)}.hero p{max-width:430px;font-size:16px;line-height:1.8;color:#606956;margin-bottom:26px}.hero-art{min-height:400px;background:url('assets/bowl.svg') center/cover}.button{display:inline-flex;justify-content:center;align-items:center;gap:14px;padding:13px 22px;border-radius:4px;background:var(--olive);color:#fff;font-size:14px;font-weight:500;min-height:48px;border:1px solid var(--olive)}.button.secondary{background:transparent;color:var(--olive);border-color:#c3c9b5}.button.light{background:var(--white);color:var(--ink);border-color:var(--white)}.button-row{display:flex;gap:12px;flex-wrap:wrap}.hero-footnote{font-size:12px!important;margin:14px 0 0!important}.customize{margin-top:28px;padding:27px 30px;background:var(--white);border:1px solid var(--line);border-radius:6px}.custom-top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.custom-top h2{font-size:23px;letter-spacing:0;margin:0}.custom-top p{margin:0;color:var(--muted);font-size:13px}.switches{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:20px}.switch-option{display:flex;gap:13px;align-items:center;font-size:14px;cursor:pointer;min-height:44px}.switch-option small{display:block;color:var(--muted);font-size:11px}.switch-option input{appearance:none;flex:0 0 42px;height:25px;border-radius:20px;background:#d9ddcf;position:relative;margin:0;cursor:pointer}.switch-option input:before{content:'';position:absolute;width:19px;height:19px;border-radius:50%;background:white;top:3px;left:3px;transition:transform .2s;box-shadow:0 1px 3px #0002}.switch-option input:checked{background:var(--olive)}.switch-option input:checked:before{transform:translateX(17px)}.switch-option:has(input:disabled){opacity:.55;cursor:not-allowed}.option-help{color:var(--muted);font-size:12px;margin:15px 0 0;border-top:1px solid #eeeee5;padding-top:12px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:49px 0 23px}.section-head h2{margin:0 0 8px}.section-head p{color:var(--muted);font-size:14px;margin:0}.text-link{font-size:14px;color:var(--olive);border-bottom:1px solid #bfc6b3;padding-bottom:3px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.card{border:1px solid var(--line);border-radius:6px;background:var(--white);overflow:hidden;position:relative;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-3px);box-shadow:0 8px 25px #303b2d0b}.card-image{height:223px;position:relative;overflow:hidden;background:#eae4d9}.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.card:hover .card-image img{transform:scale(1.04)}.tag{font-size:10px;letter-spacing:1px;text-transform:uppercase;border-radius:3px;background:#fffef3e8;padding:5px 9px;position:absolute;top:15px;left:16px}.heart{position:absolute;right:14px;top:13px;width:38px;height:38px;border-radius:50%;background:#fffef5e8;font-size:25px;display:grid;place-items:center;z-index:1}.heart.saved{color:#9a5139}.card-body{padding:20px 22px}.card-body .eyebrow{font-size:9px;margin-bottom:9px;letter-spacing:1.5px}.card-title{font-family:var(--serif);font-size:24px;line-height:1.2;text-align:left;padding:0;min-height:58px}.card-meta{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);padding-top:16px;margin-top:14px;border-top:1px solid #e9e9df}.tiny-tag{font-size:11px;background:#edf0e4;border-radius:3px;padding:3px 8px;color:var(--olive)}.inspiration{display:grid;grid-template-columns:1fr 1.1fr;margin-top:42px;background:#e9eddf;border-radius:5px;overflow:hidden}.inspiration-art{background:url('assets/garden.svg') center/cover;min-height:250px}.inspiration-copy{padding:38px 40px}.inspiration-copy h2{font-size:32px;margin-bottom:14px}.inspiration-copy p{font-size:14px;color:var(--muted);max-width:450px}.inspiration-copy .eyebrow{margin-bottom:13px}.note{font-size:13px;color:var(--muted);padding:17px 20px;border:1px dashed #c7cbb9;border-radius:4px;margin-top:27px}.page-head{padding:42px 0 16px;max-width:830px}.page-head h1{font-size:51px;margin-bottom:18px}.page-head p{color:var(--muted)}.toolbar{display:flex;gap:13px;flex-wrap:wrap;align-items:center;margin:25px 0}.search{flex:1;min-width:210px}.search input{width:100%;background:var(--white);border:1px solid var(--line);border-radius:4px;padding:13px 17px;color:var(--ink)}input,textarea,select{background:var(--white);border:1px solid #c8cdbd;border-radius:4px;padding:11px 12px;color:var(--ink);width:100%}textarea{resize:vertical;min-height:110px}label.field{display:block;font-size:14px;font-weight:500;margin:18px 0}label.field input,label.field select,label.field textarea{margin-top:7px}fieldset{border:0;padding:0;margin:18px 0}legend{font-size:14px;font-weight:500;margin-bottom:9px}.radio-row{display:flex;gap:12px;flex-wrap:wrap}.radio-row label{border:1px solid var(--line);border-radius:4px;padding:10px 18px;cursor:pointer;font-size:14px;background:var(--white)}.radio-row input{width:auto;margin-right:9px;accent-color:var(--olive)}.workshop{display:grid;grid-template-columns:1.2fr .8fr;gap:30px;margin-top:22px}.panel{background:var(--white);padding:28px;border:1px solid var(--line);border-radius:6px}.panel h2{font-size:28px}.panel h3{font-size:22px}.steps{padding-left:24px;font-size:15px;color:var(--muted)}.steps li{padding-left:4px;margin:18px 0}.output{white-space:pre-wrap;background:#f4f4e9;padding:20px;border-radius:4px;font-size:14px;line-height:1.8;margin:18px 0;max-height:440px;overflow:auto}.empty{text-align:center;padding:65px 25px;background:#eeeee4;border-radius:6px;grid-column:1/-1}.empty h2{font-size:30px}.empty p{color:var(--muted);max-width:500px;margin:0 auto 22px}footer{border-top:1px solid var(--line);text-align:center;padding:36px 20px;color:var(--muted)}.footer-brand{font-family:var(--serif);font-size:23px;color:var(--ink)}footer p{font-size:13px;margin:8px 0 15px}footer button{font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:8px 15px}footer small{display:block;margin-top:17px;font-size:11px}dialog{width:min(700px,calc(100% - 30px));max-height:88vh;padding:36px;background:var(--paper);border:1px solid var(--line);border-radius:8px;color:var(--ink)}dialog::backdrop{background:#20291dd0;backdrop-filter:blur(4px)}dialog h2{font-size:32px;padding-right:22px}dialog h3{font-size:24px;margin:25px 0 12px}.close-modal{position:absolute;top:12px;right:15px;font-size:29px;width:38px;height:38px}.recipe-cover{display:block;width:auto;max-width:min(100%,400px);height:auto;max-height:400px;object-fit:contain;margin:0 0 16px;border-radius:6px}.recipe-details{font-size:15px}.recipe-details li{margin:8px 0}.comment{padding:13px 0;border-bottom:1px solid var(--line);font-size:14px}.comment p{margin:6px 0}.comment small{color:var(--muted)}.consent{display:flex;align-items:flex-start;gap:10px;font-size:14px;margin:18px 0}.consent input{width:18px;height:18px;flex-shrink:0;margin-top:4px;accent-color:var(--olive)}#toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:white;padding:13px 22px;border-radius:5px;box-shadow:0 4px 20px #0002;opacity:0;pointer-events:none;transition:.2s;max-width:90%;z-index:10;font-size:14px}#toast.visible{opacity:1;transform:translate(-50%,0)}.skip{position:fixed;top:-100px;left:20px;background:white;padding:12px;z-index:20}.skip:focus{top:10px}.admin-preview img{max-width:100%;max-height:150px;border-radius:5px}.divider{border-top:1px solid var(--line);margin:24px 0}.count-label{color:var(--muted);font-size:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.form-error{color:#9b432f;font-size:14px}
@media(min-width:1500px){.hero-art{background-size:cover}}@media(max-width:1100px){.site-header{gap:20px}.site-header nav{gap:16px;font-size:12px}.favorite-text{display:none}.hero-copy{padding:35px}.hero h1{font-size:52px}.switches{gap:10px}.switch-option{font-size:12px}.brand{font-size:21px}.card-image{height:190px}}
@media(max-width:760px){body{font-size:16px}.demo-detail{display:none}.site-header{padding:18px 5% 13px;flex-wrap:wrap;gap:16px;justify-content:space-between}.brand{font-size:21px}.brand-icon{font-size:40px}.header-actions{margin-left:auto;gap:14px}.site-header nav{order:3;width:100%;justify-content:space-between;gap:9px;font-size:12px;overflow:auto;white-space:nowrap}.site-header nav a{min-height:44px;display:flex;align-items:center}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:33px 26px 18px}.hero h1{font-size:46px;letter-spacing:-1.5px}.hero p{font-size:15px}.hero-art{min-height:270px;background-position:center 48%}.customize{padding:22px}.custom-top{display:block}.custom-top p{margin-top:7px}.switches{grid-template-columns:1fr;gap:9px}.switch-option{font-size:15px;justify-content:space-between;flex-direction:row-reverse}.switch-option small{font-size:12px}.switch-option input{margin-left:12px}.section-head{margin-top:36px;align-items:start}.section-head h2{font-size:29px}.section-head p{font-size:13px}.text-link{font-size:12px;white-space:nowrap}.cards{grid-template-columns:1fr;gap:20px}.card-image{height:245px}.card-title{min-height:0}.card-body{padding:22px}.inspiration{grid-template-columns:1fr}.inspiration-art{min-height:200px}.inspiration-copy{padding:29px}.page-head{padding-top:27px}.page-head h1{font-size:40px}.workshop{grid-template-columns:1fr}.panel{padding:22px}.button-row .button{flex:1}.toolbar .button{flex:1}.hero .button-row .button{flex:0 1 auto}dialog{padding:28px 22px}main{padding-bottom:45px}.radio-row{gap:7px}.radio-row label{padding:10px 12px}.custom-top h2{font-size:24px}}

/* Présentation des références et des règles alimentaires. */
#prompt-result h3{margin-top:26px}details{border-top:1px solid var(--line);padding:15px 0;font-size:14px}summary{cursor:pointer;font-weight:600;min-height:44px;align-content:center}.educational{font-size:14px;padding-left:14px;border-left:2px solid #c8cfb5}.educational small{display:block;color:var(--muted);margin-top:5px}

/* Parcours local avec comptes et créations simulées. */
.simulation-note{font-size:13px;line-height:1.7;background:#eef0e5;padding:13px 16px;border-radius:4px;margin:20px 0;color:#4b5f3e}.editor-numbers{display:grid;grid-template-columns:1fr 1fr;gap:18px}#generation-error,#editor-error{margin:16px 0}#generated-result{scroll-margin-top:22px;margin-top:30px}.footer-community{font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:8px 15px}#recipe-editor textarea{min-height:135px}#auth-form button[disabled]{opacity:.5}#quota-status{margin:22px 0 10px}

main:focus{outline:none}
.customize>h2{font-size:26px;letter-spacing:-.4px;margin-bottom:20px}.universe-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 24px}.universe-choice{display:flex;gap:13px;align-items:flex-start;padding:22px;border:1px solid var(--line);border-radius:5px;cursor:pointer;background:var(--paper);min-width:0}.universe-choice.selected{border-color:var(--olive);background:#edf0e3;box-shadow:inset 0 0 0 1px var(--olive)}.universe-heading>input{width:20px;height:20px;flex:0 0 20px;margin:4px 0 0;accent-color:var(--olive);padding:0}.universe-choice strong{font:23px/1.2 var(--serif);display:block;margin-bottom:10px}.universe-description{display:block;font-size:14px;line-height:1.65;color:var(--muted)}.universe-options{grid-template-columns:1fr;gap:14px}.recipe-selection{margin-top:12px!important;color:var(--olive)!important}
@media(max-width:760px){.universe-choices{grid-template-columns:1fr;gap:12px}.universe-choice{padding:18px}.universe-choice strong{font-size:23px}.universe-options{grid-template-columns:1fr;gap:12px}.customize>h2{font-size:25px}}

/* Compteur discret et achat facultatif, seulement près du quota. */
.credit-notice:empty{display:none}.credit-notice{font-size:14px;line-height:1.6;color:var(--muted);margin-bottom:18px}.credit-notice p{margin:8px 0}.cost-audit{margin-top:28px;padding:20px;border:1px solid var(--line);border-radius:5px}.table-scroll{overflow-x:auto}.cost-audit table{width:100%;border-collapse:collapse;font-size:13px}.cost-audit th,.cost-audit td{padding:10px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}

[data-action="credits"]{white-space:normal;text-align:left;max-width:100%;font-size:14px}
.manual-review{font-size:14px;line-height:1.6;color:var(--muted);margin:14px 0}.manual-review summary{cursor:pointer}.manual-review p{margin:10px 0}

/* Options intégrées à chaque univers, sans imbriquer les contrôles dans un label. */
.universe-choice{display:block;padding:22px;cursor:default}
.universe-heading{display:flex;gap:13px;align-items:flex-start;cursor:pointer;min-height:118px}
.universe-heading>span{min-width:0}
.universe-choice .universe-options{margin:20px 0 0;padding:18px 0 0;border-top:1px solid #d9decd;grid-template-columns:1fr;gap:16px}
.universe-choice .switch-option{justify-content:flex-start;flex-direction:row;align-items:center;font-size:15px}
.universe-choice .switch-option input{width:42px;flex:0 0 42px;height:25px;margin:0}
.universe-choice .switch-option small{font-size:12px}
.site-header nav .nav-create{background:var(--olive);color:#fff;border:1px solid var(--olive);border-radius:4px;padding:9px 14px;font-weight:600;white-space:nowrap}
.hero-actions{display:grid;grid-template-columns:auto minmax(0,1fr);max-width:440px;align-items:stretch}
.create-cta{font-size:16px;font-weight:600;min-height:54px}
.recipe-toolbar{display:grid;grid-template-columns:minmax(0,2fr) minmax(210px,1fr);gap:16px}
.recipe-toolbar .search{min-width:0}.recipe-toolbar .button{width:100%}
#generate-button{min-width:33%;min-height:56px;font-size:16px;font-weight:600}
@media(max-width:760px){
 .universe-choice{padding:18px}.universe-heading{min-height:0}.universe-choice .universe-options{margin-top:18px}
 .site-header nav{display:grid;grid-template-columns:1fr 1fr;overflow:visible;gap:6px 12px;white-space:normal}
 .site-header nav a{font-size:13px;min-height:44px}.site-header nav .nav-create{justify-content:center}
 .hero-actions{grid-template-columns:1fr}.hero-actions .button{width:100%}
 .recipe-toolbar{grid-template-columns:1fr}.recipe-toolbar .search{width:100%}#generate-button{width:100%}
}

.protein-help-link{display:inline-block;margin:2px 0 0 55px;font-size:12px;min-height:28px;text-align:left}.cuisine-option{min-width:0}

dialog .eyebrow{padding-right:28px}

/* Consultation : une loupe discrète ouvre la recherche sans panneau de cuisine. */
[hidden]{display:none!important}
.collection-search{display:flex;align-items:center;gap:12px;margin:18px 0 20px;justify-content:flex-end}
.search-toggle{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--white);color:var(--olive)}
.search-toggle[aria-expanded="true"]{background:var(--lime);border-color:var(--olive)}
.collection-search .search{flex:0 1 440px;min-width:0;order:-1}
.collection-search .search input{min-height:46px}
.home-search{margin:20px 0}
@media(max-width:760px){.collection-search .search{flex:1}.collection-search{gap:10px}}

.share-choices{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.share-choices section{padding:18px;border:1px solid var(--line);border-radius:5px}.share-choices h3{margin:0 0 12px}.share-choices p{font-size:14px}.share-choices .button{width:100%}.share-link-result,#community-status:not(:empty){margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
@media(max-width:760px){.share-choices{grid-template-columns:1fr}}

@media(max-width:1100px){.site-header{flex-wrap:wrap;gap:16px}.site-header nav{order:3;width:100%;margin:0;justify-content:space-between}.header-actions{margin-left:auto}}
@media(max-width:760px){.site-header nav .nav-create{grid-column:2}}

.comment-photo{display:block;max-width:min(100%,420px);max-height:360px;width:auto;height:auto;object-fit:contain;border-radius:6px;margin:12px 0}.comment-actions{display:flex;flex-wrap:wrap;gap:10px 18px;margin:10px 0}.comment-text{white-space:pre-wrap;overflow-wrap:anywhere}.comment-reply{margin-left:28px;padding-left:16px;border-left:2px solid var(--line)}#comment-form{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}#comment-audience{font-size:14px;color:var(--muted)}.moderation-panel{margin-top:30px}.moderation-comment{padding:18px 0}.moderation-comment .button{font-size:13px}.community-comments input[type=file]{max-width:100%}#comment-photo-preview .comment-photo{max-height:240px}
@media(max-width:760px){.comment-reply{margin-left:12px;padding-left:10px}.comment-photo{max-height:300px}.comment-actions{gap:12px}}

.brand-portrait{display:block;width:72px;height:80px;object-fit:cover;object-position:50% 30%;border-radius:12px;flex:none}.brand small{letter-spacing:2px}.brand-positioning{max-width:1440px;margin:0 auto;padding:0 5% 20px;color:var(--muted);font-size:15px}.site-header .brand{flex-shrink:0;font-size:23px}
@media(max-width:1100px){.site-header{flex-wrap:wrap;gap:16px}.site-header nav{order:3;width:100%;justify-content:center}.header-actions{margin-left:auto}.brand-positioning{padding-top:0;font-size:14px}}
@media(max-width:760px){.brand-portrait{width:58px;height:66px}.site-header .brand{font-size:21px}.brand-positioning{font-size:13px;line-height:1.6;padding-bottom:16px}.site-header nav{justify-content:stretch}}
.food-inspiration{margin:18px 0;padding:16px;background:var(--cream,#f7f6ef);border:1px solid var(--line,#deded0);border-radius:6px}
.food-inspiration summary{cursor:pointer;color:var(--green,#52613e);font-weight:600}
.food-inspiration small{display:block;color:var(--muted);line-height:1.6}
.food-focus{margin:24px 0 0;padding:22px 0 0;border:0;border-top:1px solid var(--line,#deded0)}
.food-focus legend{font-weight:600;padding:0 8px 0 0}
.food-focus-choices{display:flex;flex-wrap:wrap;gap:12px 24px;margin:12px 0 18px}
.food-focus-choices label{display:flex;align-items:center;gap:8px;cursor:pointer;min-height:44px}
.food-focus-choices input{width:20px;height:20px;accent-color:#52613e}
#food-focus-other-wrap[hidden]{display:none}
#food-focus-other-wrap{max-width:520px}

.workshop.workshop-single{grid-template-columns:minmax(0,1fr)}
.food-benefits{margin:28px 0;padding:24px;border:1px solid var(--line);border-radius:6px;background:#f6f6ee}
.food-benefits h4{font-size:18px;margin:20px 0 8px}.food-benefits ul{padding-left:22px}.food-benefits small{display:block;color:var(--muted)}
.private-book-recipe{white-space:pre-wrap;overflow-wrap:anywhere;font:16px/1.7 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;max-height:65vh;overflow-y:auto;padding:20px;background:var(--white);border:1px solid var(--line)}
.library-themes{margin:24px 0;padding:20px;border:1px solid var(--line);border-radius:6px}.library-themes legend{font-weight:600}.library-themes .field[hidden]{display:none}
.recipe-themes{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.recipe-themes span{display:inline-block;border-radius:20px;background:var(--lime);padding:3px 11px;font-size:12px;color:var(--olive)}
.voice-button{display:inline-flex;align-items:center;align-self:start;font-size:13px;color:var(--olive);padding:6px 10px;border:1px solid var(--line);border-radius:5px;min-height:36px;margin-top:6px;background:var(--white)}
.voice-button[aria-pressed=true]{background:#f6e7dc;color:#8b4325}.voice-consent{display:block;font-size:13px;line-height:1.7;color:var(--muted);padding:12px;border:1px solid var(--line);border-radius:5px;white-space:normal}
.search:has(.voice-button){flex-wrap:wrap}.search .voice-button{flex:none}.private-book-recipe{margin-left:0;margin-right:0}

/* Micro intégré au champ : zone tactile accessible, icône discrète. */
.voice-field{display:block;position:relative;width:100%;min-width:0}
.voice-field>textarea,.voice-field>input{box-sizing:border-box;width:100%;padding-right:54px}
.voice-field>.voice-button{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:40px;height:40px;min-height:40px;margin:0;padding:10px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:transparent;color:var(--olive)}
.voice-textarea>.voice-button{top:auto;bottom:8px;transform:none}
.voice-textarea>textarea{padding-bottom:50px}
.voice-field>.voice-button:hover{background:var(--sage,#eef0e5)}
.voice-field>.voice-button[aria-pressed=true]{background:#f6e7dc;color:#8b4325}
.voice-stop{display:block;width:13px;height:13px;border-radius:3px;background:currentColor}
.search>.voice-field{flex:1;min-width:0}.author-recipe-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.author-matches{margin-top:24px}.author-matches .panel{margin-bottom:12px}.author-original-reference{margin-top:20px}

.official-recipe-reference{padding:16px 0 22px;border-bottom:1px solid var(--line);margin-bottom:14px}.official-recipe-reference:last-child{border-bottom:0}.official-recipe-link{max-width:100%;box-sizing:border-box;white-space:normal;text-align:center;line-height:1.5}.official-recipe-reference h3{margin-bottom:10px}

.food-association-group{margin:16px 0;padding:12px 0;border-top:1px solid var(--line)}.food-association-group p{margin:0 0 6px}.food-association-sources{font-size:13px;line-height:1.6;color:var(--muted)}.food-association-sources summary{cursor:pointer}.food-association-sources ul{margin-top:8px}

#generation-form textarea[name=idea]{min-height:200px}#food-focus-other-wrap{margin-top:20px}@media(max-width:600px){#generation-form textarea[name=idea]{min-height:270px}}

/* Dossier éditorial de Mélanie : photos originales du livret. */
.morning-folder{display:grid;grid-template-columns:minmax(220px,.9fr) 1.1fr;border:1px solid var(--line,#dcded0);border-radius:8px;overflow:hidden;background:#eef0e3;text-decoration:none;color:inherit;margin:0 0 38px;max-width:1040px;transition:box-shadow .2s}
.morning-folder:hover{box-shadow:0 8px 28px #303a2b14}.morning-folder:focus-visible{outline:3px solid #a8692e;outline-offset:4px}
.morning-folder-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:300px;min-height:260px;overflow:hidden}.morning-folder-photos img{width:100%;height:100%;object-fit:cover;min-width:0}.morning-folder-copy{padding:32px 36px;align-self:center}.morning-folder-copy h2{font-size:clamp(26px,3vw,38px);line-height:1.12;margin:12px 0 16px}.morning-folder-copy p:not(.eyebrow){color:#687061;line-height:1.65}.morning-folder-copy .text-link{display:inline-block;margin-top:10px}
.morning-heading{padding-top:32px}.morning-heading>a{display:inline-block;margin-bottom:26px}.morning-recipes{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1040px}.morning-recipes .card-image{height:auto;aspect-ratio:1}.morning-recipes .card-image img{object-position:center}.morning-note{padding:18px 22px;background:#eef0e3;border-left:3px solid #79885d;border-radius:4px;max-width:760px;line-height:1.7}.morning-variations>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:960px}.morning-variations article{padding:20px 24px;background:#f5f4ed;border-radius:6px}.morning-variations h4{margin:0 0 10px;color:#536341}.morning-variations p{margin:0;line-height:1.7}.morning-details .button-row{margin-top:32px}
@media(max-width:650px){.morning-folder{grid-template-columns:1fr}.morning-folder-photos{height:200px;min-height:200px}.morning-folder-copy{padding:24px}.morning-recipes,.morning-variations>div{grid-template-columns:1fr}.morning-recipes .card-image{height:auto}.morning-heading h1{font-size:38px}}

.morning-photo-pending{width:100%;height:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#eef0e3;color:#687657;text-align:center}.morning-photo-pending>span{font-size:58px;line-height:1}.morning-photo-pending>p{margin:16px 0 0;font-size:15px}.morning-photo-detail{max-width:360px;min-height:240px;border-radius:6px;margin-bottom:24px}.morning-information{max-width:850px;border-top:1px solid var(--line);margin:28px 0;padding-top:16px}.morning-information>p,.morning-information details p{line-height:1.7}.morning-information details{margin-top:24px;background:#f5f4ed;padding:20px 24px;border-radius:6px}.morning-information summary{font-weight:600;color:#536341;cursor:pointer}.morning-information .button{white-space:normal;line-height:1.5}

.ai-image-label{position:absolute;left:8px;bottom:8px;z-index:1;padding:2px 5px;border-radius:3px;background:rgba(250,249,242,.85);color:#46523c;font-size:10px;font-weight:400;line-height:1.3;letter-spacing:0;pointer-events:none}.morning-folder-photos{position:relative}.ai-image-caption{font-size:11px;font-weight:400;color:var(--muted);margin:4px 0 0}

.morning-information-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.morning-information-grid>article{display:flex;align-items:flex-start;gap:12px;background:#f3f4e9;border:1px solid #e3e6d8;padding:20px;border-radius:8px}.morning-information-check{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;color:#536341;background:#e1e7d1;font-size:15px}.morning-information-grid h4{margin:1px 0 10px;color:#38482f;font-size:17px;line-height:1.4}.morning-information-grid p{margin:0;line-height:1.7;color:var(--muted,#687061)}.morning-information-intro{color:var(--muted,#687061);font-size:14px;line-height:1.65}@media(max-width:650px){.morning-information-grid{grid-template-columns:1fr}.morning-information-grid>article{padding:18px}}

@media(min-width:651px) and (max-width:900px){.morning-recipes{grid-template-columns:repeat(2,minmax(0,1fr))}}
.morning-source{display:inline-block;font-size:13px;margin-top:12px;line-height:1.5}
.recipe-ingredient-groups>section{margin:18px 0 24px;padding:18px 22px;border:1px solid var(--line);border-radius:7px;background:#faf9f3}.recipe-ingredient-groups h4{margin:0 0 12px;color:#536341;font-size:18px}.recipe-ingredient-groups ul{margin-bottom:0}

.apple-folder{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:28px;text-decoration:none;color:inherit;margin:0 0 38px;max-width:1040px;background:#f4eee1}.apple-folder-icon{font-size:65px;text-align:center}.apple-folder h2{font-size:clamp(26px,3vw,36px);line-height:1.2;margin:10px 0 16px}.apple-folder p:not(.eyebrow){line-height:1.7;color:var(--muted)}.apple-folder:focus-visible{outline:3px solid #a8692e;outline-offset:4px}.apple-pantry{max-width:1040px;padding:24px 28px;background:#f4eee1;border-radius:8px;margin:28px 0 0}.apple-pantry h2{font-size:24px;margin:0 0 18px}.apple-pantry ul{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;list-style:none;padding:0}.apple-pantry li{padding:10px;background:#fffdf7;border-radius:5px;font-size:14px;line-height:1.5}.apple-recipes{grid-template-columns:repeat(4,minmax(0,1fr))}.apple-recipes .card-image{height:auto;aspect-ratio:1}.apple-recipes .card-title{font-size:23px}.apple-recipes .morning-photo-pending{min-height:0}.apple-recipes .card-body{padding:20px}@media(max-width:1000px){.apple-recipes{grid-template-columns:repeat(2,minmax(0,1fr))}.apple-pantry ul{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.apple-folder{grid-template-columns:1fr;gap:10px}.apple-folder-icon{text-align:left;font-size:44px}.apple-recipes{grid-template-columns:1fr}.apple-pantry{padding:20px}.apple-pantry li{font-size:13px}}
.morning-heading>a{max-width:100%;white-space:normal;overflow-wrap:anywhere}

.apple-folder{grid-template-columns:minmax(200px,.7fr) 1.3fr}.apple-folder-photos{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;border-radius:6px;overflow:hidden;height:260px}.apple-folder-photos img{width:100%;height:128px;object-fit:cover;min-width:0}@media(max-width:600px){.apple-folder{grid-template-columns:1fr}.apple-folder-photos{height:220px}.apple-folder-photos img{height:108px}}
.share-choices.share-link-only{grid-template-columns:minmax(0,1fr)}

.routine-next{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;padding:1.2rem 1.5rem;margin:1.5rem 0;border:1px solid var(--line,#d9ddce);border-radius:8px;background:#edf0e2;color:#36442e;text-decoration:none;max-width:520px}.routine-next span{font-size:.85rem}.routine-next strong{font-size:1.15rem}.routine-next:hover{background:#e3e8d4}

.library-explorer{margin-top:32px}.library-explorer-heading{display:flex;gap:20px;align-items:center;justify-content:space-between}.library-explorer-heading h2{margin:0;font-size:30px}.library-explorer-heading .collection-search{margin:0;flex:1;justify-content:flex-end}.theme-categories{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:18px 0 24px}.theme-categories .library-themes{margin:0;padding:20px;border:1px solid var(--line);border-radius:6px;background:var(--white)}.theme-categories legend{float:left;width:100%;font-size:16px;font-weight:600;margin-bottom:12px}.theme-categories .count-label{clear:both;margin:0}.theme-categories .food-focus-choices{clear:both}.hero-art{margin:0;background:none;display:flex;flex-direction:column;min-width:0}.hero-placeholder{background:url('assets/bowl.svg') center/cover;min-height:400px;flex:1}.featured-photo-link{position:relative;display:block;flex:1;min-height:350px;overflow:hidden}.featured-photo-link img{position:absolute;width:100%;height:100%;object-fit:cover}.hero-art figcaption{padding:18px 24px;background:#e7ebda;display:flex;flex-direction:column;gap:3px;font-size:14px}.hero-art figcaption strong{color:var(--olive)}.hero-art figcaption a{text-decoration:underline;text-underline-offset:3px}.hero-art figcaption small{color:var(--muted);font-size:11px}.comment-jump{margin:0 0 18px}.community-comments{margin-top:30px;border-top:1px solid var(--line);padding-top:22px}.community-comments summary{font-size:20px;font-weight:600;color:var(--olive)}
@media(max-width:760px){.theme-categories{grid-template-columns:1fr;gap:12px}.library-explorer-heading{align-items:flex-start;flex-wrap:wrap}.library-explorer-heading .collection-search{flex-basis:100%}.featured-photo-link{min-height:320px}.hero-placeholder{min-height:270px}.hero-art figcaption{padding:14px 22px}.comment-jump{white-space:normal}}

.library-filter-panel{position:relative}.library-filter-panel>summary{list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:24px;background:var(--white);padding:9px 18px;white-space:nowrap;color:var(--olive);min-height:46px}.library-filter-panel>summary::-webkit-details-marker{display:none}.library-filter-panel>summary::after{content:'⌄';margin-left:12px}.library-filter-panel[open]>summary::after{content:'⌃'}.library-filter-panel #library-theme-filters{position:absolute;right:0;top:54px;width:min(650px,80vw);z-index:4;padding:18px;background:var(--paper);box-shadow:0 8px 28px #303b2d20;border:1px solid var(--line);border-radius:8px}.library-filter-panel .theme-categories{margin:0}.library-filter-panel .theme-categories .library-themes{padding:15px}.private-feedback{max-width:1296px;margin:0 auto 34px;padding:0 5%;color:var(--ink)}.private-feedback>details{border:1px solid var(--line);border-radius:6px;padding:20px;background:#f1f2e9}.private-feedback summary{cursor:pointer;font-size:16px;font-weight:600;color:var(--olive);line-height:1.5;padding:4px 0}.private-feedback details>p{font-size:14px;margin-top:15px;max-width:750px}.private-feedback form{max-width:750px}.morning-note>p:last-child{margin-bottom:0}
@media(max-width:760px){.library-filter-panel #library-theme-filters{right:-58px;width:88vw;max-height:65vh;overflow:auto}.private-feedback{padding:0 5%;margin-bottom:24px}.library-filter-panel .theme-categories{gap:12px}}

.library-filter-panel #library-theme-filters{max-height:68vh;overflow:auto}.private-feedback textarea{min-height:110px}

.collection-page-head{max-width:none}.collection-page-head .library-explorer-heading h1{margin-bottom:0}.collection-page-head>p:last-child{margin-top:16px}.routine-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:1.5rem 0}.routine-navigation:has(>a:only-child){grid-template-columns:minmax(0,1fr);max-width:520px}.routine-navigation .routine-next{margin:0;max-width:none}.routine-previous{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;padding:1.2rem 1.5rem;border:1px solid var(--line);border-radius:8px;background:#edf0e2;color:#36442e;text-decoration:none}.routine-previous span{font-size:.85rem}.routine-previous strong{font-size:1.15rem}.routine-previous:hover{background:#e3e8d4}@media(max-width:760px){.routine-navigation{grid-template-columns:1fr}.collection-page-head .library-explorer-heading h1{font-size:40px}}

.auth-layout{max-width:560px}.password-field .password-toggle{font-size:12px;margin-top:7px}.auth-layout .consent{font-size:14px}

.morning-folder-photos.morning-folder-cover{display:block;height:auto;min-height:0}.morning-folder-photos.morning-folder-cover img{display:block;width:100%;height:auto;object-fit:contain}

.biography{max-width:960px;margin:44px auto 0}.biography-header{padding:36px 42px;background:#edf0e3;border-radius:8px;margin-bottom:38px}.biography-header h1{font-size:clamp(38px,4.8vw,58px);max-width:760px;margin-bottom:24px}.biography-intro{color:var(--olive);font-size:19px;line-height:1.65;max-width:700px;margin-bottom:0}.biography-body{max-width:720px;margin:0 auto;font-size:17px;line-height:1.85}.biography-body p{margin-bottom:23px}.biography-body h2{font-size:clamp(29px,3.2vw,38px);margin:46px 0 25px;line-height:1.2}.biography-highlight{border-left:3px solid #87986b;padding:12px 0 12px 22px;color:var(--olive)}.biography-signature{margin-top:35px;padding-top:25px;border-top:1px solid var(--line)}.biography-signature em{color:var(--muted);font-size:15px}@media(max-width:760px){.biography{margin-top:24px}.biography-header{padding:28px 23px;margin-bottom:28px}.biography-header h1{letter-spacing:-1px}.biography-intro{font-size:17px}.biography-body{font-size:16px}.biography-highlight{padding-left:17px}}

.biography-header-portrait{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;gap:35px}.biography-header-portrait h1{font-size:clamp(36px,4.3vw,54px)}.biography-photo{margin:30px 0}.biography-photo img{display:block;width:100%;max-width:100%;height:auto;border-radius:7px}.biography-photo figcaption{font-size:13px;line-height:1.5;color:var(--muted);padding-top:9px}.biography-portrait{margin:0}.biography-career{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.85fr);gap:32px;align-items:center;margin:34px 0 40px}.biography-career h2{margin-top:0}.biography-career .biography-photo{margin:0}.biography-career p:last-child{margin-bottom:0}.biography-photo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:30px 0}.biography-photo-pair .biography-photo{margin:0}.biography-daily-photo{max-width:520px;margin:34px auto}.biography-life-photo{margin:30px 0 42px}@media(max-width:760px){.biography-header-portrait{grid-template-columns:1fr;gap:24px}.biography-portrait{max-width:380px;width:100%;margin:0 auto}.biography-career{grid-template-columns:1fr;gap:22px}.biography-career .biography-photo{max-width:300px;width:100%;margin:0 auto}.biography-photo-pair{grid-template-columns:1fr;gap:22px}.biography-photo{margin:26px 0}.biography-photo figcaption{font-size:12px}}

.biography-photo-credit{display:block;font-size:11px;color:var(--muted);margin-top:4px}

.biography-accompaniment{margin-top:28px}.biography-accompaniment .button{white-space:normal;text-align:center}

.auth-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px}.auth-choice{padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);font:inherit;cursor:pointer}.auth-choice[aria-pressed="true"]{background:var(--olive);border-color:var(--olive);color:var(--white)}.auth-choice:focus-visible{outline:3px solid var(--ink);outline-offset:3px}@media(max-width:420px){.auth-choices{grid-template-columns:1fr}}

.recipe-photo-slot{display:contents}
.recipe-adaptations{clear:both;margin-top:1.5rem}

.biography-recipes-moment{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.85fr);gap:30px;align-items:center;margin:26px 0}.biography-recipes-moment .biography-photo{margin:0}.biography-banana img{height:auto}@media(max-width:760px){.biography-recipes-moment{grid-template-columns:1fr;gap:20px}.biography-banana{max-width:380px;justify-self:center}}

input::placeholder,textarea::placeholder{color:#72776e;opacity:1;font-weight:400}

.brand-avatar{display:block;width:76px;height:76px;flex:0 0 76px;overflow:hidden;border-radius:50%;background:var(--lime)}.brand-avatar .brand-portrait{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;border-radius:0;transform:scale(2.1);transform-origin:65% 9%}@media(max-width:760px){.brand-avatar{width:58px;height:58px;flex-basis:58px}}

.brand-avatar{position:relative}.brand-avatar .brand-portrait{position:absolute;width:200%;height:200%;max-width:none;left:-65%;top:-8%;object-fit:cover;object-position:50% 50%;transform:none;image-rendering:auto}

.brand-avatar .brand-portrait{width:150%;height:150%;left:-25%;top:-1%}.biography-header{text-align:center}.biography-header h1,.biography-header .biography-intro{margin-left:auto;margin-right:auto}

.brand-avatar{display:block;position:relative;width:88px;height:88px;flex:0 0 88px;overflow:hidden;border-radius:50%}.brand-avatar picture{display:block;width:100%;height:100%}.brand-avatar .brand-portrait{display:block;position:static;width:100%;height:100%;max-width:100%;left:auto;top:auto;object-fit:cover;object-position:center;transform:none;border-radius:0}@media(max-width:760px){.brand-avatar{width:64px;height:64px;flex-basis:64px}}

.biography>.biography-header{background:transparent;border:0;border-radius:0;box-shadow:none;padding:12px 0 24px;margin-bottom:24px;text-align:center}.biography-avatar{display:block;width:128px;height:128px;margin:0 auto 28px;border-radius:50%;object-fit:cover;box-shadow:0 7px 24px #303b2d14}@media(max-width:760px){.biography>.biography-header{padding-top:0}.biography-avatar{width:112px;height:112px;margin-bottom:24px}}

body:has(.biography) .site-header .brand-avatar{display:none}

/* Photos originales du blogue, dans les proportions de la nouvelle interface. */
.blog-recipe-photo .recipe-cover,.editorial-recipe-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;max-height:480px;background:#f3f0e6;border-radius:12px}.blog-recipe-photo{max-width:760px;margin:0 auto 24px}.editorial-recipe{max-width:960px;margin:32px auto}.editorial-recipe .page-head{max-width:800px;margin:32px auto;text-align:center}.editorial-recipe-photo{max-width:760px;margin:30px auto}.editorial-recipe-photo figcaption{font-size:12px;color:var(--muted);margin-top:8px}.editorial-recipe-body{max-width:720px;margin:36px auto}.editorial-recipe-body h2{font-size:30px;margin:30px 0 18px}.editorial-recipe-body li{margin:10px 0}.editorial-recipe-invitation{padding:26px;background:var(--lime);border-radius:10px;margin-top:36px}.editorial-recipe-invitation .text-link{display:block;margin-top:18px}.editorial-card-title{font-size:25px;margin:0}.editorial-page .site-header nav{flex-wrap:wrap}.editorial-page .card-image{background:#f3f0e6}.editorial-page .card-image img{object-fit:contain}@media(max-width:760px){.editorial-recipe{margin-top:20px}.editorial-recipe .page-head{margin:24px auto}.editorial-recipe .page-head h1{font-size:40px}.editorial-recipe-invitation{padding:20px}}

/* Compact cooking choices: keep controls comfortable without empty card height. */
.customize{margin-top:20px;padding:22px 24px}
.customize>h2{font-size:25px;margin-bottom:16px}
.customize .universe-choices{gap:14px;margin-bottom:18px}
.customize .universe-choice{padding:17px 19px}
.customize .universe-heading{min-height:0;gap:11px}
.customize .universe-choice strong{font-size:22px;margin-bottom:6px}
.customize .universe-description{line-height:1.5}
.customize .universe-choice .universe-options{margin-top:14px;padding-top:12px;gap:8px}
.customize .cuisine-option:has(.protein-help-link){display:flex;align-items:center;flex-wrap:wrap;gap:0 14px}
.customize .protein-help-link{margin:0;font-size:12px;min-height:28px}
.customize .food-focus{margin-top:18px;padding-top:12px}
.customize .food-focus legend{margin-bottom:0}
.customize .food-focus-choices{gap:8px 22px;margin:4px 0 10px}
.customize #food-focus-other-wrap{max-width:680px;margin:10px 0}
.customize #food-focus-other{min-height:78px;height:78px;line-height:1.5}
.customize #food-focus-preview:empty{display:none}
.customize #food-focus-help{margin:8px 0 0;max-width:900px}
@media(max-width:760px){
 .customize{padding:18px;margin-top:16px}
 .customize .universe-choices{gap:10px}
 .customize .universe-choice{padding:15px}
 .customize .universe-choice strong{font-size:21px}
 .customize .universe-description{font-size:13px}
 .customize .universe-choice .universe-options{margin-top:12px;padding-top:10px}
 .customize .food-focus-choices{gap:8px 18px}
 .customize #food-focus-other{height:88px;min-height:88px}
}

/* Reserve the featured photo space while its actual image is decoded. */
.hero-photo-loading{min-height:400px;flex:1;background:#eeeee3}
@media(max-width:760px){.hero-photo-loading{min-height:270px}}

.guided-support-notice{position:fixed;right:20px;bottom:20px;z-index:8;max-width:340px;padding:18px 42px 18px 20px;border:1px solid var(--line);border-radius:8px;background:var(--white);box-shadow:0 5px 24px #303b2d18;font-size:14px}.guided-support-notice p{margin:0 0 6px}.support-dismiss{position:absolute;right:6px;top:6px;width:32px;height:32px;font-size:22px}.guided-support-link{display:block;margin:18px auto 0}#guided-support-form textarea{min-height:80px}#support-send-status{font-size:14px;margin:12px 0 0}@media(max-width:760px){.guided-support-notice{left:12px;right:12px;bottom:12px;max-width:none}}
