*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:75px}body{margin:0;color:#43332b;background:#fcf9f5;font:16px/1.6 'DM Sans',Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c27643;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Playfair Display',Georgia,serif;font-weight:500;letter-spacing:-.03em}h2 i,h1 i{font-weight:400;color:#ae6539}.wrap{width:min(1180px,calc(100% - 64px));margin:auto}.skip{position:absolute;top:-100px;left:10px;background:white;padding:10px;z-index:300}.skip:focus{top:0}.site-header{background:#fdfaf7;border-bottom:1px solid #eaddd0}.header-row{height:83px;display:flex;justify-content:space-between;align-items:center;gap:20px}.site-logo{display:flex;align-items:center;gap:11px;font:21px Georgia,serif;letter-spacing:-.02em}.site-logo i{color:#a45d34}.logo-mark{border:1px solid #bb6e3c;border-radius:50%;color:#ab5830;width:40px;height:40px;display:grid;place-items:center;font:italic 27px Georgia,serif;position:relative}.logo-mark span{position:absolute;font:12px Arial;bottom:2px;right:2px}.back{font-weight:700;font-size:13px;color:#9d5731;border-bottom:1px solid #c7a288;padding-bottom:4px}.lab-hero{background:linear-gradient(115deg,#faefe4,#f6e6d6 67%,#edcdb4);padding:78px 0 80px;overflow:hidden}.lab-hero__grid{display:grid;grid-template-columns:1.3fr .7fr;align-items:center;gap:55px}.kicker{color:#ac6941;text-transform:uppercase;font-size:11px;font-weight:700;letter-spacing:.2em;margin:0 0 13px}h1{font-size:clamp(3.3rem,6vw,6.2rem);line-height:1.04;margin:0 0 24px}.period{color:#d9a67d}.lede{font-size:1.12rem;color:#67594e;max-width:590px;margin:0 0 32px;line-height:1.8}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{border:0;display:inline-flex;justify-content:center;align-items:center;gap:8px;font-size:.9rem;font-weight:700;padding:13px 21px;border-radius:5px;transition:filter .15s,transform .15s}.btn:hover{filter:brightness(.95);transform:translateY(-1px)}.btn--main{color:#fff;background:#a9552c}.btn--ghost{border:1px solid #c08f6d;color:#874a2b;background:transparent}.btn--white{width:100%;color:#874426;background:#fff}.btn--text{width:100%;color:#f8e4d5;background:transparent;text-decoration:underline;text-underline-offset:4px;padding:10px}.lab-art{height:300px;display:grid;place-items:center;position:relative}.art-round{width:250px;height:250px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.44);box-shadow:0 25px 75px #92553224;border:1px solid #e4bda0;position:relative}.art-round:before,.art-round:after{content:'';border:1px dashed #c69b7b;border-radius:50%;position:absolute;inset:14px}.art-round:after{inset:35px;border-style:solid;opacity:.35}.math-pi{font:italic 140px Georgia,serif;color:#a65c32;line-height:1;transform:translateY(-14px)}.art-formula{position:absolute;bottom:51px;background:#fbf1e7;border:1px solid #d7a981;padding:6px 12px;border-radius:20px;font-weight:700;color:#a15a35;font-size:12px}.art-dots{position:absolute;width:9px;height:9px;background:#c0875d;border-radius:100%}.art-dots--one{top:17px;left:13px}.art-dots--two{right:28px;bottom:26px}.art-tag{position:absolute;right:0;top:0;color:#a2673d;letter-spacing:.19em;font:700 11px 'DM Sans',Arial}.subnav{background:#fff;border-bottom:1px solid #eee1d7}.subnav-inner{display:flex;gap:45px;flex-wrap:wrap;min-height:62px;align-items:center}.subnav a{font-weight:700;font-size:12px;color:#836452}.subnav a:hover{color:#a9552c}.tools{padding:55px 0 60px}.tool{margin:0 0 90px;scroll-margin-top:25px}.tool-head{display:flex;align-items:flex-start;gap:24px;margin-bottom:27px}.stepnum{width:57px;height:57px;border:1px solid #d6ae92;color:#9b542f;border-radius:50%;display:grid;place-items:center;font:italic 26px Georgia,serif;flex:none}.tool-head h2{font-size:clamp(2rem,4.2vw,3.65rem);line-height:1.15;margin:0 0 12px}.tool-head p:last-child{font-size:.97rem;color:#726155;margin:0;max-width:730px}.tool-body{display:grid;grid-template-columns:1.16fr .84fr;border:1px solid #e8d8c7;background:#fff;box-shadow:0 10px 35px #6f482113}.tool-inputs{padding:38px 42px}.field{margin:0 0 20px}.field label,.disc-grid label{font-weight:700;display:block;font-size:13px;margin:0 0 8px;color:#5e4438}.field label span{font-weight:400;color:#a18b7c}input,select{width:100%;border:1px solid #d9cbbf;border-radius:4px;background:#fff;padding:12px 13px;color:#4f382e;min-height:48px}input:focus,select:focus{border-color:#b26a40}input[aria-invalid=true]{border-color:#bb3228}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field-grid>.field{min-width:0}.smalltip,.fine{font-size:.81rem;color:#857064;line-height:1.6}.smalltip{margin:2px 0 0}.fine{margin:0 0 18px}.result{background:#a45b34;color:#fff;padding:39px 38px;display:flex;flex-direction:column;justify-content:center;min-width:0}.result-kicker{text-transform:uppercase;letter-spacing:.2em;font-size:11px;font-weight:700;color:#f9ddca}.big-number{font:500 clamp(3rem,5vw,4.65rem)/1.18 'Playfair Display',Georgia,serif;letter-spacing:-.04em;margin:15px 0 2px;overflow-wrap:anywhere}.big-number small{font:.4em 'DM Sans',sans-serif;letter-spacing:0}.result-secondary{font-weight:600;color:#ffebdd;margin-bottom:30px}.formula{border-top:1px solid #d39c79;border-bottom:1px solid #d39c79;padding:15px 0;margin:0 0 16px;font-size:14px;color:#ffeadb}.caution{font-size:.78rem;color:#f8dfcc;margin-top:6px;line-height:1.7}.result-buttons{margin-top:19px}.formula-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#f8f1ea;border:1px solid #eadaca;padding:14px 16px;font-size:13px;color:#776251;margin:3px 0 24px}.formula-bar strong{font-size:20px;color:#9c552f;white-space:nowrap}.tool-inputs h3{font-size:1.5rem;margin:10px 0}.ingredient-labels{display:grid;grid-template-columns:2fr 1fr .9fr 34px;gap:8px;font-size:11px;font-weight:700;color:#8c7261;margin-bottom:6px}.ingredient-rows{display:grid;gap:10px}.ingredient-row{display:grid;grid-template-columns:2fr 1fr .9fr 34px;gap:8px}.ingredient-row input,.ingredient-row select{min-width:0;padding:9px;min-height:43px;font-size:13px}.remove-ingredient{background:#f4e8dd;border:0;border-radius:4px;color:#895232;font-size:19px}.add-ingredient{border:1px dashed #ba8e70;background:#fcf7f2;padding:9px 13px;color:#9f552e;font-weight:700;font-size:13px;margin:13px 0 16px;border-radius:4px}.quantities-result{justify-content:flex-start}.ingredients-output{margin:17px 0 24px;border-top:1px solid #d49a74}.ingredients-output p{display:flex;gap:14px;justify-content:space-between;margin:0;padding:12px 0;border-bottom:1px solid #ca8c64;font-size:13px}.ingredients-output span{max-width:70%;overflow-wrap:anywhere}.ingredients-output strong{white-space:nowrap}.copy-status{min-height:20px;font-size:12px;color:#ffeadb;margin:8px 0 0}.range-annotation{font-size:14px;color:#765a48;background:#f8f1e9;padding:16px}.result--parts .caution{margin-top:15px}.methodes{background:#f7eee6;padding:65px 50px 50px}.methodes h2{font-size:clamp(2rem,4vw,3.45rem);margin:0 0 35px}.method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.method-grid article{background:#fff;padding:24px 23px;border:1px solid #eadbd0}.method-no{font-weight:700;color:#a76643;font-size:11px;letter-spacing:.14em;text-transform:uppercase}.method-grid h3{font-size:1.42rem;margin:15px 0}.method-grid p{font-size:13px;color:#766459;line-height:1.7;overflow-wrap:anywhere}.method-grid strong{color:#4c392d}.disc-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.disc-grid input{min-height:42px;font-size:14px}.disc-output{color:#96552e!important;font-weight:700}.lab-note{display:flex;align-items:flex-start;gap:20px;padding:29px 30px 4px;color:#6b584c}.lab-note>span{font-size:27px;color:#af6840}.lab-note strong{font-family:Georgia,serif;font-size:20px}.lab-note p{font-size:14px;margin:5px 0 0}.end-link{text-align:center;padding:60px 0 15px}.footer{background:#392c27;color:#f2dbcb}.footer-inner{display:flex;gap:20px;align-items:center;justify-content:space-between;min-height:84px;font-size:13px}.footer a{text-decoration:underline;text-underline-offset:3px}[hidden]{display:none!important}
@media(max-width:1000px){.tool-body{grid-template-columns:1fr 1fr}.tool-inputs{padding:28px}.result{padding:30px}.method-grid{grid-template-columns:1fr 1fr}.method-grid article:last-child{grid-column:1/-1}}
@media(max-width:700px){.wrap{width:min(100% - 32px,1180px)}.header-row{height:70px}.site-logo{font-size:16px}.logo-mark{height:32px;width:32px;font-size:23px}.back{font-size:12px}.lab-hero{padding:54px 0 44px}.lab-hero__grid{grid-template-columns:1fr;gap:0}.lab-art{display:none}h1{font-size:clamp(2.8rem,11vw,4.6rem)}.lede{font-size:.98rem}.subnav-inner{overflow-x:auto;flex-wrap:nowrap;gap:23px;min-height:56px}.subnav a{white-space:nowrap}.tools{padding-top:40px}.tool{margin-bottom:65px}.tool-head{gap:13px}.stepnum{width:44px;height:44px;font-size:21px}.tool-head h2{font-size:clamp(1.85rem,7vw,2.6rem)}.tool-body{grid-template-columns:1fr}.tool-inputs{padding:25px 20px}.result{padding:30px 24px}.big-number{font-size:3.7rem}.methodes{padding:42px 18px 30px}.method-grid{grid-template-columns:1fr}.method-grid article:last-child{grid-column:auto}.lab-note{padding:25px 2px 0}}
@media(max-width:400px){.ingredient-row,.ingredient-labels{grid-template-columns:1.55fr .85fr .75fr 27px;gap:4px}.ingredient-row input,.ingredient-row select{font-size:12px;padding:5px}.ingredient-labels{font-size:10px}.field-grid{gap:8px}.formula-bar{display:block}.formula-bar strong{display:block;margin-top:4px}}
@media print{.site-header,.lab-hero,.subnav,.footer,.hero-actions,.end-link,.result-buttons,.add-ingredient,.remove-ingredient{display:none!important}body{background:#fff}.wrap{width:100%}.tool{page-break-inside:avoid}.methodes{background:#fff}.result{background:#eee!important;color:#333!important}}

/* V9 — catalogue des moules validés */
.tiny-link{text-decoration:underline;color:#96552e;text-underline-offset:2px}
.preset-grid{margin:8px 0 9px}.preset-grid select{font-size:13px}
.mold-reference{scroll-margin-top:28px;margin:-47px 0 86px;padding:30px 36px;background:#fffaf5;border:1px solid #e8d8c7}
.mold-ref-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.mold-ref-intro h2{font-size:clamp(1.7rem,3vw,2.6rem);margin:0 0 8px}.mold-ref-intro p:last-child{font-size:.92rem;color:#756457;max-width:680px;margin:0}
.catalog-details{border-top:1px solid #e9d8cb}.catalog-details:last-of-type{border-bottom:1px solid #e9d8cb}
.catalog-details summary{cursor:pointer;list-style:none;padding:17px 6px;font-size:.94rem;font-weight:700;color:#9d572f}
.catalog-details summary::after{content:'+';float:right;font-size:1.15rem}.catalog-details[open] summary::after{content:'−'}
.catalog-details summary::-webkit-details-marker{display:none}
.catalog-table-wrap{max-height:390px;overflow:auto;border:1px solid #ead9ca;background:#fff}
.mold-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.mold-table th{position:sticky;top:0;background:#eee2d5;color:#674839;font-weight:700}
.mold-table th,.mold-table td{padding:9px 13px;border-bottom:1px solid #eee4d9}.mold-table td:last-child,.mold-table th:last-child{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.mold-table tr:last-child td{border-bottom:none}
.catalog-details .smalltip{padding:10px 2px}.ref-footnote{font-size:12px;color:#857064;margin:16px 0 0}
@media(max-width:700px){.mold-reference{margin:-15px 0 62px;padding:20px 17px}.mold-ref-intro{display:block}.mold-ref-intro .btn{margin-top:13px}.mold-table th,.mold-table td{padding:9px 7px;font-size:11px}.mold-table td:nth-child(2){max-width:145px}}

/* V10 — menus courts pour affichage mobile ; le menu natif Android peut ignorer une partie du style */
#preset,#base-preset,#target-preset,#portion-preset{font-size:12px;line-height:1.3}
#preset option,#base-preset option,#target-preset option,#portion-preset option{font-size:12px;white-space:nowrap}
#preset optgroup,#base-preset optgroup,#target-preset optgroup,#portion-preset optgroup{font-size:12px}
@media(max-width:700px){#preset,#base-preset,#target-preset,#portion-preset{font-size:12px;padding-left:9px;padding-right:8px}}
