body{margin:0;background:#f7f4ef;color:#24202a;font:16px system-ui,sans-serif}header{background:#29203c;color:white;padding:26px 18px}header h1{margin:6px 0;font-size:34px}header small{letter-spacing:3px;color:#f7d98b}main{max-width:850px;margin:auto;padding:18px}.panel{background:white;border:1px solid #e6dfd8;border-radius:16px;padding:20px;margin:14px 0;box-shadow:0 3px 15px #00000008}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tabs button{padding:18px;font-size:19px}.active{background:#322449!important;color:white!important}button{border:0;border-radius:12px;padding:12px 16px;background:#eae3f0;color:#322449;font-weight:700;cursor:pointer}button:focus,input:focus{outline:2px solid #8a6caa}input,select{box-sizing:border-box;width:100%;padding:12px;border:1px solid #d9d3dd;border-radius:10px;font:inherit;background:white}label{display:block;font-size:13px;font-weight:700;margin:9px 0 5px}.row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:8px;align-items:end;border-bottom:1px solid #eee;padding:12px 0}.row button{margin-bottom:0}.result{display:flex;justify-content:space-between;gap:12px;width:100%;text-align:left;background:#f7f4fa;margin:5px 0;align-items:center}.result small{display:block;font-weight:400;color:#665c6a}.total{background:#302340;color:white;border-radius:16px;padding:22px;margin-top:15px}.total strong{font-size:42px;color:#ffe59b}.flex{display:flex;gap:14px;flex-wrap:wrap}.flex>*{flex:1}.muted{color:#6d6572;font-size:13px}.notice{color:#8c4c10}.good{color:#2d7047}@media(max-width:650px){.row{grid-template-columns:1fr 1fr}.row .name{grid-column:1/-1}.row button{align-self:end}.total strong{font-size:36px}} .row select{width:100%;max-width:100%;padding:10px;border-radius:8px;border:1px solid #d5d5d5;background:white}.row .source{font-size:12px;color:#625b71}.row{flex-wrap:wrap}.row .supplier-field{min-width:155px;flex:1}.row .unit-field{min-width:105px;flex:0.7}.row .name{min-width:170px;flex:2}.result small{display:block}.row>button{align-self:end}  .recipe-heading{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;background:white;padding:9px 0 12px;border-bottom:1px solid #eee;margin-bottom:12px}.recipe-heading h2{margin:0;font-size:22px}.live-summary{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.live-summary>div{background:#f7f4fa;border:1px solid #e7dfea;border-radius:10px;padding:8px 11px;min-width:125px}.live-summary span{display:block;font-size:11px;color:#665c6a;font-weight:600}.live-summary strong{display:block;font-size:19px;color:#322449;font-variant-numeric:tabular-nums}@media(max-width:650px){.recipe-heading{align-items:flex-start;flex-direction:column}.live-summary{width:100%;justify-content:stretch}.live-summary>div{flex:1;min-width:0}.live-summary strong{font-size:17px}} 
/* V18 : habillage visuel uniquement, aucune modification fonctionnelle */
:root{--ink:#202020;--paper:#f7f5f0;--gold:#b68d53;--line:#e6e1d8}
body{background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;letter-spacing:.005em}
header{background:#1c1c1c;color:#fff;border-bottom:4px solid var(--gold);padding:32px 18px}
header small{color:#d5b786;letter-spacing:3.4px;font-size:11px;font-weight:700}
header h1{font-family:Georgia,'Times New Roman',serif;font-size:38px;font-weight:500;letter-spacing:-.025em}
header>div>div{color:#e0dbd1;font-size:14px}
main{max-width:900px}
.panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 6px 25px #201b1510}
.panel h2{font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-.015em}
button{background:#eee9df;color:#292521;border-radius:8px;transition:background .15s,color .15s}
button:hover{background:#e4d8c4}
.tabs button{border:1px solid #dcd4c8;background:#fff;color:#2a2723}
.tabs .active,.active{background:#242424!important;color:#fff!important;border-color:#242424!important}
input,select{border-color:#d8d1c6;border-radius:7px;background:#fff}
button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
label{color:#38332c}
.muted{color:#726d66}
.notice{color:#9a6024}
.good{color:#38714c}
.row{border-bottom-color:#ebe7df}
.row .source{color:#716b63}
.result{background:#f8f6f1;color:#242321;border:1px solid #ede7db}
.result:hover{background:#f0eadf}
.result small{color:#777168}
.recipe-heading{background:#fff;border-bottom:1px solid var(--line)}
.live-summary>div{background:#f6f2e9;border:1px solid #e5d9c7;border-radius:8px}
.live-summary span{color:#756a5a}
.live-summary strong{color:#242321}
.total{background:#242321;border:1px solid #3c362e;border-radius:12px}
.total strong{color:#e6c18b}
#strawPrompt{background:#f6f2e9!important;border:1px solid #e5d9c7;border-radius:9px!important}
@media(max-width:650px){header h1{font-size:32px}.panel{padding:15px}}

/* V19 — identité INN’OUI : logo fourni via capture du site */
header{background:#fff!important;color:#082944!important;border-bottom:3px solid #c55344;padding:16px 18px!important}
header h1{color:#082944!important}
.brand-header{max-width:850px;margin:auto;display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.brand-logo{width:205px;max-width:65vw;height:auto;object-fit:contain;flex:none}
.brand-title{flex:1;min-width:240px}
.brand-title>div{color:#4c6375}
.brand-footer{background:#fff;border-top:2px solid #e7e8e8;padding:22px 18px;margin-top:32px;text-align:center;color:#4c6375}
.brand-footer img{width:150px;max-width:60vw;height:auto;display:block;margin:0 auto 10px}
.brand-footer small{font-size:12px;letter-spacing:1px}
@media(max-width:650px){.brand-header{justify-content:center;text-align:center;gap:10px}.brand-title{min-width:0;flex-basis:100%}}
.ft-step-ingredient{background:#fff;color:#092c48;border:1px solid #d8e2e8;border-radius:9px;padding:12px;margin:9px 0}.ft-step-ingredient label,.ft-step-ingredient h4{color:#092c48!important}.ft-step-ingredient input,.ft-step-ingredient select{background:#fff!important;color:#092c48!important;border:1px solid #aabac5!important}.ft-step-ingredient .ft-ingredient-row{display:grid;grid-template-columns:minmax(120px,2fr) minmax(75px,1fr) minmax(85px,1fr);gap:10px}@media(max-width:600px){.ft-step-ingredient .ft-ingredient-row{grid-template-columns:1fr 1fr}.ft-step-ingredient .ft-ingredient-row label:first-child{grid-column:1/-1}} 
/* V24 : seule la visibilité du bouton de nouvelle étape est renforcée. */
.ft-wizard.active .ft-button.ft-add-montage{display:block!important;width:100%;margin:20px 0 12px!important;padding:19px 22px!important;background:#092c48!important;color:#fff!important;border:3px solid #c55344!important;border-radius:13px!important;font-size:16px!important;font-weight:800!important;letter-spacing:.6px!important;box-shadow:0 5px 15px rgba(9,44,72,.20)!important;cursor:pointer!important}
.ft-wizard.active .ft-button.ft-add-montage:hover{background:#144a70!important;transform:translateY(-1px)}

/* V25 — fiche technique reliée aux mercuriales */
.ft-suggestions{display:grid;gap:3px;margin:8px 0;border:1px solid #b5c7d4;border-radius:9px;overflow:hidden;background:#fff;max-height:245px;overflow-y:auto}.ft-suggestions button{padding:11px 12px;text-align:left;border:0;border-bottom:1px solid #e4e9ee;background:#fff;color:#092c48;cursor:pointer;font-size:14px}.ft-suggestions button:hover{background:#eaf3f7}.ft-linked{margin:8px 0;padding:8px;border-radius:7px;background:#e8f5ef;color:#175a39;font-weight:700}.ft-cost-box{padding:17px;margin:16px 0;background:#f1f6f8;color:#092c48;border:1px solid #bfd0dc;border-radius:12px}.ft-cost-box p{margin:7px 0}.ft-cost-warning{color:#a43b24!important;font-weight:700}
