/* Propre & Rentable — styles (mobile d'abord, sans dépendance) */
@font-face { font-family: 'Nunito'; src: url(fonts/Nunito-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(fonts/Nunito-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url(fonts/Poppins-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url(fonts/PoppinsExtraBold-Regular.woff2) format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --green: #0F6B57; --green2: #3FAE7A; --blue: #1E88C8; --sun: #F6C445; --cream: #FFF9EE; --ink: #13312B; --danger: #D64545;
  --card: #FFFFFF; --muted: #4E6660; --line: rgba(19, 49, 43, .13); --tint: #E8F3EE;
  --r: 18px; --r-sm: 12px; --shadow: 0 1px 2px rgba(19, 49, 43, .06), 0 4px 14px rgba(19, 49, 43, .07);
  --nav-h: 66px; --gutter: 16px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 16px/1.5 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
h1, h2, h3, .h1, .h2 { font-family: 'Poppins', 'Nunito', system-ui, sans-serif; font-weight: 700; line-height: 1.2; margin: 0; }
a { color: var(--green); font-weight: 700; }
p { margin: 0; }
svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile svg, .ob-art svg, .empty-art { stroke: none; }
button { font: inherit; color: inherit; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.center { text-align: center; }
[hidden] { display: none !important; }

/* Barre du haut */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) var(--gutter) 10px; background: var(--green); color: var(--cream);
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-height: 44px; }
.brand-mark { width: 38px; height: 38px; stroke: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt strong { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.brand-txt small { font-size: 13px; opacity: .85; font-weight: 700; }
.help-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--cream); background: rgba(255, 249, 238, .14); }
.help-btn svg { width: 26px; height: 26px; }

/* Zone principale */
main { max-width: 560px; margin: 0 auto; padding: 16px var(--gutter) calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; outline: none; }
.loading { padding: 60px 0; text-align: center; color: var(--muted); }
.card { background: var(--card); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.h1 { font-size: 23px; font-weight: 800; letter-spacing: -.01em; }
.h2 { font-size: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.h2 small { font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 700; }
.h2 svg { color: var(--green); }
.h2row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--green2); }
.hero { display: flex; flex-direction: column; gap: 6px; padding: 4px 2px; }
.hero p { color: var(--muted); }
.hero.slim .h1 { font-size: 24px; }
.pill { background: var(--tint); color: var(--green); font-weight: 700; font-size: 14px; border-radius: 99px; padding: 3px 10px; white-space: nowrap; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px;
  border-radius: 14px; border: 2px solid transparent; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: transform .08s ease, background .15s;
}
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--green); color: #fff; box-shadow: 0 3px 0 #0A4F40; }
.btn.ghost { background: #fff; color: var(--green); border-color: var(--line); }
.btn.block { width: 100%; }
.btn.sm { min-height: 44px; padding: 0 12px; font-size: 15px; border-radius: 12px; }
.btn.icon-only { padding: 0; width: 44px; }
.btn.muted-btn { color: var(--muted); }
.link-btn { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 12px; background: var(--tint); text-decoration: none; font-size: 15px; }
.cta { padding-top: 4px; }
.cta .btn { box-shadow: 0 3px 0 #0A4F40, 0 8px 22px rgba(15, 107, 87, .28); }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions .btn { padding: 0 10px; font-size: 16px; }

/* Cartes produits */
.recipe-list { display: flex; flex-direction: column; gap: 10px; }
.recipe-card {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 12px 12px 12px; min-height: 84px; text-align: left;
  background: #fff; border: 2px solid transparent; border-radius: var(--r); box-shadow: var(--shadow); cursor: pointer;
}
.recipe-card.is-selected { border-color: var(--green2); }
.recipe-card:active { transform: scale(.99); }
.rc-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rc-txt strong { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; line-height: 1.25; }
.rc-txt small { color: var(--muted); font-size: 14px; }
.rc-go { color: var(--green); }
.tile { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; flex: none; }
.tile svg { width: 44px; height: 44px; }
.tile.lg { width: 56px; height: 56px; }
.tile.sm { width: 44px; height: 44px; border-radius: 12px; }
.tile.sm svg { width: 32px; height: 32px; }
.install-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--green); color: #fff; text-decoration: none; min-height: 64px; }
.install-card > svg:first-child { width: 30px; height: 30px; color: var(--sun); }
.install-card span { flex: 1; display: flex; flex-direction: column; }
.install-card small { font-weight: 400; opacity: .9; font-size: 14px; }

/* Encadrés */
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); font-size: 15px; }
.note svg { margin-top: 1px; }
.note.warn { background: #FDF0C8; border: 1.5px solid #E9B92D; }
.note.warn svg { color: #8A6200; }
.note.info { background: #E2F0FA; }
.note.info svg { color: var(--blue); }
.note.ok { background: var(--tint); }
.note.ok svg { color: var(--green); }
.note.danger { background: #FCEAEA; border: 1.5px solid var(--danger); }
.note.danger svg { color: var(--danger); }

/* Écran quantités */
.recipe-head, .res-head { display: flex; align-items: center; gap: 12px; }
.recipe-head > div, .res-head > div { flex: 1; min-width: 0; }
.recipe-head .h1, .res-head .h1 { font-size: 21px; }
.res-head p { color: var(--muted); font-weight: 700; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  flex: 1 1 0; min-width: 64px; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 2px solid var(--line); background: #fff;
  font-weight: 700; font-size: 17px; cursor: pointer; white-space: nowrap;
}
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.stepper { display: flex; gap: 8px; align-items: stretch; }
.step-btn { width: 56px; min-height: 56px; border-radius: 14px; border: 2px solid var(--line); background: var(--tint); color: var(--green); font-size: 28px; font-weight: 700; cursor: pointer; flex: none; }
.stepper .input-suffix { flex: 1; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld > span:first-child { font-weight: 700; font-size: 15px; }
.input-suffix { display: flex; align-items: stretch; border: 2px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; min-height: 52px; }
.input-suffix:focus-within { border-color: var(--green2); box-shadow: 0 0 0 3px rgba(63, 174, 122, .2); }
.input-suffix input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 12px; font: 700 18px 'Nunito', sans-serif; color: var(--ink); }
.input-suffix input::placeholder { color: #8FA39D; font-weight: 400; font-size: 16px; }
.input-suffix em, .input-suffix select { font-style: normal; display: flex; align-items: center; padding: 0 12px; background: var(--tint); color: var(--green); font-weight: 700; font-size: 15px; border: 0; }
.input-suffix select { font-family: inherit; appearance: none; -webkit-appearance: none; padding-right: 26px; cursor: pointer;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230F6B57' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 8px center / 14px; }
.input-suffix.big { min-height: 56px; }
.input-suffix.big input { font-size: 22px; text-align: center; }
.select { min-height: 52px; border: 2px solid var(--line); border-radius: 12px; padding: 0 12px; font: 700 16px 'Nunito', sans-serif; color: var(--ink); background: #fff; width: 100%; }
.bottle-count { display: flex; align-items: center; gap: 10px; background: var(--tint); border-radius: var(--r-sm); padding: 10px 12px; font-size: 16px; }
.bottle-count small { color: var(--muted); }
.bc-ico { width: 32px; height: 32px; color: var(--green); stroke: none; }
.ing-list { list-style: none; margin: 0; padding: 0; }
.ing-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--line); }
.ing-list li:first-child { border-top: 0; padding-top: 2px; }
.ing-name { display: flex; flex-direction: column; font-weight: 700; min-width: 0; }
.ing-name small, .ing-qty small { font-weight: 400; color: var(--muted); font-size: 13px; }
.ing-qty { display: flex; flex-direction: column; align-items: flex-end; text-align: right; white-space: nowrap; }
.ing-qty strong { font-family: 'Poppins', sans-serif; font-size: 18px; color: var(--green); }

/* Blocs repliables */
.fold { gap: 0; }
.fold summary { display: flex; align-items: center; gap: 10px; min-height: 44px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary span { flex: 1; }
.fold summary small { font-family: 'Nunito', sans-serif; color: var(--muted); }
.fold summary::after { content: ''; width: 10px; height: 10px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .6; transition: transform .2s; margin-right: 4px; }
.fold[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.fold[open] summary { margin-bottom: 10px; }
.fold summary svg { color: var(--green); }
.fold.danger { background: #FFF6F5; border: 2px solid var(--danger); }
.fold.danger summary, .fold.danger summary svg { color: #B02E2E; }
.steps { margin: 0; padding-left: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; min-height: 28px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font: 700 14px/28px 'Poppins', sans-serif; text-align: center; }
.safe-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.safe-list li::marker { color: var(--danger); }
.safe-sub { font-weight: 700; margin: 12px 0 6px; color: #B02E2E; }
.sources { margin: 4px 0 0; padding-left: 18px; font-size: 13px; word-break: break-all; }

/* Mes prix */
.price-card { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.pc-head { display: flex; flex-direction: column; }
.pc-head strong { font-size: 17px; }
.pc-head small { color: var(--green); font-weight: 700; }
.pc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pc-out { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; }
.pc-out svg { width: 18px; height: 18px; color: var(--green2); stroke-width: 3; margin-top: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: 1fr; gap: 10px; }
.saved { display: flex; align-items: center; justify-content: center; gap: 6px; }
.saved svg { width: 18px; height: 18px; color: var(--green2); stroke-width: 3; }
.saved.flash { animation: flash 1s ease; }
@keyframes flash { 0% { color: var(--green); transform: scale(1.06); } 100% { transform: none; } }

/* Résultat */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { background: #fff; border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kpi span { font-size: 14px; font-weight: 700; color: var(--muted); }
.kpi strong { font-family: 'Poppins', sans-serif; font-size: 21px; line-height: 1.2; overflow-wrap: break-word; }
.kpi small { font-size: 13px; color: var(--muted); }
.kpi.main { grid-column: 1 / -1; background: var(--green); color: #fff; }
.kpi.main span { color: rgba(255, 255, 255, .85); }
.kpi.main strong { font-size: 30px; font-weight: 800; }
.kpis.two { margin-top: 4px; }
.kpis.two .kpi { box-shadow: none; border: 2px solid var(--line); }
.kpi.pos strong { color: var(--green); }
.kpi.neg strong { color: var(--danger); }
.detail { width: 100%; border-collapse: collapse; font-size: 15px; }
.detail td { padding: 8px 0; border-top: 1px dashed var(--line); vertical-align: top; }
.detail td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 10px; }
.detail td small { display: block; color: var(--muted); font-size: 13px; }
.detail tr.tot td { border-top: 2px solid var(--ink); font-family: 'Poppins', sans-serif; font-size: 17px; }
.detail em { color: #8A6200; font-style: normal; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--tint); border-radius: 14px; padding: 4px; gap: 4px; }
.seg button { min-height: 46px; border: 0; border-radius: 11px; background: transparent; font-weight: 700; font-size: 15px; color: var(--green); cursor: pointer; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(19, 49, 43, .15); }
.range { display: flex; flex-direction: column; gap: 6px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.range-top strong { font-family: 'Poppins', sans-serif; font-size: 22px; color: var(--green); }
.range-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--green2), var(--green)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -11px; border-radius: 50%; background: #fff; border: 4px solid var(--green); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
input[type=range]::-moz-range-track { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--green2), var(--green)); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--green); }
.sell-box { background: #FEF6DC; border: 2px solid var(--sun); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.sell-box span { font-weight: 700; }
.sell-box strong { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 30px; line-height: 1.15; }
.sell-box small { color: var(--muted); font-size: 13px; }
#res-dyn { display: flex; flex-direction: column; gap: 12px; }
.be { display: flex; flex-direction: column; gap: 8px; background: var(--tint); border-radius: 14px; padding: 12px 14px; }
.be p { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.be p svg { color: var(--green); stroke-width: 3; width: 20px; height: 20px; margin-top: 2px; }
.bar { height: 14px; border-radius: 7px; background: var(--green2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--sun); border-right: 2px solid #fff; }
.bar-legend { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--muted); }
.bar-legend span:first-child::before, .bar-legend span:last-child::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; background: var(--sun); }
.bar-legend span:last-child::before { background: var(--green2); }
.disclaimer { font-size: 13px; color: var(--muted); text-align: center; padding: 0 8px; }

/* Historique */
.lot { gap: 10px; }
.lot-head { display: flex; gap: 10px; align-items: center; }
.lot-head div { display: flex; flex-direction: column; min-width: 0; }
.lot-head strong { font-family: 'Poppins', sans-serif; font-size: 16px; }
.lot-head small { color: var(--muted); font-size: 13px; }
.lot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.lot-grid div { background: var(--cream); border-radius: 10px; padding: 8px 10px; }
.lot-grid dt { font-size: 12px; color: var(--muted); font-weight: 700; }
.lot-grid dd { margin: 0; font-weight: 700; font-size: 16px; }
.lot-grid dd.pos { color: var(--green); }
.lot-grid dd.neg { color: var(--danger); }
.lot-actions { display: flex; gap: 8px; }
.lot-actions .btn:not(.icon-only) { flex: 1; }
.empty { align-items: center; text-align: center; padding: 28px 18px; }
.empty .empty-art { width: 72px; height: 72px; color: var(--green); }
.empty .empty-art path:first-child { fill: #fff; stroke: currentColor; stroke-width: 2.6; }
.empty .empty-art path:last-child { fill: var(--green2); }
.empty-ico { width: 48px; height: 48px; color: var(--green2); }
.empty p { color: var(--muted); }

/* Aide */
.how h3 { font-size: 16px; margin: 6px 0 6px; }
.how ol { margin: 0 0 10px; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
.kbd { display: inline-block; min-width: 26px; text-align: center; border: 1.5px solid var(--line); border-radius: 6px; font-weight: 800; background: var(--cream); }

/* Barre de navigation */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(19, 49, 43, .06);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 700; position: relative; }
.tabbar a svg { width: 26px; height: 26px; }
.tabbar a.on { color: var(--green); }
.tabbar a.on::before { content: ''; position: absolute; top: 0; left: 22%; right: 22%; height: 4px; border-radius: 0 0 4px 4px; background: var(--green); }
.tabbar a.on svg { background: var(--tint); border-radius: 10px; padding: 2px; width: 38px; height: 28px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; z-index: 60; max-width: calc(100% - 32px); width: max-content; text-align: center; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Onboarding */
.ob { position: fixed; inset: 0; z-index: 50; background: var(--cream); }
.ob-in { height: 100%; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); position: relative; }
.ob-skip { position: absolute; top: calc(8px + env(safe-area-inset-top)); right: 8px; z-index: 2; min-height: 44px; padding: 0 14px; border: 0; background: transparent; color: var(--green); font-weight: 700; font-size: 16px; cursor: pointer; }
.ob-viewport { flex: 1; overflow: hidden; }
.ob-track { display: flex; height: 100%; transition: transform .35s ease; }
.ob-slide { flex: 0 0 100%; height: 100%; overflow-y: auto; padding: 56px 24px 12px; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.ob-art { display: grid; place-items: center; background: #fff; border-radius: 28px; padding: 20px 10px; box-shadow: var(--shadow); }
.ob-art svg { width: 100%; max-width: 260px; height: auto; aspect-ratio: 200 / 140; }
.ob-slide h2 { font-size: 24px; font-weight: 800; margin-top: 6px; }
.ob-slide p { color: var(--muted); font-size: 17px; }
.ob-install { text-align: left; display: flex; flex-direction: column; gap: 10px; }
.ob-slide:last-child .ob-art { padding: 10px; }
.ob-slide:last-child .ob-art svg { max-width: 150px; }
.ob-foot { padding: 12px 24px 20px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.ob-foot .btn { width: 100%; }
.ob-dots { display: flex; gap: 8px; }
.ob-dots i { width: 9px; height: 9px; border-radius: 5px; background: rgba(15, 107, 87, .25); transition: width .25s; }
.ob-dots i.on { width: 26px; background: var(--green); }

@media (min-width: 420px) { .grid3 { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 419px) { .kpis.two { grid-template-columns: 1fr; } .kpis.two .kpi { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 10px; } .kpis.two .kpi small { flex-basis: 100%; } }
@media (max-width: 359px) { .pc-row, .grid2 { grid-template-columns: 1fr; } .kpi strong { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Données enrichies des recettes */
.opt { display: inline-block; align-self: flex-start; margin: 2px 0; font-size: 12px; font-weight: 700; color: var(--blue); background: #E2F0FA; border-radius: 6px; padding: 0 6px; vertical-align: 2px; }
.ing-note { font-style: italic; }
.steps-note { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.steps-note.warn { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); background: #FDF0C8; border-radius: 10px; padding: 8px 10px; }
.steps-note.warn svg { color: #8A6200; width: 20px; height: 20px; margin-top: 1px; }
.safe-sub.ok { color: var(--green); }
.qc-body { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.tick-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 5px; }
.tick-list li::marker { color: var(--green2); }
.probs { display: flex; flex-direction: column; gap: 10px; }
.prob { background: var(--cream); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.prob em { font-style: normal; font-weight: 700; color: var(--green); }

.opt-miss { padding: 0 4px; }
.pc-row { align-items: end; }

/* Feuille de partage (secours) */
.sheet { position: fixed; inset: 0; z-index: 55; background: rgba(19, 49, 43, .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet-in { background: var(--cream); width: 100%; max-width: 560px; border-radius: 22px 22px 0 0; padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.sheet textarea { width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 10px; font: 400 15px/1.45 'Nunito', sans-serif; color: var(--ink); background: #fff; resize: none; }
