/* BrewAppBeer v2 — « Ma brasserie » (niveau Vivant)
   Règle de mise en page : sur une même ligne, toutes les cases ont la même taille,
   et les textes sont alignés sur les mêmes lignes de base (hauteurs de ligne fixes,
   un nombre de lignes fixe par zone, texte trop long coupé avec « … »). */

:root {
  --paper-100: #FBF8F2; --paper-200: #F5F0E8; --paper-300: #EDE5D8;
  --line: #E6DCC9; --line-strong: #D9CAAE;
  --ink: #2C1810; --ink-2: #6B4F3A; --ink-3: #8C7460;
  --amber-100: #F8E9D2; --amber-400: #DA9648; --amber-600: #B8620A; --amber-700: #A55609; --amber-800: #8A4A08;
  --green-100: #E7EEDD; --green-400: #8CA96D; --green-600: #5C7A3E; --green-800: #405429;
  --red-100: #F3DCD6; --red-700: #9A3B2E;
  --radius: 12px; --radius-sm: 8px;
  --gap: 16px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-title: 'Lora', Georgia, serif;
}

* { box-sizing: border-box; }
body.b2 { margin: 0; background: var(--paper-100); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; }
.b2 a { color: inherit; }

/* ── Barre du haut ─────────────────────────────────────────── */
.b2-top { display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--line); }
.b2-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 16px; }
.b2-nav { display: flex; gap: 4px; }
.b2-nav__link { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink-2); font-size: 14px; }
.b2-nav__link:hover { background: var(--paper-200); }
.b2-nav__link.is-active { background: var(--amber-100); color: var(--amber-800); font-weight: 500; }
.b2-user { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.b2-user__name { font-size: 14px; color: var(--ink-2); }

/* ── Boutons (même hauteur partout : 36 px) ──────────────────── */
.b2-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: 500 14px/1 var(--font); cursor: pointer; text-decoration: none; }
.b2-btn:hover { border-color: var(--amber-400); }
.b2-btn--primary { background: var(--amber-600); border-color: var(--amber-600); color: #fff; }
.b2-btn--primary:hover { background: var(--amber-700); border-color: var(--amber-700); }
.b2-btn--ghost { background: transparent; border-color: transparent; color: var(--ink-2); }

/* ── Page ─────────────────────────────────────────────────── */
.b2-main { max-width: 1120px; margin: 0 auto; padding: 32px 24px 48px; }
.b2-page-head { margin-bottom: 24px; }
.b2-title { margin: 0; font: 600 28px/36px var(--font-title); }
.b2-subtitle { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; line-height: 22px; }
.b2-section { margin: 32px 0 16px; font-size: 18px; line-height: 24px; font-weight: 500; }

/* ── Grilles : cases de taille identique sur chaque ligne ─────── */
.b2-grid { display: grid; gap: var(--gap); align-items: stretch; }
.b2-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b2-grid--tanks { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-rows: 1fr; }
.b2-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; height: 100%; }

/* Chiffres clés */
.b2-stat { display: flex; flex-direction: column; justify-content: space-between; min-height: 96px; text-decoration: none; }
.b2-stat:hover { border-color: var(--amber-400); }
.b2-stat__label { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.b2-stat__value { font-size: 28px; line-height: 36px; font-weight: 500; }

/* Cuves */
.b2-tank { display: flex; flex-direction: column; align-items: center; }
.b2-tank__art { width: 110px; height: 220px; flex: none; }
.b2-tank__body { width: 100%; margin-top: 12px; }
.b2-tank__name { margin: 0; height: 22px; font-size: 16px; line-height: 22px; font-weight: 500; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-tank__meta { margin: 2px 0 0; height: 20px; font-size: 13px; line-height: 20px; color: var(--ink-2); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-tank__foot { display: flex; align-items: center; justify-content: space-between; height: 28px; margin-top: 12px; }
.b2-tank__days { font-size: 13px; line-height: 28px; color: var(--ink-3); }

.b2-pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; font-size: 13px; font-weight: 500; background: var(--paper-200); color: var(--ink-2); }
.b2-pill--en_brassage { background: var(--amber-100); color: var(--amber-800); }
.b2-pill--fermentation { background: var(--amber-100); color: var(--amber-800); }
.b2-pill--garde { background: var(--green-100); color: var(--green-800); }
.b2-pill--embouteille { background: var(--green-100); color: var(--green-800); }

/* Bulles de fermentation */
@keyframes b2-rise { 0% { transform: translateY(0); opacity: 0 } 15% { opacity: .85 } 100% { transform: translateY(-120px); opacity: 0 } }
.b2-bubbles circle { animation: b2-rise 2.8s linear infinite; transform-box: fill-box; }
.b2-bubbles circle:nth-child(2) { animation-delay: .6s; }
.b2-bubbles circle:nth-child(3) { animation-delay: 1.2s; }
.b2-bubbles circle:nth-child(4) { animation-delay: .3s; }
.b2-bubbles circle:nth-child(5) { animation-delay: 1.8s; }

/* Cuve cliquable (bouton / lien) : même rendu qu'une carte */
button.b2-tank, a.b2-tank { width: 100%; font: inherit; color: inherit; text-align: center; cursor: pointer; text-decoration: none; }
.b2-tank:hover { border-color: var(--amber-400); }
.b2-tank.is-selected { border-color: var(--amber-600); box-shadow: 0 0 0 2px var(--amber-100); }
.b2-tank.is-hs { opacity: .7; cursor: default; }
.b2-tank:focus-visible, .b2-recipe:focus-visible, .b2-stat:focus-visible { outline: 2px solid var(--amber-600); outline-offset: 2px; }
.b2-tank__body { display: block; }
.b2-tank__name, .b2-tank__meta { display: block; }

/* Vapeur de brassage */
@keyframes b2-steam { 0% { transform: translateY(6px); opacity: 0 } 40% { opacity: .9 } 100% { transform: translateY(-8px); opacity: 0 } }
.b2-steam path { animation: b2-steam 2.4s ease-in-out infinite; transform-box: fill-box; }
.b2-steam path:nth-child(2) { animation-delay: .8s; }
.b2-steam path:nth-child(3) { animation-delay: 1.6s; }

/* Pastilles supplémentaires */
.b2-pill--vide { background: var(--amber-100); color: var(--amber-800); }
.b2-pill--hs { background: var(--paper-300); color: var(--ink-3); }
.b2-pill--planifie { background: var(--paper-200); color: var(--ink-2); }
.b2-pill--ia { height: 24px; padding: 0 10px; font-size: 12px; background: var(--amber-100); color: var(--amber-800); }
.b2-pill--partagee { height: 24px; padding: 0 10px; font-size: 12px; background: var(--green-100); color: var(--green-800); }

/* Grille à 4 cases égales */
.b2-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Détail du brassin sélectionné */
.b2-detail { margin-top: var(--gap); height: auto; padding: 20px; }
.b2-detail__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.b2-detail__titles { min-width: 0; }
.b2-detail__name { margin: 0; font-size: 18px; line-height: 24px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-detail__meta { margin: 2px 0 0; font-size: 13px; line-height: 20px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 6), minmax(0, 1fr)); position: relative; }
.b2-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--paper-300); }
.b2-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.b2-step__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--paper-300); position: relative; }
.b2-step.is-done .b2-step__dot { background: var(--green-600); }
.b2-step.is-current .b2-step__dot { background: var(--amber-600); box-shadow: 0 0 0 4px var(--amber-100); }
.b2-step__label { margin-top: 8px; height: 20px; font-size: 13px; line-height: 20px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.b2-step.is-current .b2-step__label { color: var(--amber-800); font-weight: 500; }
.b2-step__date { height: 18px; font-size: 12px; line-height: 18px; color: var(--ink-3); }
.b2-detail__next { margin: 20px 0 0; padding: 12px 16px; background: var(--paper-200); border-radius: var(--radius-sm); font-size: 15px; line-height: 22px; }
.b2-detail__next-label { display: inline-block; margin-right: 8px; font-size: 13px; color: var(--ink-2); }
.b2-detail__stats { margin-top: 16px; }
.b2-mini { display: flex; flex-direction: column; justify-content: center; height: 64px; padding: 0 14px; background: var(--paper-100); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.b2-mini__label { font-size: 12px; line-height: 18px; color: var(--ink-2); }
.b2-mini__value { font-size: 17px; line-height: 24px; font-weight: 500; }
.b2-detail__open { margin-top: 16px; }

/* Cartes recette */
.b2-section-row { display: flex; align-items: baseline; justify-content: space-between; }
.b2-link { font-size: 14px; color: var(--amber-700) !important; text-decoration: none; }
.b2-link:hover { text-decoration: underline; }
.b2-recipe { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.b2-recipe:hover { border-color: var(--amber-400); }
.b2-recipe__head { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 40px; margin-bottom: 4px; }
.b2-recipe__glass { width: 26px; height: 34px; }
.b2-recipe__titles { min-width: 0; display: flex; flex-direction: column; }
.b2-recipe__name { font-size: 15px; line-height: 20px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-recipe__style { font-size: 12px; line-height: 18px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-gauge { display: grid; grid-template-columns: 72px minmax(0, 1fr) 64px; align-items: center; gap: 8px; height: 18px; }
.b2-gauge__label { font-size: 12px; color: var(--ink-2); }
.b2-gauge__track { height: 6px; border-radius: 3px; background: var(--paper-300); overflow: hidden; }
.b2-gauge__bar { display: block; height: 100%; border-radius: 3px; }
.b2-gauge__value { font-size: 12px; text-align: right; white-space: nowrap; }

/* Badges */
.b2-badge { display: flex; align-items: center; gap: 12px; height: 72px; padding: 0 14px; }
.b2-badge.is-locked { background: var(--paper-200); }
.b2-badge__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--amber-100); }
.b2-badge.is-locked .b2-badge__icon { background: var(--paper-300); }
.b2-badge__text { min-width: 0; display: flex; flex-direction: column; }
.b2-badge__name { font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-badge.is-locked .b2-badge__name { color: var(--ink-3); }
.b2-badge__state { font-size: 12px; line-height: 18px; color: var(--ink-3); }

.b2-empty__actions { display: flex; justify-content: center; gap: 12px; }
.b2-illu { display: inline-block; vertical-align: middle; }

/* ── Outils (lot 1) : cartes de calcul, 2 par ligne, même hauteur ── */
.b2-page-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.b2-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b2-tool { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.b2-tool--wide { grid-column: 1 / -1; }
.b2-tool__title { margin: 0; font-size: 17px; line-height: 24px; font-weight: 500; }
.b2-fields { display: grid; gap: 12px; }
.b2-fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b2-fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b2-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.b2-field--inline { width: 280px; }
.b2-field__label { height: 18px; font-size: 12px; line-height: 18px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-input { width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font: 400 14px/1 var(--font); }
.b2-input:focus { outline: none; border-color: var(--amber-600); box-shadow: 0 0 0 3px var(--amber-100); }
.b2-rows { display: flex; flex-direction: column; gap: 8px; }
.b2-rows--3, .b2-rows--4 { display: grid; gap: 8px; align-items: center; }
.b2-rows--3 { grid-template-columns: 72px repeat(2, minmax(0, 1fr)); }
.b2-rows--4 { grid-template-columns: 72px repeat(3, minmax(0, 1fr)); }
.b2-rows__head { font-size: 12px; line-height: 18px; color: var(--ink-2); }
.b2-rows__n { display: flex; flex-direction: column; justify-content: center; height: 36px; font-size: 13px; font-weight: 500; color: var(--ink-2); line-height: 16px; }
.b2-rows__n small { font-size: 11px; font-weight: 400; color: var(--ink-3); line-height: 14px; }
.b2-rows__n small:empty { display: none; }
.b2-result { margin-top: auto; padding: 14px 16px; background: var(--paper-100); border: 1px solid var(--line); border-radius: var(--radius-sm); display: flex; flex-direction: column; gap: 6px; min-height: 76px; justify-content: center; }
.b2-result__main { display: flex; align-items: baseline; gap: 10px; }
.b2-result__value { font-size: 26px; line-height: 32px; font-weight: 500; }
.b2-result__unit { font-size: 13px; color: var(--ink-2); }
.b2-result__row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 20px; color: var(--ink-2); }
.b2-result__row span:last-child { color: var(--ink); font-weight: 500; text-align: right; }
.b2-result__hint { margin: 0; font-size: 13px; line-height: 20px; color: var(--ink-3); }
.b2-swatch { align-self: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; }
.b2-water { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.b2-water__title { margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.b2-ions { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.b2-ions th, .b2-ions td { height: 28px; padding: 0 6px; text-align: right; border-bottom: 1px solid var(--line); }
.b2-ions th:first-child { text-align: left; font-weight: 500; color: var(--ink-2); width: 80px; }
.b2-ions thead th { color: var(--ink-2); font-weight: 500; }
.b2-ions tr.is-target td { color: var(--ink-3); }

/* État vide */
.b2-empty { text-align: center; padding: 40px 24px; }
.b2-empty__title { margin: 0; font-size: 18px; line-height: 24px; font-weight: 500; }
.b2-empty__text { margin: 8px auto 20px; max-width: 420px; color: var(--ink-2); }

/* ── Lot 2 : recettes ─────────────────────────────────────── */
.b2-toolbar { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.b2-toolbar__btn { height: 36px; }
.b2-btn.is-disabled, .b2-btn:disabled { opacity: .5; cursor: not-allowed; }
.b2-btn--sm { height: 30px; padding: 0 12px; font-size: 13px; }
.b2-btn--danger { background: var(--red-700); border-color: var(--red-700); color: #fff; }
.b2-btn--danger-ghost { color: var(--red-700); }
.b2-notice { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--green-100); color: var(--green-800); font-size: 14px; line-height: 20px; }
.b2-notice--error { background: var(--red-100); color: var(--red-700); }
.b2-notice ul { margin: 6px 0 0; padding-left: 20px; }
.b2-input.is-invalid { border-color: var(--red-700); background: #FFF8F6; }
.b2-input--readonly { display: flex; align-items: center; background: var(--paper-100); color: var(--ink-2); }
.b2-textarea { height: auto; min-height: 96px; padding: 10px; line-height: 1.5; resize: vertical; }
.b2-title--clip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 640px; }
.b2-page-head__titles { min-width: 0; display: flex; flex-direction: column; gap: 4px; }

/* Carte recette : lien étiré sur toute la carte, pied d'actions à hauteur fixe */
.b2-recipe { position: relative; }
.b2-recipe__link { text-decoration: none; color: inherit; }
.b2-recipe__link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.b2-recipe__link:focus-visible::after { outline: 2px solid var(--amber-600); outline-offset: 2px; }
.b2-recipe__foot { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; height: 36px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.b2-recipe__date, .b2-recipe__confirm { flex: 1; min-width: 0; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-recipe__confirm { color: var(--red-700); font-weight: 500; }

/* Éditeur : colonne de saisie + résumé collant */
.b2-editor { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--gap); align-items: start; }
.b2-editor__main { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.b2-editor__main .b2-card { height: auto; }
.b2-editor__side { position: sticky; top: 16px; }
.b2-tool__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.b2-keg__head { margin-top: 16px; align-items: center; }   /* 21/10/2026 : carbonatation forcée (fût) */
.b2-tool__meta { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.b2-ed { display: grid; gap: 8px; align-items: center; }
.b2-ed--malt  { grid-template-columns: minmax(0, 2.4fr) repeat(3, minmax(0, 1fr)) 56px 32px; }
.b2-ed--hop   { grid-template-columns: minmax(0, 1.7fr) 92px repeat(2, minmax(0, .85fr)) minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, .7fr) 48px 32px; }   /* 22/10/2026 : + °C */
.b2-ed--other { grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr) minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1.25fr) minmax(0, 0.8fr) 32px; }
.b2-fields--yeast { grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); }
.b2-input:disabled { background: var(--paper-200); color: var(--ink-3); cursor: not-allowed; }
.b2-ed--step  { grid-template-columns: minmax(0, 2.4fr) repeat(2, minmax(0, 1fr)) 32px 32px 32px; }
.b2-ed > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-ed__calc { display: flex; align-items: center; height: 36px; font-size: 13px; color: var(--ink-2); }
.b2-icon-btn { width: 32px; height: 32px; border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; color: var(--ink-3); font-size: 18px; line-height: 1; cursor: pointer; }
.b2-icon-btn:hover:not(:disabled) { background: var(--paper-200); color: var(--ink); }
.b2-icon-btn:disabled { opacity: .3; cursor: default; }
.b2-add { align-self: flex-start; }
.b2-summary { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.b2-summary__glass { display: flex; align-items: center; gap: 14px; height: 68px; }
.b2-summary__titles { display: flex; flex-direction: column; min-width: 0; }
.b2-summary__label { font-size: 12px; line-height: 18px; color: var(--ink-2); }
.b2-summary__value { font-size: 18px; line-height: 24px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-summary__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.b2-summary__grid .b2-mini__value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-summary__save { width: 100%; }

@media (max-width: 960px) {
  .b2-editor { grid-template-columns: 1fr; }
  .b2-editor__side { position: static; order: -1; }
}
@media (max-width: 720px) {
  .b2-fields--yeast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2-ed--malt, .b2-ed--hop, .b2-ed--other, .b2-ed--step { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .b2-ed > input:first-child { grid-column: 1 / -1; }
  .b2-rows__head.b2-ed { display: none; }
  .b2-title--clip { max-width: 100%; }
}

/* ── Lot 3 : grenier et courses ───────────────────────────── */
.b2-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; margin-left: 8px; padding: 0 6px; border-radius: 11px; background: var(--amber-600); color: #fff; font-size: 12px; }
.b2-field__error { margin: 0; font-size: 13px; line-height: 18px; color: var(--red-700); }
.b2-alert { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; margin-bottom: var(--gap); padding: 10px 16px; border-radius: var(--radius-sm); background: var(--amber-100); color: var(--amber-800); }
.b2-alert__text { display: flex; gap: 10px; min-width: 0; font-size: 14px; line-height: 20px; }
.b2-alert__text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-pantry-add { height: auto; margin-bottom: var(--gap); }
.b2-pa { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) repeat(3, minmax(0, 1fr)) 110px; gap: 12px; align-items: end; }
.b2-sa { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) repeat(2, minmax(0, 1fr)) 110px; gap: 12px; align-items: end; }
.b2-pa--malt { grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) repeat(4, minmax(0, 1fr)) 110px; }
.b2-pa--price { grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) repeat(4, minmax(0, 1fr)) 110px; }   /* 09/11/2026 : case Prix */
.b2-pa--malt.b2-pa--price { grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) repeat(5, minmax(0, 1fr)) 110px; }
/* 11/11/2026 (retours de Gilles) : familles du grenier repliables, colonne prix, houblons du dry hop à la ligne */
.b2-pfold { margin-bottom: 14px; }
.b2-pfold > summary { cursor: pointer; list-style: none; }
.b2-pfold > summary::-webkit-details-marker { display: none; }
.b2-pfold > summary::before { content: "▾"; flex: none; display: inline-block; width: 16px; color: var(--ink-2); transition: transform .15s; }
.b2-pfold:not([open]) > summary::before { transform: rotate(-90deg); }
.b2-pfold > summary.b2-section { display: flex; align-items: baseline; gap: 6px; }
.b2-pfold > .b2-psec { margin-top: 10px; }
.b2-needs-fold { margin: 12px 0 0; }   /* 13/11/2026 (Gilles) : familles repliables de « Préparer mes prochains brassins » */
.b2-needs-fold > summary.b2-section { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
@media (min-width: 761px) { .b2-prow--pantry { grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, .9fr) 120px 220px; } }
.b2-fl__hops { margin: 2px 0 4px; padding-left: 18px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.b2-pa .b2-btn, .b2-sa .b2-btn { width: 100%; }
.b2-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 8px 0 4px; padding: 4px; background: var(--paper-200); border-radius: var(--radius-sm); }
.b2-tab { display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-2); font: 500 14px/1 var(--font); cursor: pointer; min-width: 0; }
.b2-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(44, 24, 16, .08); }
.b2-tab__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-tab__count { font-size: 12px; color: var(--ink-3); }
.b2-plist { height: auto; padding: 4px 16px; }
.b2-prow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1fr) 120px 220px; gap: 12px; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); }
.b2-prow:last-child { border-bottom: 0; }
.b2-prow--head { min-height: 36px; font-size: 12px; color: var(--ink-2); }
.b2-prow--edit { padding: 8px 0; }
.b2-prow > span { min-width: 0; }
.b2-prow__name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-prow__extra { font-weight: 400; color: var(--ink-2); font-size: 13px; }
.b2-prow__qty { font-variant-numeric: tabular-nums; }
.b2-prow__muted { color: var(--ink-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-prow__pair { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 6px; }
.b2-prow__pair--malt { grid-template-columns: minmax(0, 1fr) 72px 72px; }   /* 13/11/2026 : nom, extrait %, EBC */
.b2-prow__actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.b2-cmp { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) 120px; gap: 12px; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); font-size: 14px; }
.b2-cmp > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-cmp--head { min-height: 32px; font-size: 12px; color: var(--ink-2); }
.b2-cmp__buy { font-weight: 500; color: var(--amber-800); }
.b2-compare { height: auto; margin-bottom: var(--gap); }
.b2-compare__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.b2-srow { display: grid; grid-template-columns: 32px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr) 32px; gap: 12px; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); }
.b2-srow:last-child { border-bottom: 0; }
.b2-srow > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-srow__name { font-weight: 500; }
.b2-srow__qty { font-variant-numeric: tabular-nums; }
.b2-srow__from { font-size: 13px; color: var(--ink-3); }
.b2-srow.is-checked .b2-srow__name, .b2-srow.is-checked .b2-srow__qty { text-decoration: line-through; color: var(--ink-3); }
.b2-check { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 1.5px solid var(--line-strong); border-radius: 8px; background: #fff; color: transparent; cursor: pointer; }
.b2-check svg { width: 16px; height: 16px; }
.b2-srow.is-checked .b2-check { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.b2-shop-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: var(--gap); }
.b2-page > .b2-tool { margin-bottom: var(--gap); }

@media (max-width: 720px) {
  .b2-pa, .b2-pa--malt, .b2-pa--price, .b2-pa--malt.b2-pa--price, .b2-sa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2-pa > :nth-child(-n+2), .b2-sa > :nth-child(-n+2) { grid-column: 1 / -1; }
  .b2-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b2-prow { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; padding: 10px 0; }
  .b2-prow--head { display: none; }
  .b2-prow__actions { grid-column: 1 / -1; justify-content: flex-start; }
  .b2-prow--edit { grid-template-columns: 1fr; }
  .b2-cmp { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; padding: 8px 0; }
  .b2-cmp--head { display: none; }
  .b2-srow { grid-template-columns: 32px minmax(0, 1fr) auto 32px; }
  .b2-srow__from { display: none; }
  .b2-alert { flex-direction: column; align-items: flex-start; }
}

/* ── Lot 4 : générateur ───────────────────────────────────── */
.b2-seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; background: var(--paper-200); border-radius: var(--radius-sm); }
.b2-seg--full { display: grid; width: 100%; }
.b2-seg__btn { height: 32px; padding: 0 14px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-2); font: 500 13px/1 var(--font); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-seg__btn.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(44, 24, 16, .08); }
.b2-seg__btn:disabled { opacity: .45; cursor: default; }
.b2-muted { color: var(--ink-3); }
.b2-range { width: 100%; height: 28px; accent-color: var(--amber-600); }
.b2-gen__desc { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.b2-gen { margin-top: var(--gap); }
.b2-gen-empty { height: auto; margin-bottom: var(--gap); }
.b2-sug { display: flex; flex-direction: column; gap: 8px; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.b2-sug.is-active { border-color: var(--amber-600); box-shadow: 0 0 0 1px var(--amber-600); }
.b2-sug__head { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 28px; }
.b2-sug__name { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-sug__score { font-size: 14px; font-weight: 500; color: var(--green-800); }
.b2-sug__desc { height: 40px; font-size: 13px; line-height: 20px; color: var(--ink-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.b2-sug__foot { height: 18px; font-size: 12px; line-height: 18px; color: var(--ink-3); }
.b2-gl { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.6fr) 120px; gap: 12px; align-items: center; min-height: 40px; border-bottom: 1px solid var(--line); font-size: 14px; }
.b2-gl > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-gl--head { min-height: 32px; margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.b2-subs { padding: 12px 16px; background: var(--green-100); border-radius: var(--radius-sm); color: var(--green-800); font-size: 13px; line-height: 20px; }
.b2-subs__title { margin: 0 0 4px; font-weight: 500; }
.b2-subs ul { margin: 0; padding-left: 18px; }
@media (max-width: 720px) {
  .b2-gl { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; padding: 6px 0; }
  .b2-gl > span:nth-child(3) { grid-column: 1 / -1; }
  .b2-seg__btn { padding: 0 8px; }
}

/* Pied de page */
.b2-foot { border-top: 1px solid var(--line); padding: 16px 24px; text-align: center; font-size: 12px; line-height: 18px; color: var(--ink-3); }
.b2-foot p { margin: 2px 0; }

/* Mode sobre : pas d'animation si l'utilisateur l'a demandé à son système */
@media (prefers-reduced-motion: reduce) { .b2-bubbles circle, .b2-steam path { animation: none; } }

/* Mobile */
@media (max-width: 720px) {
  .b2-top { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 12px; }
  .b2-nav { order: 3; width: 100%; overflow-x: auto; }
  .b2-grid--3 { grid-template-columns: 1fr; }
  .b2-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2-grid--2, .b2-water { grid-template-columns: 1fr; }
  .b2-fields--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2-field--inline { width: 100%; }
  .b2-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .b2-steps::before { display: none; }
  .b2-main { padding: 24px 16px 40px; }
}

/* ── Lot 5 : communauté et notes de dégustation ─────────────── */
.b2-stars { display: inline-flex; align-items: center; gap: 6px; height: 20px; font-size: 13px; line-height: 20px; white-space: nowrap; }
.b2-stars__icons { letter-spacing: 1px; color: var(--line-strong); }
.b2-stars__icons .is-on { color: var(--amber-600); }
.b2-stars__text { font-weight: 500; font-variant-numeric: tabular-nums; }
.b2-stars.is-empty .b2-stars__icons { display: none; }
.b2-stars.is-empty .b2-stars__text { font-weight: 400; color: var(--ink-3); }
.b2-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
.b2-pager__info { min-width: 120px; text-align: center; font-size: 14px; color: var(--ink-2); }
.b2-sharebar { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 0 16px; padding: 6px 8px 6px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.b2-sharebar.is-shared { background: var(--green-100); border-color: transparent; }
.b2-sharebar__text { flex: 1; min-width: 0; font-size: 14px; line-height: 20px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-sharebar.is-shared .b2-sharebar__text { color: var(--green-800); }
.b2-fields--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.b2-rate-form { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--paper-200); border-radius: var(--radius-sm); }
.b2-rate-form__actions { display: flex; justify-content: flex-end; gap: 8px; }
.b2-starpick { display: flex; gap: 4px; height: 36px; }
.b2-starpick__btn { width: 36px; height: 36px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--line-strong); font-size: 20px; line-height: 1; cursor: pointer; }
.b2-starpick__btn.is-on { color: var(--amber-600); border-color: var(--amber-400); }
.b2-starpick__btn:focus-visible { outline: 2px solid var(--amber-600); outline-offset: 2px; }
.b2-rating { padding: 12px 0; border-bottom: 1px solid var(--line); }
.b2-rating:last-child { border-bottom: 0; }
.b2-rating__head { display: grid; grid-template-columns: minmax(0, 1fr) 150px 90px 190px; align-items: center; gap: 12px; min-height: 30px; }
.b2-rating__who { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-rating__date { font-size: 13px; color: var(--ink-3); }
.b2-rating__actions { display: flex; justify-content: flex-end; gap: 4px; }
.b2-rating__crit { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 0; font-size: 13px; line-height: 20px; color: var(--ink-2); }
.b2-rating__text, .b2-com-notes { margin: 6px 0 0; font-size: 14px; line-height: 22px; white-space: pre-line; overflow-wrap: anywhere; }
.b2-com-notes { color: var(--ink-2); }
@media (max-width: 720px) {
  .b2-fields--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2-rating__head { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .b2-rating__actions { grid-column: 1 / -1; justify-content: flex-start; }
  .b2-sharebar { flex-wrap: wrap; padding: 10px 12px; }
  .b2-sharebar__text { flex-basis: 100%; white-space: normal; }
}

/* ── Lot 6 : administration + équipement ─────────────────────────── */
a.b2-tab { text-decoration: none; }
.b2-adminnav { grid-template-columns: repeat(8, minmax(0, 1fr)); margin-bottom: var(--gap); }
.b2-tab__count--alert { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red-700); color: #fff; font-weight: 500; }
.b2-admin-filters { margin-bottom: var(--gap); max-width: 100%; }
.b2-admin-stats { margin-bottom: var(--gap); }
.b2-admin-cols { margin-bottom: 8px; }
.b2-stat--alert { border-color: var(--red-700); }
.b2-stat--alert .b2-stat__value { color: var(--red-700); }

/* Lignes de tableau : colonnes fixes par écran, textes coupés avec « … » */
.b2-trow { display: grid; gap: 12px; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); }
.b2-trow:last-child { border-bottom: 0; }
.b2-trow > * { min-width: 0; }
.b2-trow--head { min-height: 36px; font-size: 12px; color: var(--ink-2); }
.b2-trow--edit { padding: 8px 0; }
.b2-trow--recent  { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) 90px; }
.b2-trow--members { grid-template-columns: minmax(0, 2.2fr) 96px 110px 130px 120px 220px; min-height: 60px; }
.b2-trow--catalog { grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) 140px 220px; }
.b2-trow--letters { grid-template-columns: minmax(0, 2.4fr) 110px 130px 110px 92px 250px; }
.b2-trow--equip   { grid-template-columns: minmax(0, 1.8fr) 96px minmax(0, 1.6fr) 150px 360px; min-height: 60px; }
.b2-trow--remind  { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 96px minmax(0, 2.4fr) 120px; }
.b2-trow__main, .b2-trow__muted { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-trow__main { font-weight: 500; line-height: 22px; }
.b2-trow__muted { font-size: 13px; line-height: 20px; color: var(--ink-2); }
.b2-trow__num { font-variant-numeric: tabular-nums; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-trow__stack { display: flex; flex-direction: column; justify-content: center; height: 42px; min-width: 0; }
.b2-trow__pills { display: flex; align-items: center; }
.b2-prow__pair--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Mini histogramme des inscriptions */
.b2-bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; height: 180px; margin: 12px 0 0; padding: 0; list-style: none; }
.b2-bars__item { display: grid; grid-template-rows: 20px 1fr 20px; gap: 4px; min-width: 0; text-align: center; }
.b2-bars__value { font-size: 13px; line-height: 20px; font-variant-numeric: tabular-nums; }
.b2-bars__track { display: flex; align-items: flex-end; justify-content: center; background: var(--paper-100); border-radius: 6px; overflow: hidden; }
.b2-bars__bar { display: block; width: 100%; min-height: 2px; background: var(--amber-400); border-radius: 6px 6px 0 0; }
.b2-bars__label { font-size: 12px; line-height: 20px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Signalements */
.b2-reports { display: grid; gap: var(--gap); }
.b2-report { display: grid; gap: 6px; height: auto; }
.b2-report__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.b2-report__reason { font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-report__date { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.b2-report__title { margin: 4px 0 0; font-weight: 500; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-report__excerpt { margin: 0; font-size: 14px; line-height: 22px; height: 44px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.b2-report__meta { margin: 0; font-size: 13px; line-height: 20px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-report__foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }

/* Formulaires d'ajout (catalogue, équipement) et newsletter */
.b2-ca { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr) 110px; gap: 12px; align-items: end; }
.b2-ea { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 110px; gap: 12px; align-items: end; }
.b2-ea__wide { grid-column: span 2; }
.b2-ca .b2-btn, .b2-ea .b2-btn { width: 100%; }
.b2-news__body { margin-top: 12px; }
.b2-news__body .b2-field__label { height: auto; white-space: normal; }
.b2-news__area { min-height: 240px; }
.b2-news__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

@media (max-width: 960px) {
  .b2-trow--equip { grid-template-columns: minmax(0, 1.6fr) 80px minmax(0, 1.4fr) 130px; }
  .b2-trow--equip > .b2-prow__actions { grid-column: 1 / -1; justify-content: flex-start; padding-bottom: 8px; }
  .b2-trow--members { grid-template-columns: minmax(0, 2fr) 96px 110px 110px 110px; }
  .b2-trow--members > .b2-prow__actions { grid-column: 1 / -1; justify-content: flex-start; padding-bottom: 8px; }
}
@media (max-width: 720px) {
  .b2-adminnav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2-admin-filters { display: grid; grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .b2-trow, .b2-trow--members, .b2-trow--equip, .b2-trow--catalog, .b2-trow--letters { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; padding: 10px 0; }
  .b2-trow--recent { grid-template-columns: minmax(0, 1fr) auto; }
  .b2-trow--recent > :nth-child(2) { display: none; }
  .b2-trow--head { display: none; }
  .b2-trow > .b2-prow__actions { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
  .b2-trow--edit { grid-template-columns: 1fr; }
  .b2-ca, .b2-ea { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2-ca > :first-child, .b2-ea > :nth-child(-n+2) { grid-column: 1 / -1; }
  .b2-ea__wide { grid-column: auto; }
  .b2-bars { gap: 6px; }
}

/* ── Lot 7 : générateur IA ───────────────────────────────────────── */
.b2-page > .b2-ai { margin-bottom: var(--gap); }
.b2-ai__idea { margin-top: 12px; }
.b2-ai__idea .b2-field__label { height: auto; white-space: normal; }
.b2-ai__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.b2-ai__check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.b2-ai__check input { width: 18px; height: 18px; accent-color: var(--amber-600); }
.b2-ai__desc { margin: 0 0 var(--gap); padding: 12px 16px; border-left: 3px solid var(--amber-400); background: #fff; border-radius: var(--radius-sm); font-size: 15px; line-height: 22px; }
.b2-ai__checks { margin-bottom: var(--gap); }
@media (max-width: 720px) {
  .b2-ai__actions .b2-btn { width: 100%; }
}
.b2-ai__name { margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Lot 8 : parcours du brassin ─────────────────────────────────── */
.b2-trow--batches  { grid-template-columns: minmax(0, 2fr) 100px 140px minmax(0, 2fr) 180px; min-height: 60px; }
.b2-trow--readings { grid-template-columns: 130px 120px minmax(0, 1fr) 110px; }
.b2-trow__link { color: var(--ink); text-decoration: none; }
.b2-trow__link:hover { color: var(--amber-700); }
.b2-plan { margin: 8px 0 12px; padding: 0; list-style: none; }
.b2-plan__row { display: flex; justify-content: space-between; gap: 12px; height: 36px; align-items: center; border-bottom: 1px solid var(--line); font-size: 14px; }
.b2-plan__row > span:first-child { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-plan__row > span:last-child { font-weight: 500; white-space: nowrap; }
.b2-plan__row--end { border-bottom: 0; }
.b2-nb__remind { margin-top: 12px; }

/* 31/10/2026 (lot V3) : ligne de vie du brassin — colonnes de même largeur, icône au centre de chaque colonne */
.b2-life { margin: 0 0 var(--gap); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 16px; }
.b2-life__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.b2-life__inner { min-width: 600px; }
.b2-life__track { position: relative; height: 96px; }
.b2-life__rail, .b2-life__fill { position: absolute; top: 55px; height: 10px; border-radius: 5px; }
.b2-life__rail { background: var(--paper-300); }
.b2-life__fill { background: var(--amber-600); }
.b2-life__today { position: absolute; top: 26px; bottom: -6px; width: 0; border-left: 2.5px solid var(--red-700); z-index: 2; }
.b2-life__today > span { position: absolute; top: -26px; left: 0; transform: translateX(-50%); height: 22px; padding: 0 10px; border-radius: 11px; background: var(--red-700); color: #fff; font-size: 12px; font-weight: 600; line-height: 22px; white-space: nowrap; }
.b2-life__icon { position: absolute; top: 32px; width: 56px; height: 56px; margin-left: -28px; box-sizing: border-box; border-radius: 50%; background: #fff; border: 3px solid var(--line-strong); color: var(--ink-3); z-index: 3; }
.b2-life__icon svg { display: block; width: 100%; height: 100%; }
.b2-life__icon.is-dry_hop { color: var(--green-600); }
.b2-life__icon.is-garde { color: #5B8DB8; }
.b2-life__icon.is-next { border: 4px solid var(--green-600); }
.b2-life__icon.is-reached { background: var(--amber-600); border-color: var(--amber-600); color: #fff; }
.b2-life__steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.b2-life__step { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.b2-life__label { height: 20px; max-width: 100%; font-size: 13px; line-height: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-life__date { height: 18px; font-size: 12px; line-height: 18px; color: var(--ink-2); white-space: nowrap; }
.b2-life__step.is-next .b2-life__label, .b2-life__step.is-next .b2-life__date { color: var(--green-800); }
.b2-life__bands { position: relative; height: 30px; margin-top: 8px; }
.b2-life__band { position: absolute; top: 0; height: 8px; border-radius: 4px; box-sizing: border-box; border-left: 2px solid #fff; border-right: 2px solid #fff; }
.b2-life__band > span { position: absolute; top: 11px; left: 0; right: 0; font-size: 11px; line-height: 16px; color: var(--ink-2); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-life__band.is-ferm { background: var(--amber-400); }
.b2-life__band.is-garde { background: #9CBCD8; }
.b2-life__band.is-bottle { background: #B4A58F; }
.b2-life__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.b2-life__card { display: flex; flex-direction: column; gap: 4px; height: 110px; box-sizing: border-box; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; min-width: 0; }
.b2-life__card.is-first { background: var(--green-100); border: 2px solid var(--green-400); }
.b2-life__card.is-late { background: var(--red-100); border: 2px solid var(--red-700); }
.b2-life__in { font-family: var(--font-display, Lora, Georgia, serif); font-size: 24px; font-weight: 600; line-height: 1.2; }
.b2-life__card.is-first .b2-life__in { color: var(--green-800); }
.b2-life__card.is-late .b2-life__in { color: var(--red-700); }
.b2-life__card strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-life__detail { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) { .b2-life { padding: 12px; } .b2-life__cards { grid-template-columns: minmax(0, 1fr); gap: 8px; } .b2-life__card { height: 104px; } }
.b2-journey__move { height: 20px; padding: 0; border: 0; background: none; color: var(--amber-700); font: 400 12px/20px var(--font); cursor: pointer; }
.b2-journey__move:hover { text-decoration: underline; }
.b2-journey__edit { display: grid; gap: 4px; width: 100%; }

.b2-batch__water { margin: 8px 0 12px; }
.b2-bsteps { margin: 0; padding: 0; list-style: none; }
.b2-bstep { display: grid; grid-template-columns: 32px minmax(0, 1fr) 200px; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.b2-bstep.is-done .b2-bstep__title { text-decoration: line-through; color: var(--ink-3); }
.b2-bstep.is-done .b2-check { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.b2-bstep__num { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-200); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.b2-bstep__title { margin: 2px 0 0; font-weight: 500; line-height: 22px; }
.b2-bstep__detail { margin: 2px 0 0; font-size: 14px; line-height: 21px; color: var(--ink-2); }
.b2-bstep__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.b2-bstep__min { font-size: 14px; color: var(--ink-2); }
.b2-bstep__form { margin-top: 8px; }
/* 31/10/2026 : fermenteur vivant (suivi du brassin) */
.b2-fl { display: flex; gap: 28px; align-items: flex-start; margin: 4px 0 18px; }
.b2-fl__art { width: 240px; height: 300px; flex: none; }
.b2-fl__svgtxt { font: 600 13px var(--font); }
.b2-fl__svgsmall { font: 10px var(--font); }
.b2-fl__side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.b2-fl__day { display: flex; align-items: baseline; gap: 10px; min-height: 48px; }
.b2-fl__daynum { font-family: var(--font-display, Lora, Georgia, serif); font-size: 44px; font-weight: 600; line-height: 1; }
.b2-fl__dayof { font-size: 15px; color: var(--ink-2); }
.b2-fl__proghead { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.b2-fl__proghead strong { color: var(--ink); }
.b2-fl__bar { height: 12px; border-radius: 6px; background: var(--paper-300); overflow: hidden; }
.b2-fl__bar span { display: block; height: 12px; border-radius: 6px; background: var(--amber-600); }
.b2-fl__minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.b2-fl__mini { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; height: 100px; box-sizing: border-box; line-height: 1.35; }
.b2-fl__mini span { font-size: 12px; color: var(--ink-2); }
.b2-fl__mini strong { font-size: 20px; }
.b2-fl__mini small { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-fl__mini small.is-ok { color: var(--green-800); }
.b2-fl__mini small.is-bad { color: var(--red-700); font-weight: 600; }
.b2-fl__next { background: var(--amber-100); border: 1px solid #EBCB9A; border-radius: 14px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.b2-fl__nextlabel { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-800); }
.b2-fl__next strong { font-size: 16px; }
.b2-fl__next span:last-child { font-size: 13px; color: var(--ink-2); }
.b2-fl__hint { margin: 0; font-size: 13px; color: var(--ink-2); }
@keyframes b2-fl-rise { from { transform: translateY(0); opacity: .9; } to { transform: translateY(-60px); opacity: 0; } }
@keyframes b2-fl-blop { 0%, 70% { opacity: 0; transform: translateY(8px); } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
.b2-fl__bubbles circle { animation: b2-fl-rise 4s linear infinite; }
.b2-fl__bubbles circle:nth-child(2n) { animation-duration: 5.5s; animation-delay: -2s; }
.b2-fl__bubbles circle:nth-child(3n) { animation-duration: 3.2s; animation-delay: -1s; }
.b2-fl__airbubbles { animation: b2-fl-blop 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .b2-fl__bubbles circle, .b2-fl__airbubbles { animation: none; } }
@media (max-width: 760px) { .b2-fl { flex-direction: column; align-items: center; gap: 12px; } .b2-fl__art { width: 200px; height: 250px; } .b2-fl__side { width: 100%; } }
.b2-bstep__form .b2-btn { width: 100%; }
/* 31/10/2026 : sur téléphone, le bouton du formulaire d'une étape (« Levure ensemencée », « Enregistrer ») prend toute une ligne */
@media (max-width: 760px) { .b2-bstep__form > .b2-field:last-child { grid-column: 1 / -1; } .b2-bstep__form > .b2-field:last-child .b2-field__label { display: none; } }
.b2-timer { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; height: 36px; padding: 0 12px; border-radius: var(--radius-sm); background: var(--amber-100); color: var(--amber-800); font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.b2-timer.is-done { background: var(--green-100); color: var(--green-800); font-size: 14px; }
.b2-timer--sm { min-width: 140px; height: 28px; font-size: 14px; }
/* 12/11/2026 (Gilles) : corriger un minuteur lancé en retard ; notes de la recette sur le brassin */
.b2-timer-fix { margin: 0; text-align: right; }
.b2-timer-fix summary { margin-left: auto; }
.b2-timer-fix__row { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.b2-timer-fix__row .b2-input { width: 64px; height: 30px; padding: 0 6px; }
.b2-recipe-notes { margin: 0 0 8px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
/* 31/10/2026 (lot V2) : horloge d'ébullition — cadran SVG + liste des ajouts (lignes toutes de 56 px) */
.b2-bc { margin: 12px 0 4px; grid-column: 1 / -1; min-width: 0; }
.b2-bc__head { margin: 0 0 8px; font-family: var(--font-display, Lora, Georgia, serif); font-size: 20px; font-weight: 600; line-height: 1.3; min-height: 26px; }
.b2-bc__wrap { display: flex; gap: 24px; align-items: center; }
.b2-bc__art { width: 260px; height: 292px; flex: none; }
.b2-bc__mark { font: 11px var(--font); fill: #8C7460; }
.b2-bc__big { font: 600 44px var(--font-display, Lora, Georgia, serif); fill: var(--ink); font-variant-numeric: tabular-nums; paint-order: stroke; stroke: #FFFFFF; stroke-width: 8px; stroke-linejoin: round; }
.b2-bc__sub { paint-order: stroke; stroke: #FFFFFF; stroke-width: 6px; stroke-linejoin: round; }
.b2-bc__sub { font: 14px var(--font); fill: #6B4F3A; }
.b2-bc__dot circle { fill: #FFFFFF; stroke: #8CA96D; }
.b2-bc__dot.is-other circle { stroke: #B4A58F; }
.b2-bc__dot path { opacity: 0; }
.b2-bc__dot.is-past circle, .b2-bc__dot.is-now circle { fill: #5C7A3E; stroke: #FFFFFF; }
.b2-bc__dot.is-past path, .b2-bc__dot.is-now path { opacity: 1; }
.b2-bc__dot.is-next circle { fill: #8CA96D; stroke: #FFFFFF; transform: scale(1.45); transform-box: fill-box; transform-origin: center; }
.b2-bc__dot.is-other.is-next circle { fill: #B4A58F; }
.b2-bc__side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.b2-bc__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.b2-bc__row { display: flex; align-items: center; gap: 12px; height: 56px; box-sizing: border-box; padding: 0 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; }
.b2-bc__row.is-next { background: var(--amber-100); border-color: #C9692A; box-shadow: inset 0 0 0 1px #C9692A; }
.b2-bc__sw { width: 22px; height: 22px; border-radius: 50%; flex: none; box-sizing: border-box; background: #FFFFFF; border: 3px solid #8CA96D; }
.b2-bc__sw.is-other { border-color: #B4A58F; }
.b2-bc__row.is-past .b2-bc__sw, .b2-bc__row.is-now .b2-bc__sw { background: #5C7A3E; border-color: #5C7A3E; }
.b2-bc__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.b2-bc__txt strong, .b2-bc__txt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-bc__txt strong { font-size: 14px; }
.b2-bc__txt span { font-size: 12px; color: var(--ink-2); }
.b2-bc__left { flex: none; min-width: 64px; text-align: right; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.b2-bc__row.is-next .b2-bc__left { font-size: 16px; font-weight: 600; color: var(--amber-800); }
.b2-bc__row.is-now .b2-bc__left { color: var(--green-800); font-weight: 600; }
.b2-bc__added { display: none; flex: none; font-size: 12px; font-weight: 600; color: var(--green-800); }
.b2-bc__row.is-past .b2-bc__left { display: none; }
.b2-bc__row.is-past .b2-bc__added { display: inline; }
.b2-bc__hint { margin: 0; font-size: 13px; color: var(--ink-2); }
@media (max-width: 760px) { .b2-bc__wrap { flex-direction: column; gap: 12px; } .b2-bc__art { width: 240px; height: 270px; } .b2-bc__side { width: 100%; } }
.b2-batch__add { margin-top: 12px; }
.b2-batch__list { margin-top: 8px; padding: 0; }
.b2-batch__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.b2-batch__recipe, .b2-batch__save { display: inline-flex; margin-top: 10px; }
.b2-editor__side > .b2-card + .b2-card { margin-top: var(--gap); }
.b2-deduct { margin: 6px 0 0; padding: 0; list-style: none; }
.b2-deduct__row { display: flex; justify-content: space-between; gap: 8px; height: 28px; align-items: center; font-size: 13px; border-bottom: 1px solid var(--line); }
.b2-deduct__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-deduct__state { color: var(--ink-2); white-space: nowrap; }
.b2-chart { display: block; width: 100%; height: auto; margin: 8px 0; background: var(--paper-100); border-radius: var(--radius-sm); }
.b2-chart__axis { stroke: var(--line-strong); stroke-width: 1; }
.b2-chart__line { fill: none; stroke: var(--amber-600); stroke-width: 2.5; stroke-linejoin: round; }
.b2-chart__dot { fill: #fff; stroke: var(--amber-600); stroke-width: 2; }
.b2-chart__txt { font-size: 11px; fill: var(--ink-3); }
/* 06/11/2026 (démo Vaucelles, Brasseur Expert) : 3 courbes (densité, température, pH) + légende ; relevés du jour */
.b2-chart__line--temperature { stroke: #3F7CC4; stroke-width: 2; stroke-dasharray: 5 4; }
.b2-chart__dot--temperature { stroke: #3F7CC4; }
.b2-chart__line--ph { stroke: var(--green-600); stroke-width: 2; }
.b2-chart__dot--ph { stroke: var(--green-600); }
.b2-chart__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 10px; font-size: 13px; }
.b2-chart__key { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.b2-chart__key i { display: inline-block; width: 18px; height: 0; border-top: 3px solid var(--amber-600); }
.b2-chart__key--temperature i { border-top: 3px dashed #3F7CC4; }
.b2-chart__key--ph i { border-top-color: var(--green-600); }
.b2-fields--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.b2-releves__date { max-width: 220px; margin-bottom: 12px; }
.b2-releves { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.b2-releve { display: grid; gap: 10px; align-content: start; }
.b2-releve__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; }
.b2-releve__name { font-weight: 700; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.b2-releve__meta { color: var(--ink-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.b2-releve__done { font-size: 12px; font-weight: 600; color: var(--green-800); background: var(--green-100); border-radius: 999px; padding: 2px 8px; }
.b2-releve__last { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: 13px; color: var(--ink-2); }
.b2-releves__save { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
/* 06/11/2026 (retour de Gilles) : une date à côté de son bouton (dry hop, fin de fermentation, fermenteur) */
.b2-dated { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; }
.b2-dated .b2-input { width: auto; min-width: 150px; }
/* 06/11/2026 (démo Vaucelles, lot 2) : outils de brasserie (Expert) et cuves dans l'agenda */
.b2-cal__ev--cuve { background: #DDE6EE; }
.b2-protools { display: grid; gap: 10px; }
.b2-protools__sub { margin: 8px 0 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.b2-protools__fills { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.b2-protools__fills li { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; background: var(--paper-100); border-radius: var(--radius-sm); font-size: 14px; }
.b2-result__hint.is-warn { color: var(--red-700); }
@media (max-width: 760px) {
  .b2-fields--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2-releves { grid-template-columns: 1fr; }
  .b2-releve .b2-fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b2-releves__save { position: sticky; bottom: 0; background: var(--paper-100); padding: 10px 0; }
}

@media (max-width: 960px) {
  .b2-trow--batches { grid-template-columns: minmax(0, 2fr) 100px 140px minmax(0, 1.6fr); }
  .b2-trow--batches > .b2-prow__actions { grid-column: 1 / -1; justify-content: flex-start; padding-bottom: 8px; }
}
@media (max-width: 720px) {
  .b2-bstep { grid-template-columns: 32px minmax(0, 1fr); }
  .b2-bstep__side { grid-column: 2; align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .b2-trow--readings { grid-template-columns: minmax(0, 1fr) auto; }
}

/* ── Lot 9 : densimètres connectés ───────────────────────────────── */
.b2-devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.b2-device { display: grid; gap: 10px; height: auto; align-content: start; }
.b2-device__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.b2-device__titles { display: flex; flex-direction: column; min-width: 0; }
.b2-device__name { font-weight: 500; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-device__vals .b2-mini__value { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-device__setup { padding: 10px 12px; background: var(--paper-100); border-radius: var(--radius-sm); }
.b2-device__code { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; align-items: center; margin: 4px 0; font-size: 13px; }
.b2-device__code span { color: var(--ink-2); }
.b2-device__code code, .b2-device__inline { padding: 4px 6px; background: #fff; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; overflow-wrap: anywhere; user-select: all; }
@media (max-width: 960px) { .b2-devices { grid-template-columns: 1fr; } }

/* ── Lot 10 : pages publiques, compte, carte, import ─────────────── */
.b2-nav--public { margin-left: auto; align-items: center; gap: 8px; }
.b2-user__link { color: var(--ink-2); text-decoration: none; max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-user__link:hover, .b2-user__link.is-active { color: var(--amber-700); }
.b2-user__logout { margin: 0; }
.b2-auth { display: flex; justify-content: center; padding: 24px 0; }
.b2-auth__card { width: 100%; max-width: 460px; height: auto; padding: 28px; }
.b2-auth__form { display: grid; gap: 12px; margin-top: 16px; }
.b2-auth__submit { width: 100%; height: 44px; }
.b2-auth__links { margin: 16px 0 0; font-size: 14px; color: var(--ink-2); text-align: center; }
.b2-auth__cgu span { line-height: 20px; }
/* Accueil public : léger, une illustration, peu de texte */
.b2-home__hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 48px; margin: 8px 0 56px; }
.b2-home__kicker { display: inline-block; margin: 0 0 16px; padding: 4px 12px; border-radius: 999px; background: var(--amber-100); color: var(--amber-800); font-size: 13px; font-weight: 500; }
.b2-home__title { margin: 0; font: 600 46px/54px var(--font-title); letter-spacing: -.5px; }
.b2-home__title span { color: var(--amber-600); }
.b2-home__lead { margin: 16px 0 0; max-width: 520px; font-size: 18px; line-height: 28px; color: var(--ink-2); }
.b2-home__cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.b2-home__cta .b2-btn { height: 46px; padding: 0 24px; font-size: 15px; white-space: nowrap; }
.b2-home__cta .b2-btn--primary { box-shadow: 0 6px 18px rgba(184, 98, 10, .25); }
.b2-home__proof { display: flex; gap: 20px; margin: 24px 0 0; font-size: 14px; color: var(--ink-3); }
.b2-home__proof strong { color: var(--ink); font-size: 16px; }
.b2-home__art { width: 100%; height: auto; }
.b2-home__bubble { animation: b2-bubble 3.2s ease-in infinite; }
.b2-home__bubble--2 { animation-delay: 1.1s; }
.b2-home__bubble--3 { animation-delay: 2.1s; }
@keyframes b2-bubble { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-110px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .b2-home__bubble { animation: none; } }
.b2-home__features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.b2-home__feature { display: flex; align-items: center; gap: 14px; height: 76px; padding: 0 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.b2-home__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--amber-100); color: var(--amber-700); }
.b2-home__icon svg { width: 24px; height: 24px; }
.b2-home__ftxt { display: flex; flex-direction: column; min-width: 0; }
.b2-home__ftitle { font-size: 15px; line-height: 21px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-home__fdesc { font-size: 13px; line-height: 19px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-home__steps { margin: 56px 0 8px; padding: 32px; border-radius: var(--radius); background: var(--paper-200); text-align: center; }
.b2-home__h2 { margin: 0 0 24px; font: 600 24px/32px var(--font-title); }
.b2-home__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.b2-home__list li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.b2-home__list strong { font-size: 15px; line-height: 21px; font-weight: 500; }
.b2-home__list span:last-child { font-size: 13px; line-height: 19px; color: var(--ink-2); }
.b2-home__num { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 6px; border-radius: 50%; background: var(--amber-600); color: #fff; font-weight: 600; }
.b2-home__again { margin-top: 24px; height: 44px; padding: 0 28px; }
.b2-account { margin-bottom: var(--gap); }
.b2-account__row { grid-template-columns: minmax(0, 1fr) 130px; }
.b2-account__warn { color: var(--red-700); }
.b2-account__danger { border-color: var(--red-100); }
.b2-account__danger .b2-account__row { grid-template-columns: minmax(0, 1fr) 200px 110px; }
.b2-map { padding: 0; overflow: hidden; height: 640px; }
.b2-map__frame { display: block; width: 100%; height: 100%; border: 0; }
.b2-file { position: relative; overflow: hidden; }
.b2-file__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.b2-water__profiles { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr) 190px 120px; margin-bottom: 12px; }
@media (max-width: 720px) {
  .b2-home__hero { grid-template-columns: 1fr; gap: 24px; text-align: center; margin-bottom: 32px; }
  .b2-home__art { order: -1; width: 160px; margin: 0 auto; }
  .b2-home__lead { margin-left: auto; margin-right: auto; font-size: 16px; line-height: 25px; }
  .b2-home__cta, .b2-home__proof { justify-content: center; }
  .b2-home__title { font-size: 32px; line-height: 40px; }
  .b2-home__features, .b2-home__list { grid-template-columns: 1fr; }
  .b2-home__steps { padding: 24px 16px; }
  .b2-map { height: 480px; }
  .b2-account__row, .b2-account__danger .b2-account__row, .b2-water__profiles { grid-template-columns: 1fr; }
  .b2-user__link { display: none; }
}

/* ── Test complet : en-tête qui ne déborde plus entre 720 et 1 200 px ── */
.b2-btn { white-space: nowrap; }
.b2-nav { min-width: 0; }
.b2-nav__link { flex: 0 0 auto; }
.b2-user { flex-shrink: 0; }
@media (max-width: 1360px) {
  .b2-top { flex-wrap: wrap; height: auto; padding: 10px 24px; row-gap: 6px; }
  .b2-nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .b2-nav::-webkit-scrollbar { display: none; }
}
/* Règle du propriétaire : cases de chiffres sur une ligne, texte trop long coupé avec « … » */
.b2-mini__label, .b2-mini__value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Cases de chiffres : intitulé sur deux lignes au plus, chiffre toujours à la même hauteur */
.b2-stat__label { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }

/* ── Lot 11 : abonnement Brasseur ─────────────────────────── */
.b2-upgrade { background: var(--amber-100); border-color: var(--amber-400); color: var(--amber-800); white-space: nowrap; }
.b2-upgrade:hover, .b2-upgrade.is-active { background: var(--amber-600); border-color: var(--amber-600); color: #fff; }
.b2-upsell { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin: 0 0 var(--gap); padding: 8px 8px 8px 16px; border-radius: var(--radius-sm); background: var(--amber-100); color: var(--amber-800); font-size: 14px; line-height: 20px; }
.b2-upsell__text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-upsell .b2-btn { flex: none; white-space: nowrap; }
.b2-plans { margin-bottom: var(--gap); }
.b2-trow--plans { grid-template-columns: minmax(0, 1fr) 150px 150px; min-height: 44px; }
.b2-trow--plans.b2-trow--head { min-height: 56px; font-size: 13px; line-height: 18px; }
.b2-trow--plans.b2-trow--head strong { font-size: 15px; color: var(--ink); }
.b2-plans__col { text-align: center; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-trow--head .b2-plans__col { white-space: normal; }
.b2-plans__col--pro { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--amber-100); color: var(--amber-800); font-weight: 500; }
.b2-plans__no { color: var(--ink-3); }
.b2-sub { margin-bottom: var(--gap); }
.b2-sub__line { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.b2-sub__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.b2-sub--buy { flex-direction: row; align-items: flex-start; gap: 32px; }
.b2-sub__price { flex: 0 0 220px; }
.b2-sub__amount { margin: 6px 0 4px; font: 600 40px/48px var(--font-title); color: var(--amber-700); }
.b2-sub__amount span { font: 400 15px/1 var(--font); color: var(--ink-2); }
.b2-sub__form { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.b2-sub__form .b2-ai__check { align-items: flex-start; line-height: 20px; }
.b2-sub__form .b2-ai__check input { flex: none; margin-top: 1px; }
.b2-sub__go { align-self: flex-start; height: 44px; padding: 0 24px; font-size: 15px; }
.b2-sub__state { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 6px 12px; font-size: 14px; line-height: 20px; }
.b2-sub__state span { color: var(--ink-2); }
.b2-sub__state strong { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; }
.b2-checks__item { display: flex; gap: 8px; color: var(--green-800); }
.b2-checks__item.is-ko { color: var(--red-700); font-weight: 500; }
.b2-howto { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 14px; line-height: 21px; color: var(--ink-2); }
.b2-howto__code { display: block; margin: 4px 0; padding: 6px 8px; border-radius: 6px; background: var(--paper-200); font-size: 13px; word-break: break-all; color: var(--ink); }
@media (max-width: 720px) {
  .b2-trow--plans { grid-template-columns: minmax(0, 1fr) 78px 84px; gap: 8px; min-height: 52px; }
  .b2-trow--plans .b2-trow__main { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13px; line-height: 18px; }
  .b2-plans__col { white-space: normal; font-size: 12px; line-height: 16px; }
  .b2-sub--buy { flex-direction: column; gap: 12px; }
  .b2-sub__price { flex: none; }
  .b2-sub__state { grid-template-columns: 1fr; }
  .b2-upsell { flex-direction: column; align-items: stretch; }
  .b2-upsell__text { white-space: normal; }
}

/* ── 11/10/2026 : sels conseillés pour un profil d'eau ───────── */
.b2-fields--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.b2-water__custom { margin-top: 4px; }
.b2-salts { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--paper-200); }
.b2-salts .b2-upsell { margin: 0; }
.b2-ions--salts th, .b2-ions--salts td { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-ions--salts th:first-child { width: 90px; }
.b2-ions tr.is-total th, .b2-ions tr.is-total td { font-weight: 500; color: var(--ink); border-bottom: 0; }
@media (max-width: 720px) {
  .b2-fields--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b2-ions--salts { font-size: 12px; }
  .b2-ions--salts th:first-child { width: 70px; }
}

/* ── 12/10/2026 : fermentation par étapes, eau de la recette ── */
.b2-ed--ferm { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) 32px; }
.b2-ferm-profile { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: -4px 0 var(--gap); }
.b2-ferm-profile__title { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-right: 4px; }
.b2-ferm-profile__step { display: inline-flex; align-items: center; gap: 6px; height: 28px; max-width: 280px; padding: 0 10px; border-radius: 14px; background: var(--paper-200); font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-ferm-profile__step strong { font-weight: 500; color: var(--ink); }
.b2-ferm-profile__step.is-now { background: var(--amber-100); color: var(--amber-800); }
@media (max-width: 720px) {
  .b2-ed--ferm { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ── 12/10/2026 : Ma brasserie = brassage → fermentation → cave ── */
.b2-zone-head { display: flex; align-items: center; gap: 12px; margin: 32px 0 16px; }
.b2-zone-head .b2-section { display: flex; align-items: center; gap: 10px; margin: 0; }
.b2-zone-head > .b2-btn, .b2-zone-head > .b2-link { margin-left: auto; white-space: nowrap; }
.b2-zone-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--amber-600); color: #fff; font-size: 13px; font-weight: 600; }
.b2-zone-hint { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.b2-tank__note { display: block; height: 18px; margin-top: 2px; max-width: 100%; font-size: 12px; line-height: 18px; color: var(--amber-800); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-kettle .b2-flame { animation: b2-flame 1.6s ease-in-out infinite alternate; transform-origin: 55px 214px; }
@keyframes b2-flame { from { transform: scaleY(.9); } to { transform: scaleY(1.08); } }
@media (prefers-reduced-motion: reduce) { .b2-kettle .b2-flame { animation: none; } }
@media (max-width: 720px) {
  .b2-zone-head { flex-wrap: wrap; gap: 6px 10px; }
  .b2-zone-hint { order: 3; width: 100%; }
}

/* 13/10/2026 — relecture « brasseur pro » : aides, repères du style, alertes */
.b2-help { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; margin-left: 4px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 10px; line-height: 1; color: var(--ink-3); cursor: help; vertical-align: 1px; }
.b2-mini[title] { cursor: help; }
.b2-mini.is-low, .b2-mini.is-high { border-color: var(--amber-400); background: var(--amber-100); }
.b2-result__hint.is-warn { color: var(--amber-800); }
.b2-actions-row { display: flex; flex-wrap: wrap; gap: 8px; }
.b2-style-cmp { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.b2-style-cmp__title { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-style-cmp__row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; height: 26px; align-items: center; font-size: 13px; }
.b2-style-cmp__row > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-style-cmp__label { color: var(--ink-3); }
.b2-style-cmp__state { text-align: right; font-weight: 600; }
.b2-style-cmp__row.is-ok .b2-style-cmp__state { color: var(--green-600); }
.b2-style-cmp__row.is-bas .b2-style-cmp__state, .b2-style-cmp__row.is-haut .b2-style-cmp__state { color: var(--amber-700); }
.b2-alert-temp { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--amber-400); background: var(--amber-100); color: var(--amber-800); font-size: 14px; }
/* Équipement : système de brassage = rendement, évaporation (% ou L/h), pertes */
/* 31/10/2026 : + eau d'empâtage, faux fond et bouton G30 → deux lignes de 6 cases identiques */
.b2-ea--system { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.b2-prow__pair--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.b2-prow__pair--four .b2-input { padding-left: 6px; padding-right: 4px; }
/* 31/10/2026 : réglages d'une installation en modification → 3 colonnes (rendement, évap. %, L/h / pertes, L/kg, faux fond), bouton G30 dessous */
.b2-prow__pair--six { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 6px 0; }
.b2-prow__pair--six .b2-btn { grid-column: 1 / -1; width: 100%; }
@media (max-width: 760px) { .b2-ea--system { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Éditeur : style en saisie libre, lien de retour vers la liste */
.b2-field__label--row { display: flex; justify-content: space-between; gap: 8px; white-space: nowrap; overflow: hidden; }
.b2-link-btn { padding: 0; border: 0; background: none; font: inherit; font-size: 12px; color: var(--primary); text-decoration: underline; cursor: pointer; white-space: nowrap; }
/* Eau de ma commune (Hub'Eau) */
.b2-tapwater { margin: 12px 0; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); background: var(--paper-100); }
.b2-tapwater__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.b2-tapwater__row--3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }   /* 21/10/2026 : Offrir Brasseur Pro */
.b2-tapwater__row .b2-btn { width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-tapwater .b2-result__hint { margin-top: 8px; }
.b2-tapwater__list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
@media (max-width: 640px) { .b2-tapwater__row { grid-template-columns: 1fr; } }
/* Jour J : étape cochée tout de suite, en attente de la réponse du serveur */
.b2-bstep.is-pending .b2-check { opacity: .7; }
/* Admin › Newsletter : modèles et aide à la mise en forme */
.b2-news__tpl { margin-bottom: 12px; }
.b2-news__tpls { display: flex; flex-wrap: wrap; gap: 6px; }
.b2-news__tpls .b2-btn { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-news__help { margin: 6px 0 12px; font-size: 13px; color: var(--ink-3); }
.b2-news__help summary { cursor: pointer; color: var(--primary); }
/* 23/10/2026 : noter ou corriger la densité initiale après l'ensemencement */
.b2-fix { margin: 12px 0 4px; }
.b2-fix summary { cursor: pointer; color: var(--primary); font-size: 14px; }
.b2-news__help ul { margin: 6px 0 0; padding-left: 18px; line-height: 1.7; }
.b2-news__help code { background: var(--paper-200); padding: 1px 5px; border-radius: 4px; font-size: 12px; }
.b2-news__stats { margin-top: 16px; }
.b2-news__stats .b2-result__hint + .b2-result__hint { margin-top: 6px; }
/* Admin › Newsletter : confirmation d'envoi bien visible */
.b2-news__confirm { flex: 1 1 100%; padding: 14px 16px; border: 2px solid var(--amber-400); border-radius: var(--radius-sm); background: var(--amber-100); color: var(--amber-800); }
.b2-news__confirm p { margin: 0 0 10px; font-size: 15px; }
.b2-news__confirm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* Éditeur : fin de fermentation et conditionnement */
.b2-after { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 16px; margin: 0 0 8px; font-size: 14px; line-height: 1.5; }
.b2-after dt { font-weight: 600; color: var(--ink-2); }
.b2-after dd { margin: 0; color: var(--ink); }
@media (max-width: 640px) { .b2-after { grid-template-columns: 1fr; } .b2-after dd { margin-bottom: 6px; } }
/* Générateur : mes recettes selon le grenier */
.b2-sug--mine { cursor: default; }
.b2-sug--mine .b2-sug__name { color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-sug--mine .b2-sug__name:hover { text-decoration: underline; }
.b2-sug__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.b2-sug__actions .b2-btn { justify-content: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 14/10/2026 — créateur d'étiquettes */
.b2-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.b2-label-preview { padding: 16px; margin-bottom: 16px; }
.b2-label-preview__img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 6px 20px rgba(60, 40, 20, .18); background: var(--paper-200); }
.b2-label-options { margin-top: 16px; align-items: stretch; }
.b2-label-prompt { font-size: 13px; line-height: 1.45; color: var(--ink-2); resize: vertical; }
.b2-label-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 6px; }
.b2-label-actions .b2-btn { justify-content: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-label-file { position: relative; cursor: pointer; }
@media (max-width: 640px) { .b2-label-actions { grid-template-columns: 1fr; } }

/* ── 15/10/2026 : pages publiques (Tarifs, Fonctionnalités), vidéo au clic, BrewMap, Admin › Site / Entreprises ── */
.b2-public { display: flex; flex-direction: column; gap: 32px; }
.b2-public__head { text-align: center; max-width: 760px; margin: 8px auto 0; }
.b2-public__title { margin: 0; font: 600 40px/48px var(--font-title); letter-spacing: -.4px; }
.b2-public__lead { margin: 14px auto 0; font-size: 18px; line-height: 28px; color: var(--ink-2); }
.b2-public__small { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }
.b2-public__small a { color: var(--amber-700); }
.b2-public__crumbs { font-size: 13px; color: var(--ink-3); }
.b2-public__crumbs a { color: var(--amber-700); text-decoration: none; }
.b2-public__video { max-width: 960px; width: 100%; margin: 0 auto; }
.b2-public__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 960px; width: 100%; margin: 0 auto; padding: 0; list-style: none; }
.b2-public__points li { display: flex; gap: 10px; align-items: flex-start; min-height: 64px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; line-height: 21px; }
.b2-public__points li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--amber-100); color: var(--amber-700); font-weight: 600; font-size: 13px; }
.b2-public__faq { max-width: 760px; width: 100%; margin: 0 auto; }
.b2-faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 8px; }
.b2-faq summary { cursor: pointer; padding: 14px 16px; font-weight: 500; list-style-position: inside; }
.b2-faq p { margin: 0; padding: 0 16px 14px; color: var(--ink-2); line-height: 22px; }

.b2-plans2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 760px; width: 100%; margin: 0 auto; }
.b2-plan2 { position: relative; display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.b2-plan2--pro { border: 2px solid var(--amber-600); box-shadow: 0 10px 28px rgba(184, 98, 10, .12); }
.b2-plan2__badge { position: absolute; top: -12px; left: 24px; padding: 2px 10px; border-radius: 999px; background: var(--amber-600); color: #fff; font-size: 12px; font-weight: 600; }
.b2-plan2__name { margin: 0; font: 600 20px/28px var(--font-title); }
.b2-plan2__price { margin: 8px 0 0; font: 600 34px/40px var(--font-title); }
.b2-plan2__price span { font: 400 15px var(--font); color: var(--ink-2); }
.b2-plan2__note { margin: 2px 0 0; height: 20px; font-size: 13px; color: var(--ink-3); }
.b2-plan2__list { flex: 1; margin: 16px 0; padding: 0; list-style: none; }
.b2-plan2__list li { position: relative; padding-left: 22px; height: 30px; line-height: 30px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-plan2__list li::before { content: "✓"; position: absolute; left: 0; color: var(--amber-600); font-weight: 600; }
.b2-plan2__cta { height: 44px; }

.b2-feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.b2-feat-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.b2-feat-card:hover { border-color: var(--amber-400); }
.b2-feat-card img { display: block; width: 100%; height: 160px; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.b2-feat-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.b2-feat-card__menu { height: 18px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--amber-700); }
.b2-feat-card__menu em { font-style: normal; margin-left: 6px; padding: 0 6px; border-radius: 6px; background: var(--amber-100); }
.b2-feat-card__title { height: 44px; font-weight: 600; font-size: 16px; line-height: 22px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.b2-feat-card__lead { height: 60px; font-size: 14px; line-height: 20px; color: var(--ink-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.b2-feat-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.b2-video { margin: 0; }
.b2-video__play { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; }
.b2-video__play img, .b2-video__shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border-radius: var(--radius); }
.b2-video__play img { opacity: .85; transition: opacity .2s; border-radius: 0; }
.b2-video__play:hover img { opacity: 1; }
.b2-video__shot { border: 1px solid var(--line); }
.b2-video__btn { position: absolute; inset: 0; display: grid; place-items: center; }
.b2-video__btn svg { filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); transition: transform .15s; }
.b2-video__play:hover .b2-video__btn svg { transform: scale(1.08); }
.b2-video__frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.b2-video__note { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); text-align: center; }
.b2-home__video { margin: 48px auto 0; max-width: 860px; text-align: center; }
.b2-home__more { margin: 20px 0 0; text-align: center; font-size: 15px; }
a.b2-home__feature { color: inherit; text-decoration: none; }
a.b2-home__feature:hover { border-color: var(--amber-400); }

.b2-pro__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.b2-pro__desc { margin: 0; line-height: 24px; white-space: normal; }
.b2-pro__contact p { margin: 6px 0; }
.b2-ent__list { margin: 0; padding-left: 20px; line-height: 26px; }
.b2-ent__who { min-width: 0; }
.b2-ent__detail { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

.b2-bars { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding: 8px 0; }
.b2-bars__bar { flex: 1; min-width: 4px; border-radius: 3px 3px 0 0; background: var(--amber-400); }
.b2-bars__bar:hover { background: var(--amber-700); }
.b2-kv { display: flex; justify-content: space-between; gap: 12px; height: 28px; margin: 0; line-height: 28px; border-bottom: 1px solid var(--paper-300); font-size: 14px; }
.b2-kv span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }

@media (max-width: 960px) {
  .b2-feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .b2-public__title { font-size: 30px; line-height: 38px; }
  .b2-public__lead { font-size: 16px; line-height: 25px; }
  .b2-plans2, .b2-feat-grid, .b2-public__points, .b2-pro__grid { grid-template-columns: 1fr; }
  .b2-nav__link--wide { display: none; }
}
.b2-public__biz { max-width: 760px; width: 100%; margin: 0 auto; height: auto; }
.b2-public__biz p { margin: 8px 0 14px; line-height: 23px; color: var(--ink-2); }
.b2-public__biz a:not(.b2-btn) { color: var(--amber-700); }
/* Menu public (4 liens) : reste sur la ligne du logo, à droite, à toutes les tailles */
.b2-nav.b2-nav--public { order: 0; width: auto; margin-left: auto; overflow: visible; }
@media (max-width: 1360px) { .b2-public .b2-top, body.b2-public .b2-top { flex-wrap: nowrap; } }
@media (max-width: 480px) { body.b2-public .b2-brand span { display: none; } body.b2-public .b2-nav--public .b2-btn { padding: 0 12px; } }
/* Capture d'écran à la place d'une vidéo : format naturel (pas recadrée) */
.b2-video__shot, .b2-video__play img { aspect-ratio: auto; height: auto; }
/* Téléphone : la zone principale ne dépasse plus de l'écran (corps en colonne flexible) */
.b2-main { min-width: 0; width: 100%; box-sizing: border-box; }
.b2-home__kicker { max-width: 100%; white-space: normal; }
@media (max-width: 480px) { .b2-toolbar__btn { white-space: normal; height: auto; min-height: 36px; padding-top: 6px; padding-bottom: 6px; line-height: 18px; } }
@media (max-width: 720px) {
  .b2-home__features, .b2-home__list, .b2-plans2, .b2-feat-grid, .b2-public__points, .b2-pro__grid { grid-template-columns: minmax(0, 1fr); }
  .b2-plan2, .b2-home__feature { min-width: 0; }
}

/* ── 15/10/2026 : Admin › IA, jauges de crédit (anneau % restant) ── */
.b2-credit { margin-bottom: 16px; }
.b2-credit__who { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.b2-credit__body { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; margin: 8px 0 12px; }
.b2-credit__facts { min-width: 0; }
.b2-ring { width: 120px; height: 120px; }
.b2-ring__track { fill: none; stroke: var(--paper-300); stroke-width: 10; }
.b2-ring__left { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray .4s; }
.b2-ring--ok .b2-ring__left { stroke: #4d7c3a; }
.b2-ring--mid .b2-ring__left { stroke: var(--amber-600); }
.b2-ring--low .b2-ring__left { stroke: #b42318; }
.b2-ring__pct { font: 600 20px var(--font); fill: var(--ink); }
.b2-ring__sub { font: 400 10px var(--font); fill: var(--ink-3); }
.b2-ring--off .b2-ring__pct { fill: var(--ink-3); }
@media (max-width: 480px) { .b2-credit__body { grid-template-columns: 1fr; justify-items: center; } }

/* ── 17/10/2026 : page bêta — listes en phrases complètes (sur plusieurs lignes) ── */
.b2-plan2__list--text li { height: auto; line-height: 1.5; padding-top: 5px; padding-bottom: 5px; white-space: normal; overflow: visible; }
.b2-plan2__list--text li::before { top: 5px; }

/* ── 17/10/2026 : 3 offres (Gratuit, Brasseur Pro, Brasseur Expert) ── */
.b2-plans2.b2-plans2--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1100px; }
@media (max-width: 900px) { .b2-plans2.b2-plans2--3 { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

/* ── 18/10/2026 : défis de brasseur (grade, défis, parrainage, classement, message « Défi réussi ») ── */
.b2-grade { display: flex; align-items: center; gap: 16px; height: auto; min-height: 96px; margin-bottom: 16px; text-decoration: none; color: inherit; }
.b2-grade--link:hover { border-color: var(--amber-400); }
.b2-grade__emoji { flex: none; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; background: var(--amber-100); }
.b2-grade__body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.b2-grade__name { margin: 0; font-size: 18px; line-height: 24px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-grade__xp { font-size: 14px; font-weight: 500; color: var(--amber-700); margin-left: 8px; }
.b2-grade__track { display: block; height: 10px; border-radius: 5px; }
.b2-grade__next { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-grid--defis { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-auto-rows: 1fr; }
.b2-defi { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 104px; padding: 0 14px; }
.b2-defi.is-locked { background: var(--paper-200); }
.b2-defi.is-locked .b2-badge__icon { background: var(--paper-300); }
.b2-defi__text { min-width: 0; display: flex; flex-direction: column; }
.b2-defi__name { font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-defi.is-locked .b2-defi__name { color: var(--ink-2); }
.b2-defi__help { font-size: 12px; line-height: 16px; height: 32px; color: var(--ink-3); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.b2-defi__state { font-size: 12px; line-height: 18px; color: var(--green-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-defi.is-locked .b2-defi__state { color: var(--ink-2); }
.b2-defi__pts { font-size: 13px; font-weight: 600; color: var(--amber-700); white-space: nowrap; }
.b2-defi.is-locked .b2-defi__pts { color: var(--ink-3); }
.b2-parrain { height: auto; margin: 16px 0; }
.b2-parrain__row { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 8px; align-items: center; }
.b2-rank { height: auto; padding: 0; overflow: hidden; }
.b2-rank__row { display: grid; grid-template-columns: 64px minmax(0, 1.4fr) minmax(0, 1.2fr) 64px 80px; gap: 12px; align-items: center; height: 48px; padding: 0 16px; border-top: 1px solid var(--line); font-size: 14px; }
.b2-rank__row--head { height: 40px; border-top: 0; background: var(--paper-100); font-size: 12px; color: var(--ink-2); font-weight: 500; }
.b2-rank__row.is-me { background: var(--amber-100); font-weight: 500; }
.b2-rank__row > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-rank__pos { font-size: 16px; }
.b2-rank__pts { font-weight: 600; text-align: right; }
.b2-rank__row--head > span:last-child { text-align: right; }
.b2-toast { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 56px; margin-bottom: 16px; padding: 8px 16px; border: 1px solid var(--amber-400); border-radius: var(--radius); background: var(--amber-100); }
.b2-toast__icon { font-size: 24px; }
.b2-toast__text { min-width: 0; font-size: 14px; line-height: 20px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) {
    .b2-parrain__row { grid-template-columns: minmax(0, 1fr); }
    .b2-rank__row { grid-template-columns: 44px minmax(0, 1fr) 56px; }
    .b2-rank__row > span:nth-child(3), .b2-rank__row > span:nth-child(4) { display: none; }
    .b2-grade__next { white-space: normal; }
}

/* ── 18/10/2026 : tableau comparatif à 3 plans (Gratuit, Brasseur Pro, Brasseur Expert) ── */
.b2-trow--plans.b2-trow--plans3 { grid-template-columns: minmax(0, 1fr) 130px 130px 130px; }
.b2-plans__col--expert { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--green-100); color: var(--green-800); font-weight: 500; }
@media (max-width: 720px) {
    .b2-trow--plans.b2-trow--plans3 { grid-template-columns: minmax(0, 1fr) 62px 66px 66px; gap: 6px; }
}

/* ── 18/10/2026 : Admin › Newsletter › suivi des e-mails (lecture, clics, première recette) ── */
.b2-trow--suivi { grid-template-columns: minmax(0, 2fr) 90px 110px 140px 130px 140px; }
@media (max-width: 720px) {
    .b2-trow--suivi { grid-template-columns: minmax(0, 1fr) repeat(2, 70px); row-gap: 4px; padding: 10px 0; }
}

/* ── 18/10/2026 (retour d'utilisateur) : listes de suggestions visibles, BU:GU, barres de tolérance du style ── */
/* Champs avec suggestions (malts, houblons, levures…) : flèche toujours visible, la liste s'ouvre au clic */
.b2-input[list] { padding-right: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%236B4F3A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.b2-input[list]::-webkit-calendar-picker-indicator { opacity: 0; width: 26px; cursor: pointer; }
.b2-mini__value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Repères du style : texte sur une ligne, barre (zone verte = plage du style, trait = la recette) en dessous */
.b2-style-cmp__row { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 20px 10px; row-gap: 3px; height: 38px; }
.b2-style-cmp__bar { grid-column: 1 / -1; position: relative; height: 8px; border-radius: 4px; background: var(--paper-300); overflow: visible !important; }
.b2-style-cmp__zone { position: absolute; left: 25%; width: 50%; top: 0; bottom: 0; border-radius: 4px; background: var(--green-100); box-shadow: inset 0 0 0 1px var(--green-400); }
.b2-style-cmp__mark { position: absolute; top: -3px; width: 4px; height: 14px; margin-left: -2px; border-radius: 2px; background: var(--green-600); }
.b2-style-cmp__row.is-bas .b2-style-cmp__mark, .b2-style-cmp__row.is-haut .b2-style-cmp__mark { background: var(--amber-600); }

/* ── 21/10/2026 : Préparer mes prochains brassins (besoins en matières sur une période) ── */
.b2-need-list { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; max-height: 264px; overflow-y: auto; }
.b2-need { display: grid; grid-template-columns: 20px 92px minmax(0, 1fr) 28px; align-items: center; gap: 8px; height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-100); font-size: 14px; }
.b2-need__date { color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.b2-need__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
div.b2-need { grid-template-columns: 92px minmax(0, 1fr) 28px; }
.b2-need-add { display: grid; grid-template-columns: minmax(0, 1fr) 90px 100px; gap: 8px; align-items: end; }
@media (max-width: 720px) { .b2-need-add { grid-template-columns: minmax(0, 1fr) 80px; } }
/* ── 21/10/2026 : mes brassins dans mon agenda ── */
.b2-agenda { height: auto; margin-top: 24px; }
.b2-agenda__how { margin: 10px 0; padding-left: 18px; font-size: 14px; line-height: 22px; }
/* ── 22/10/2026 : Brasseur Expert (mise à l'échelle, étiquettes de vente, accises, prix de revient) ── */
.b2-expert__card { display: flex; flex-direction: column; gap: 8px; }
.b2-expert__card .b2-result__hint { flex: 1; }
.b2-expert__card .b2-btn { align-self: flex-start; }
.b2-expert__how { margin: 0; font-size: 13px; line-height: 20px; color: var(--ink-2); }
.b2-expert__lock { margin-bottom: 16px; border-color: var(--amber-300, #e8c48a); }
/* ── 08/11/2026 (lot GS0) : Gestion, menu de côté, Aujourd'hui, Mes modules ── */
.b2-notice--warn { background: var(--amber-100); color: var(--amber-800); }
.b2-main:has(.b2-gside) { max-width: 1358px; }   /* la largeur du menu s'ajoute : le contenu garde ses 1 072 px (planning de 7 jours) */
.b2-page:has(> .b2-gside) { display: grid; grid-template-columns: 210px minmax(0, 1fr); column-gap: 28px; align-content: start; }
.b2-page:has(> .b2-gside) { grid-template-rows: repeat(29, auto) 1fr; }   /* la hauteur du menu va dans la dernière rangée : les cadres ne s'étirent pas */
.b2-page:has(> .b2-gside) > * { grid-column: 2; min-width: 0; }
.b2-page:has(> .b2-gside) > .b2-tool { margin-bottom: var(--gap); height: auto; }
.b2-page > .b2-gside { grid-column: 1; grid-row: 1 / span 30; }
.b2-page:has(> .b2-gside) .b2-page-head__titles > .b2-link { display: none; }   /* le menu de côté remplace le lien de retour */
.b2-gside__group { margin-bottom: 14px; }
.b2-gside__title { display: block; padding: 0 12px; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.b2-gside__link { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; }
.b2-gside__link:hover { background: var(--paper-200); }
.b2-gside__link.is-active { background: var(--amber-700); color: #FFFFFF; font-weight: 600; }
.b2-gtoday { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.b2-gcard { display: flex; flex-direction: column; justify-content: space-between; height: 128px; box-sizing: border-box; padding: 16px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.b2-gcard > * { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-gcard__when { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.b2-gcard__when::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.b2-gcard--red .b2-gcard__when { color: var(--red-700); }
.b2-gcard--amber .b2-gcard__when { color: var(--amber-700); }
.b2-gcard--green .b2-gcard__when { color: var(--green-600); }
.b2-gcard__title { font-size: 18px; line-height: 24px; font-weight: 600; }
.b2-gcard__detail { font-size: 14px; color: var(--ink-2); }
.b2-gh2 { margin: 28px 0 12px; font-size: 17px; }
.b2-gchain { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.b2-gchain__step { display: block; height: 118px; box-sizing: border-box; padding: 16px; border-right: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.b2-gchain__step > * { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-gchain__label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b2-gchain__value { margin-top: 8px; font-family: var(--font-title); font-size: 27px; line-height: 34px; font-weight: 700; }
.b2-gchain__sub { margin-top: 2px; font-size: 13.5px; color: var(--ink-2); }
.b2-gsettings { margin-top: 20px; }
.b2-gsettings > summary { cursor: pointer; width: max-content; max-width: 100%; min-height: 44px; display: flex; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--amber-700); }
.b2-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.b2-mod { display: flex; align-items: center; gap: 12px; height: 92px; box-sizing: border-box; padding: 12px 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); }
.b2-mod.is-off { background: var(--paper-200); }
.b2-mod__text { flex: 1 1 auto; min-width: 0; }
.b2-mod__name { display: block; font-size: 16px; line-height: 22px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-mod__desc { margin-top: 4px; font-size: 13.5px; line-height: 18px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b2-mod__soon { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--paper-300); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.b2-switch { flex: none; width: 56px; height: 44px; padding: 8px 0; border: 0; background: transparent; cursor: pointer; }
.b2-switch__track { display: flex; justify-content: flex-start; width: 56px; height: 28px; box-sizing: border-box; padding: 3px; border-radius: 14px; background: var(--ink-3); }
.b2-switch__track::after { content: ""; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; }
.b2-switch[aria-checked="true"] .b2-switch__track { justify-content: flex-end; background: var(--green-600); }
.b2-beers { padding: 0; overflow: hidden; }
.b2-beer { display: grid; grid-template-columns: 44px minmax(0, 1.6fr) minmax(0, 1.6fr) 130px; gap: 12px; align-items: center; height: 68px; padding: 0 14px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; }
a.b2-beer:hover { background: var(--paper-100); }
.b2-beer--head { height: 40px; border-top: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b2-beer__art { width: 20px; height: 48px; justify-self: center; }
.b2-beer__who { min-width: 0; display: flex; flex-direction: column; }
.b2-beer__who > *, .b2-beer__formats { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-beer__who strong { font-size: 15.5px; }
.b2-beer__family, .b2-beer__tel { font-size: 13.5px; color: var(--ink-2); }
.b2-beer__tel { display: none; }
.b2-beerstatus { justify-self: start; padding: 5px 10px; border-radius: 999px; background: var(--amber-100); color: var(--amber-800); font-size: 13px; font-weight: 600; white-space: nowrap; }
.b2-beerstatus.is-ready { background: var(--green-100); color: var(--green-800); }
.b2-fmt { display: grid; grid-template-columns: 1fr 1fr 110px; gap: 12px; align-items: center; min-height: 52px; border-top: 1px solid var(--paper-200); font-size: 15px; }
/* 11/11/2026 (lot GS3) : lignes de stock et de mouvements sur une seule ligne, texte coupé avec « … » */
.b2-fmt--line { height: 52px; }
.b2-stockcard { margin-top: 16px; }
/* 11/11/2026 (lot GS4) : registre des bières */
.b2-reg__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.b2-reg__bar .b2-seg__btn { flex: 0 0 auto; }
.b2-reg__month { display: inline-flex; align-items: center; justify-content: center; min-width: 160px; white-space: nowrap; }
.b2-reg__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.b2-reg__tiles .b2-mini__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-reg__scroll { overflow-x: auto; }
.b2-reg__scroll + .b2-reg__scroll { margin-top: 20px; }
.b2-reg__scroll > * { min-width: 640px; }
.b2-reg__scroll .b2-trow--head { display: grid; }
.b2-reg__cat { display: flex; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--radius-sm); background: var(--paper-200); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-trow--reg { grid-template-columns: minmax(0, 1.8fr) repeat(5, minmax(70px, 1fr)); height: 52px; }
.b2-trow--regmv { grid-template-columns: 90px minmax(0, 1.6fr) minmax(0, 1fr) 130px 100px 110px; height: 52px; }
.b2-reg__total { font-weight: 600; }
/* 11/11/2026 (lot GS5) : DRM en 3 étapes */
.b2-drm__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; }
.b2-drm__step { display: flex; align-items: center; gap: 10px; width: 100%; height: 56px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-drm__step.is-active { background: var(--amber-700); border-color: var(--amber-700); color: #fff; }
.b2-drm__num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-200); color: var(--ink); font-size: 14px; }
/* 11/11/2026 : bandeau des cartes de la Communauté (image Pro / Expert ou bandeau automatique) */
.b2-recipe--banner { padding-top: 0; overflow: hidden; }
.b2-recipe__banner { display: flex; align-items: center; justify-content: center; height: 120px; margin: 0 -20px 12px; background: color-mix(in srgb, var(--beer) 22%, #fbf3e4); overflow: hidden; }
.b2-recipe__banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b2-recipe__banner svg { height: 86px; width: auto; }
.b2-recipe--banner .b2-recipe__glass { display: none; }
.b2-recipe--banner .b2-recipe__head { grid-template-columns: minmax(0, 1fr) auto; }
.b2-card.b2-recimg { display: flex; flex-direction: row; flex-wrap: wrap; gap: 20px; align-items: flex-start; height: auto; margin-bottom: 16px; }
a.b2-recimg__choice { text-decoration: none; border-style: dashed; }
.b2-recimg__main { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.b2-recimg__choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.b2-recimg__choice { display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 76px; padding: 10px 12px; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm); font: inherit; color: var(--ink); cursor: pointer; }
.b2-recimg__choice span { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-recimg__choice.is-active { border-color: var(--amber-700); background: #fdf4e6; }
.b2-recimg__preview { flex: 1 1 280px; margin: 0; border-radius: var(--radius-sm); }
.b2-trow--drm { grid-template-columns: minmax(0, 1.8fr) repeat(4, minmax(90px, 1fr)); height: 52px; }
.b2-drm__total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 16px; }
.b2-fmt--line > * { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-fmt--move { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 64px 92px; }
.b2-fmt--move > :nth-child(3) { text-align: right; }
@media (max-width: 760px) {
  .b2-fmt--line { grid-template-columns: minmax(0, 1fr) 96px 56px; }
  .b2-fmt--move { grid-template-columns: minmax(0, 1fr) 56px 84px; }
  .b2-fmt--move > :nth-child(2) { display: none; }
}
@media (max-width: 760px) {
  .b2-beer { grid-template-columns: 30px minmax(0, 1fr) auto; height: 84px; }
  .b2-beer--head { display: none; }
  .b2-beers .b2-beer:nth-child(2) { border-top: 0; }
  .b2-beers .b2-beer > .b2-beer__formats, .b2-beer__family { display: none; }
  .b2-beer__tel { display: block; }
}
.b2-tmember { display: grid; grid-template-columns: minmax(0, 1fr) 150px 96px; gap: 12px; align-items: center; min-height: 64px; border-top: 1px solid var(--line); font-size: 14.5px; }
.b2-tmember__who { min-width: 0; display: flex; flex-direction: column; }
.b2-tmember__who > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-tmember__who > span { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 900px) {
  .b2-tmember { grid-template-columns: minmax(0, 1fr) 120px; padding: 8px 0; }
  .b2-tmember__who { grid-column: 1 / -1; }
  .b2-page:has(> .b2-gside) { display: block; }
  .b2-gside { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 16px; padding-bottom: 4px; }
  .b2-gside__group { display: contents; }
  .b2-gside__title { display: none; }
  .b2-gside__link { flex: none; display: flex; align-items: center; min-height: 44px; background: var(--paper-200); }
  .b2-gcard { height: 112px; }
}
.b2-trow--accises { grid-template-columns: minmax(0, 2fr) 110px 170px 80px 100px 110px; }
.b2-accises__vol { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.b2-trow--cost { grid-template-columns: minmax(0, 2fr) 110px 190px 110px; }
.b2-cost__price { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 6px; align-items: center; }
.b2-scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
@media (max-width: 720px) {
    .b2-trow--accises { grid-template-columns: minmax(0, 1fr) 150px; row-gap: 6px; padding: 10px 0; }
    .b2-trow--cost { grid-template-columns: minmax(0, 1fr) 150px; row-gap: 6px; padding: 10px 0; }
    .b2-scale { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ── 22/10/2026 : profils d'empâtage / fermentation enregistrés (Brasseur Pro) ── */
.b2-profiles { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.b2-profiles__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 180px; gap: 12px; align-items: end; }
.b2-profiles__row .b2-btn { width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-profiles__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.b2-profiles__chip { display: inline-flex; align-items: center; gap: 6px; max-width: 220px; height: 28px; padding: 0 10px; border: 1px solid var(--line);
    border-radius: 14px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--paper-100); }
@media (max-width: 720px) { .b2-profiles__row { grid-template-columns: 1fr; } }
/* ── 22/10/2026 : agenda des brassins (tous les plans) ── */
.b2-cal { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.b2-cal__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.b2-cal__head span { padding: 6px 8px; font-size: 12px; color: var(--ink-2); background: var(--paper-100); border-bottom: 1px solid var(--line); }
.b2-cal__day { height: 112px; padding: 4px 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow: hidden; }
.b2-cal__row .b2-cal__day:last-child { border-right: 0; }
.b2-cal__row:last-child .b2-cal__day { border-bottom: 0; }
.b2-cal__day.is-out { background: var(--paper-100); opacity: .55; }
.b2-cal__day.is-today .b2-cal__num { background: var(--amber-700, #b8620a); color: #fff; border-radius: 10px; padding: 0 7px; }
.b2-cal__num { align-self: flex-start; font-size: 12px; line-height: 20px; font-variant-numeric: tabular-nums; }
.b2-cal__ev { display: block; height: 20px; padding: 0 6px; border-radius: 4px; font-size: 11.5px; line-height: 20px; white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; text-decoration: none; color: #3b2a1a; background: #f3e6cf; }
.b2-cal__ev--brassage { background: #f6d9a8; }
.b2-cal__ev--temperature { background: #dbe8f5; }
.b2-cal__ev--houblon { background: #dcefd2; }
.b2-cal__ev--garde { background: #e4e0f2; }
.b2-cal__ev--bouteille { background: #f4dccf; }
.b2-cal__ev--pret { background: #f2ecc4; }
.b2-cal__more { font-size: 11px; color: var(--ink-2); }
.b2-cal__legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.b2-cal__legend .b2-cal__ev { display: inline-block; width: 120px; text-align: center; }
/* 04/11/2026 (retour de Gilles) : la légende de l'agenda sert de filtre */
.b2-cal__legend .b2-cal__filter { width: 148px; border: 1px solid transparent; font: inherit; color: inherit; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-cal__filter:hover, .b2-cal__filter:focus-visible { border-color: var(--ink-2); }
.b2-cal__filter.is-off { background: transparent; border: 1px dashed var(--line, #d8d2c4); opacity: .55; text-decoration: line-through; }
.b2-trow--agenda { grid-template-columns: 110px 140px minmax(0, 1fr); color: var(--ink); text-decoration: none; }
.b2-trow--agenda .b2-cal__ev { display: inline-block; width: 130px; text-align: center; }
@media (max-width: 720px) {
    .b2-cal__day { height: 64px; padding: 3px; }
    .b2-cal__ev { height: 6px; padding: 0; font-size: 0; }
    .b2-trow--agenda { grid-template-columns: 90px minmax(0, 1fr); }
    .b2-trow--agenda > span:nth-child(2) { display: none; }
}
/* ── 22/10/2026 : rappel de chauffe de l'eau de rinçage ; liens des notes ── */
.b2-remind { margin: 6px 0 0; padding: 6px 10px; border-radius: var(--radius-sm); background: #fbeed6; font-size: 13.5px; line-height: 20px; }
.b2-remind__when { font-weight: 700; font-variant-numeric: tabular-nums; }
.b2-remind__when.is-done { color: #b8620a; }
.b2-notelinks { margin-top: 10px; }
.b2-notelinks__title { margin: 0 0 4px; font-size: 12px; color: var(--ink-2); }
.b2-notelinks__list { margin: 0; padding-left: 18px; font-size: 14px; line-height: 22px; }
.b2-notelinks__list a { display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }

/* 23/10/2026 (retour d'utilisateur) : éditeur de recette plus compact, aides repliées */
.b2-editor--recipe .b2-editor__main { gap: 12px; }
.b2-editor--recipe .b2-editor__main > .b2-card { padding: 16px; }
.b2-editor--recipe .b2-rows { gap: 6px; }
.b2-more { margin: 6px 0 2px; }
.b2-more summary { cursor: pointer; width: max-content; color: var(--primary); font-size: 13px; }
.b2-more[open] summary { margin-bottom: 4px; }
.b2-more .b2-result__hint { margin-top: 0; }

/* 23/10/2026 (audit de sécurité) : double authentification des administrateurs */
.b2-2fa__qr { width: 200px; height: 200px; margin: 8px 0 12px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.b2-2fa__qr svg { width: 100%; height: 100%; display: block; }
.b2-2fa__key { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .05em; }
.b2-2fa__codes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.b2-2fa__codes li { height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-family: ui-monospace, Menlo, Consolas, monospace; }
@media (max-width: 640px) { .b2-2fa__codes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 30/10/2026 — Grainfather G30 (lot G1) : boutons de même hauteur, état sur une ligne */
.b2-gf__state { height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 14px; background: var(--paper-100); color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.b2-gf__state.is-on { background: var(--green-100); color: var(--green-800); }
.b2-gf__actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-top: 12px; }
.b2-gf__line { margin: 10px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-gf__temp { width: 180px; margin: 0; }
.b2-gf [data-gf-msg] { margin: 12px 0 0; }
.b2-gf [hidden] { display: none !important; }

/* 31/10/2026 (lot V8) : « Mes brassins » en cartes de même taille */
.b2-bcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.b2-bcard { position: relative; display: flex; flex-direction: column; gap: 8px; height: 360px; padding: 14px 16px 16px; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.b2-bcard.is-late { border: 2px solid var(--red-700); }
.b2-bcard.is-done { background: var(--paper-100); }
.b2-bcard__open { display: flex; flex-direction: column; gap: 2px; color: inherit; text-decoration: none; min-width: 0; }
.b2-bcard__open:hover .b2-bcard__name { color: var(--amber-700); }
.b2-bcard__art { display: block; align-self: center; width: 150px; height: 132px; margin-bottom: 6px; }
.b2-bcard__name { height: 22px; font-size: 16px; font-weight: 600; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 28px; }
.b2-bcard__meta { height: 16px; font-size: 12px; line-height: 16px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-bcard__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; height: 26px; }
.b2-bcard__date { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-bcard__prog { display: flex; flex-direction: column; gap: 4px; height: 30px; }
.b2-bcard__proghead { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.b2-bcard__proghead strong { color: var(--ink); }
.b2-bcard__bar { display: block; height: 8px; border-radius: 4px; background: var(--paper-300); overflow: hidden; }
.b2-bcard__bar > span { display: block; height: 8px; border-radius: 4px; background: var(--amber-600); }
.b2-bcard.is-done .b2-bcard__bar > span, .b2-bcard.is-ready .b2-bcard__bar > span { background: var(--green-600); }
.b2-bcard__next { margin-top: auto; padding: 8px 12px; border-radius: 10px; background: var(--paper-100); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-bcard.is-done .b2-bcard__next { background: #fff; font-weight: 500; color: var(--ink-2); }
.b2-bcard.is-late .b2-bcard__next { background: var(--red-100); color: var(--red-700); }
.b2-bcard__more { position: absolute; top: 8px; right: 8px; }
.b2-bcard__more > summary { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; list-style: none; cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink-2); }
.b2-bcard__more > summary::-webkit-details-marker { display: none; }
.b2-bcard__more > summary:hover, .b2-bcard__more[open] > summary { background: var(--paper-200); }
.b2-bcard__menu { position: absolute; top: 36px; right: 0; z-index: 5; display: flex; flex-direction: column; min-width: 150px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 20px rgba(44, 24, 16, .12); }
.b2-bcard__menu > a, .b2-bcard__menu > button { display: block; padding: 8px 10px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: 14px var(--font); text-align: left; text-decoration: none; cursor: pointer; }
.b2-bcard__menu > a:hover, .b2-bcard__menu > button:hover { background: var(--paper-100); }
.b2-bcard__menu > button { color: var(--red-700); }
.b2-bcard__confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
@media (max-width: 760px) { .b2-bcards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); } }

/* 31/10/2026 (lot V7) : refonte de Ma brasserie */
.b2-home__date { font-size: 13px; color: var(--ink-2); }
.b2-todo { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.b2-todo__title { margin: 0; font-size: 18px; font-weight: 600; }
.b2-todo__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.b2-todo__card { display: flex; align-items: center; gap: 14px; height: 96px; padding: 14px 16px; box-sizing: border-box; border-radius: 14px; border: 2px solid var(--green-400); background: var(--green-100); color: inherit; text-decoration: none; min-width: 0; }
.b2-todo__card.is-orange { background: var(--amber-100); border-color: #C9692A; }
.b2-todo__card.is-red { background: var(--red-100); border-color: var(--red-700); }
a.b2-todo__card:hover { box-shadow: 0 4px 12px rgba(44, 24, 16, .08); }
.b2-todo__icon { width: 48px; height: 48px; flex: none; }
.b2-todo__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.b2-todo__tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green-800); white-space: nowrap; }
.b2-todo__card.is-orange .b2-todo__tag { color: var(--amber-800); }
.b2-todo__card.is-red .b2-todo__tag { color: var(--red-700); }
.b2-todo__main { font-size: 15px; font-weight: 600; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.b2-todo__sub { font-size: 12px; line-height: 16px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-kclock { display: flex; align-items: center; gap: 12px; min-width: 0; }
.b2-kclock__ring { width: 80px; height: 80px; flex: none; }
.b2-kclock__time { font: 600 20px var(--font-display, Lora, Georgia, serif); fill: var(--ink); font-variant-numeric: tabular-nums; }
.b2-kclock__side { display: flex; flex-direction: column; min-width: 0; }
.b2-kclock__label { font-size: 12px; color: var(--ink-2); }
.b2-kclock__next { font-size: 13px; font-weight: 600; line-height: 18px; color: var(--amber-800); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b2-fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.b2-fcard { display: flex; flex-direction: column; gap: 8px; height: 430px; padding: 16px; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: inherit; text-decoration: none; min-width: 0; }
a.b2-fcard:hover { border-color: var(--amber-400); }
.b2-fcard.is-bad { border: 2px solid var(--red-700); }
.b2-fcard.is-selected { box-shadow: 0 0 0 3px var(--amber-100); border-color: var(--amber-600); }
.b2-fcard--empty { align-items: center; justify-content: center; text-align: center; border: 2px dashed var(--line-strong); }
.b2-fcard--empty.is-hs { opacity: .75; }
.b2-fcard__art { display: block; align-self: center; width: 170px; height: 214px; flex: none; }
.b2-fcard__art--empty { width: 130px; height: 164px; }
.b2-fcard__name { max-width: 100%; height: 22px; font-size: 16px; font-weight: 600; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-fcard__meta { max-width: 100%; min-height: 16px; font-size: 12px; line-height: 16px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-fcard__label { font-size: 13px; font-weight: 600; color: var(--amber-800); }
.b2-fcard__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-width: 0; }
.b2-fcard__day { font: 600 22px var(--font-display, Lora, Georgia, serif); white-space: nowrap; }
.b2-fcard__temp { font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-fcard__temp.is-ok { color: var(--green-800); }
.b2-fcard__temp.is-bad { color: var(--red-700); }
.b2-fcard__prog { display: flex; flex-direction: column; gap: 4px; }
.b2-fcard__proghead { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.b2-fcard__proghead strong { color: var(--ink); }
.b2-fcard__bar { display: block; height: 8px; border-radius: 4px; background: var(--paper-300); overflow: hidden; }
.b2-fcard__bar > span { display: block; height: 8px; border-radius: 4px; background: var(--amber-600); }
.b2-fcard__next { margin-top: auto; padding: 8px 12px; border-radius: 10px; background: var(--paper-100); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-fcard__next > span { color: var(--ink-2); }
.b2-home__life { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.b2-home__lifehead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-width: 0; }
.b2-home__lifetitle { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-home__life .b2-life { margin: 0; }
.b2-home__duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; margin-top: 32px; }
.b2-home__card { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px; height: auto; }
.b2-home__cardhead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-width: 0; }
.b2-home__cardtitle { margin: 0; font-size: 18px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-home__badge { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--red-700); color: #fff; font-size: 12px; font-weight: 600; }
.b2-home__xp { flex: none; font-size: 13px; color: var(--ink-2); }
.b2-home__pantry { display: flex; align-items: flex-end; gap: 12px; min-width: 0; }
.b2-home__sack { flex: none; width: 70px; height: 78px; }
.b2-home__sack .b2-jar__art { width: 70px; height: 78px; }
.b2-home__pantrytxt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.b2-home__pantrytxt strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-home__pantrytxt span { font-size: 12px; color: var(--ink-2); }
.b2-home__grade { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.b2-home__gradename { font-size: 16px; font-weight: 600; }
.b2-home__gradenext { font-size: 12px; color: var(--ink-2); }
.b2-home__grade:hover .b2-home__gradenext { color: var(--amber-700); }
.b2-home__defis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.b2-home__defi { display: flex; flex-direction: column; justify-content: center; height: 52px; padding: 0 10px; border-radius: 10px; background: var(--paper-100); min-width: 0; }
.b2-home__defi strong, .b2-home__defi small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-home__defi strong { font-size: 13px; }
.b2-home__defi small { font-size: 11px; color: var(--ink-2); }
@media (max-width: 760px) {
  .b2-todo__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .b2-todo__card { height: 72px; padding: 10px 12px; gap: 10px; }
  .b2-todo__icon { width: 36px; height: 36px; }
  .b2-todo__tag { display: none; }
  .b2-fgrid { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .b2-fgrid > .b2-fcard { flex: none; width: 250px; scroll-snap-align: start; }
  .b2-home__duo { grid-template-columns: minmax(0, 1fr); }
  /* la cave en liste : mini bouteille, barre, « Prête » / « Dans N j » */
  .b2-home .b2-shelf { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding: 4px 12px; }
  .b2-home .b2-cellar { flex-direction: row; align-items: center; gap: 10px; height: 60px; padding: 0; border-bottom: 1px solid var(--paper-300); text-align: left; }
  .b2-home .b2-cellar:last-child { border-bottom: 0; }
  .b2-home .b2-cellar__shelf { flex: none; width: 40px; height: 52px; margin: 0; border: 0; border-image: none; }
  .b2-home .b2-cellar__art { width: 40px; height: 36px; }
  .b2-home .b2-cellar__name { flex: 1; min-width: 0; }
  .b2-home .b2-cellar { gap: 8px; }
  .b2-home .b2-cellar__shelf { width: 34px; }
  .b2-home .b2-cellar__art { width: 34px; }
  .b2-home .b2-cellar__bar { flex: none; width: 56px; }
  .b2-home .b2-cellar__state { flex: none; width: 84px; font-size: 12px; text-align: right; }
  .b2-home .b2-cellar__detail { display: none; }
}

/* 31/10/2026 (lot V6) : la cave qui mûrit — une étagère, une place de même largeur par brassin */
.b2-shelf { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); column-gap: 0; row-gap: 18px; padding: 16px 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.b2-cellar { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 0 10px 8px; border-radius: 12px; color: inherit; text-decoration: none; text-align: center; }
.b2-cellar:hover .b2-cellar__name { color: var(--amber-700); }
.b2-cellar:focus-visible { outline: 2px solid var(--amber-600); outline-offset: 2px; }
.b2-cellar.is-selected { background: var(--amber-100); }
.b2-cellar__shelf { display: flex; align-items: flex-end; justify-content: center; align-self: stretch; height: 132px; margin: 0 -10px 4px; border-bottom: 20px solid #B4884F; border-image: linear-gradient(to bottom, #B4884F 70%, #9C7240 70%) 0 0 1 0; }
.b2-cellar__art { width: 130px; height: 112px; }
.b2-cellar__name { max-width: 100%; height: 20px; font-size: 14px; font-weight: 600; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-cellar__bar { display: block; width: 100%; max-width: 130px; height: 10px; border-radius: 5px; background: var(--paper-300); overflow: hidden; }
.b2-cellar__bar > span { display: block; height: 10px; border-radius: 5px; background: var(--amber-400); }
.b2-cellar.is-ready .b2-cellar__bar > span { background: var(--green-600); }
.b2-cellar__state { height: 20px; font-size: 13px; font-weight: 600; line-height: 20px; color: var(--amber-800); white-space: nowrap; }
.b2-cellar.is-ready .b2-cellar__state { color: var(--green-800); }
.b2-cellar__detail { max-width: 100%; height: 16px; font-size: 11px; line-height: 16px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-shelf__hint { margin-top: 8px; }
@media (max-width: 760px) { .b2-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 6px; } .b2-cellar__art { width: 112px; height: 97px; } .b2-cellar__shelf { height: 116px; } }

/* 31/10/2026 (lot V5) : le grenier en images — compteurs, barre d'outils, cartes de même taille */
.b2-pstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.b2-pstat { display: flex; flex-direction: column; justify-content: center; height: 68px; padding: 0 16px; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.b2-pstat span { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-pstat strong { font-size: 24px; line-height: 30px; font-weight: 600; white-space: nowrap; }
.b2-pstat.is-low { background: var(--red-100); border-color: #E2B3A8; }
.b2-pstat.is-low span, .b2-pstat.is-low strong { color: var(--red-700); }
.b2-pbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; }
.b2-pbar .b2-input { height: 38px; }
.b2-hidden-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.b2-psec { display: flex; flex-direction: column; gap: 10px; }
.b2-psec__head { display: flex; align-items: baseline; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); min-width: 0; }
.b2-psec__title { margin: 0; font-size: 18px; font-weight: 600; white-space: nowrap; }
.b2-psec__resume { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-psec__confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; font-size: 14px; }
.b2-jars { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.b2-jar { position: relative; display: flex; flex-direction: column; gap: 4px; height: 200px; padding: 10px 10px 12px; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 14px; font: inherit; color: inherit; text-align: left; cursor: pointer; min-width: 0; }
.b2-jar:hover { border-color: var(--amber-400); }
.b2-jar:focus-visible { outline: 2px solid var(--amber-600); outline-offset: 2px; }
.b2-jar.is-low { border: 2px solid var(--red-700); }
.b2-jar.is-editing { box-shadow: 0 0 0 3px var(--amber-100); border-color: var(--amber-600); }
.b2-jar__badge { position: absolute; top: 8px; right: 8px; padding: 2px 7px; border-radius: 999px; background: var(--red-700); color: #fff; font-size: 10px; font-weight: 600; line-height: 14px; }
.b2-jar__pic { display: flex; align-items: flex-end; justify-content: center; height: 100px; flex: none; }
.b2-jar__art { width: 90px; height: 100px; }
.b2-jar__svgtxt { font: 600 8px var(--font); }
.b2-jar__svgsmall { font: 600 7px var(--font); }
.b2-jar__svgtiny { font: 600 6px var(--font); }
.b2-jar__name { font-size: 13px; font-weight: 600; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-jar__qty { font-size: 12px; line-height: 16px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-jar__info { font-size: 11px; line-height: 14px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* 06/11/2026 : fiche du houblon */
.b2-jar.is-low .b2-jar__qty { color: var(--red-700); }
.b2-jar__bar { display: block; height: 6px; margin-top: auto; border-radius: 3px; background: var(--paper-300); overflow: hidden; }
.b2-jar__bar > span { display: block; height: 6px; border-radius: 3px; background: var(--green-600); }
.b2-jar__bar > span.is-mid { background: var(--amber-400); }
.b2-jar__bar > span.is-low { background: var(--red-700); }

/* 31/10/2026 (lot V4) : « Ma bière en direct » dans l'éditeur de recettes — éprouvette, balance, repères ; bandeau sur téléphone */
.b2-editor--recipe { grid-template-columns: minmax(0, 1fr) 340px; }
.b2-live { max-height: calc(100vh - 32px); overflow-y: auto; scrollbar-width: none; }   /* 06/11/2026 (retour de Gilles) : pas de barre visible, défilement à la molette / au doigt */
.b2-live::-webkit-scrollbar { display: none; }
.b2-device__steps { margin: 4px 0 8px; padding-left: 20px; display: grid; gap: 3px; font-size: 14px; color: var(--ink-2); }
.b2-live__panel { border: 2px solid #EBCB9A; border-radius: 16px; }
.b2-live__panel > * { flex-shrink: 0; }
.b2-live__bar { display: none; }
.b2-live__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; height: 26px; }
.b2-live__title { margin: 0; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-live__badge { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.b2-live__badge.is-ok { background: var(--green-100); color: var(--green-800); }
.b2-live__badge.is-out { background: var(--amber-100); color: var(--amber-800); }
.b2-live__top { display: flex; gap: 12px; align-items: flex-start; }
.b2-live__tube { width: 64px; height: 164px; flex: none; }
.b2-live__svgtxt { font: 600 12px var(--font); fill: var(--ink); }
.b2-live__nums { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.b2-live__color { display: flex; flex-direction: column; min-width: 0; }
.b2-live .b2-summary__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.b2-live .b2-mini { height: 52px; padding: 0 8px; }
.b2-live .b2-mini__label { font-size: 11px; line-height: 16px; }
.b2-live .b2-mini__value { font-size: 15px; line-height: 20px; }
.b2-live__balance { display: block; width: 100%; height: auto; max-height: 150px; }
.b2-live__balcap { margin: -4px 0 0; height: 36px; font-size: 12px; line-height: 18px; color: var(--ink-2); text-align: center; overflow: hidden; }
.b2-live__balcap.is-ok { color: var(--green-800); }
.b2-live__balcap.is-sweet, .b2-live__balcap.is-bitter { color: var(--amber-800); }
.b2-ed__named { position: relative; display: block; min-width: 0; }
.b2-ed__named > input { width: 100%; padding-left: 34px; }
.b2-gl__dot { position: static; display: inline-block; width: 14px; height: 14px; margin: 0 8px 0 0; vertical-align: -2px; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-strong); }
.b2-ed__dot:not(.b2-gl__dot) { position: absolute; left: 10px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-strong); pointer-events: none; }
@media (max-width: 960px) { .b2-editor--recipe { grid-template-columns: 1fr; } .b2-live { max-height: none; overflow: visible; } }
@media (max-width: 760px) {
  .b2-editor--recipe .b2-live { position: sticky; top: 0; z-index: 20; margin: 0 -4px; }
  .b2-live__bar { display: flex; align-items: center; gap: 12px; width: 100%; height: 76px; padding: 8px 12px; box-sizing: border-box; background: var(--paper-100); border: 2px solid #EBCB9A; border-radius: 14px; box-shadow: 0 4px 12px rgba(44, 24, 16, .08); font: inherit; color: inherit; text-align: left; cursor: pointer; }
  .b2-live__minitube { width: 22px; height: 56px; flex: none; }
  .b2-live__minibal { width: 40px; height: 32px; flex: none; }
  .b2-live__chips { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .b2-live__chip { display: flex; flex-direction: column; min-width: 0; }
  .b2-live__chip small { font-size: 10px; line-height: 14px; color: var(--ink-2); }
  .b2-live__chip strong { font-size: 15px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .b2-live__chip i { display: block; height: 4px; border-radius: 2px; background: var(--paper-300); }
  .b2-live__chip.is-ok i { background: var(--green-400); }
  .b2-live__chip.is-bas i, .b2-live__chip.is-haut i { background: var(--amber-400); }
  .b2-live__panel { display: none; }
  .b2-pstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2-pbar > .b2-field { flex: 1 1 140px; }
  .b2-live.is-open .b2-live__panel { display: flex; margin-top: 8px; max-height: 70vh; overflow-y: auto; box-shadow: 0 8px 20px rgba(44, 24, 16, .12); }
}

/* 31/10/2026 : « Fermentation prolongée » en orange (plus de « Jour 13 / 9 ») */
.b2-fcard__day.is-late, .b2-fl__dayof.is-late { color: var(--amber-700); font-weight: 600; }
.b2-fl__daynum.is-late { font-size: 30px; color: var(--amber-700); }

/* 31/10/2026 : barre d'onglets en bas de l'écran sur téléphone (remplace le menu du haut) */
.b2-tabbar { display: none; }
@media (max-width: 760px) {
  .b2-top .b2-nav:not(.b2-nav--public) { display: none; }
  .b2-tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #FFFFFF; border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 10px rgba(44, 24, 16, .06); }
  .b2-tabbar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 54px; border-radius: 10px;
    color: var(--ink-2); font-size: 11px; text-decoration: none; cursor: pointer; list-style: none; }
  .b2-tabbar__item::-webkit-details-marker { display: none; }
  .b2-tabbar__item svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .b2-tabbar__item.is-active { color: var(--amber-800); background: var(--amber-100); font-weight: 500; }
  .b2-tabbar__more { position: relative; }
  .b2-tabbar__panel { position: absolute; right: 0; bottom: 62px; width: 220px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 8px 24px rgba(44, 24, 16, .14); padding: 6px; display: flex; flex-direction: column; }
  .b2-tabbar__panel a, .b2-tabbar__panel button { display: flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 10px; color: var(--ink);
    text-decoration: none; font: 15px var(--font); background: none; border: 0; text-align: left; cursor: pointer; }
  .b2-tabbar__panel a:hover, .b2-tabbar__panel button:hover { background: var(--paper-200); }
  .b2-tabbar__panel form { margin: 0; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
  .b2-tabbar__panel button { width: 100%; color: var(--red-700); }
  body.b2:not(.b2-public) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

/* 01/11/2026 (retour de Gilles) : un titre au-dessus de chaque case de modification du grenier */
.b2-prow--titled { align-items: end; }
.b2-ecell { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.b2-ecell__cap { font-size: 11px; line-height: 14px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-ecell input, .b2-ecell select { width: 100%; box-sizing: border-box; }

/* 01/11/2026 (lot V9) : Outils lisibles — sommaire en tuiles et résultats en image */
.b2-toc { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; margin: 0 0 var(--gap); }
@media (max-width: 1100px) { .b2-toc { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.b2-toc__tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 92px; padding: 8px; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; min-width: 0; }
.b2-toc__tile:hover { border-color: var(--amber-400); background: var(--amber-100); }
.b2-toc__tile:focus-visible { outline: 2px solid var(--amber-600); outline-offset: 2px; }
.b2-toc__icon { width: 40px; height: 40px; flex: none; }
.b2-toc__label { max-width: 100%; font-size: 13px; font-weight: 600; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-tools .b2-tool__title { scroll-margin-top: 20px; }
@media (prefers-reduced-motion: no-preference) { html:has(.b2-toc) { scroll-behavior: smooth; } }
.b2-result__hero { display: flex; align-items: center; gap: 16px; min-height: 84px; }
.b2-result__hero .b2-result__main { min-width: 0; }
.b2-tv { display: block; flex: none; }
.b2-tv svg { display: block; width: 100%; height: 100%; }
.b2-tv--gauge { width: 104px; height: 62px; }
.b2-tv--color { width: 76px; height: 76px; }
.b2-tv--thermo { width: 34px; height: 82px; }
.b2-tv--packs { height: 56px; max-width: 220px; }
.b2-tv--packs svg { width: auto; }
.b2-tv--bottle { width: 82px; height: 82px; }
.b2-tv--keg { width: 96px; height: 84px; }
.b2-result__row--bar { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.b2-result__minibar { display: block; height: 8px; border-radius: 4px; background: var(--paper-300); overflow: hidden; }
.b2-result__minibar > span { display: block; height: 8px; border-radius: 4px; background: var(--green-600); }
@media (max-width: 760px) { .b2-toc { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; } .b2-toc__tile { flex: none; width: 88px; height: 80px; } .b2-toc__icon { width: 32px; height: 32px; } }
/* 01/11/2026 (retour de Gilles) : « Enregistrer » chevauchait la case voisine (colonne des boutons trop étroite) */
@media (min-width: 761px) {
  .b2-prow--edit.b2-prow--titled { grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
  .b2-trow--remind { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 96px minmax(0, 2.4fr) 200px; }
}

/* 01/11/2026 (lot V10) : Mon équipement en cartes illustrées — même hauteur sur une ligne, réglages un par ligne */
.b2-ecards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.b2-ecard { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.b2-ecard.is-busy { border-color: #EBCB9A; }
.b2-ecard.is-hs { background: var(--paper-100); }
.b2-ecard.is-editing { border-color: var(--amber-600); box-shadow: 0 0 0 3px var(--amber-100); }
.b2-eart { display: block; align-self: center; }
.b2-eart.is-hs { position: relative; filter: grayscale(1); opacity: .55; }
.b2-eart.is-hs::after { content: ""; position: absolute; left: 30%; right: 30%; top: 50%; height: 4px; border-radius: 2px; background: var(--red-700); transform: rotate(-35deg); }
.b2-eart__txt { font: 600 12px var(--font); }
.b2-ecard__name { font-size: 16px; font-weight: 600; line-height: 22px; height: 44px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.b2-ecard__maker { height: 16px; font-size: 12px; line-height: 16px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-ecard__state { height: 26px; display: flex; align-items: center; }
.b2-ecard__specs { flex: 1; margin: 2px 0 0; padding: 8px 10px; list-style: none; border-radius: 10px; background: var(--paper-100); font-size: 13px; line-height: 20px; }
.b2-ecard__specs li { overflow-wrap: anywhere; }
.b2-ecard__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; min-height: 32px; }
.b2-ecard__more { position: relative; top: auto; right: auto; margin-left: auto; }
.b2-ecard__more .b2-bcard__menu { top: auto; bottom: 36px; }
.b2-ecard__more .b2-bcard__menu > a { color: var(--ink); }
@media (max-width: 760px) { .b2-ecards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); } }

/* 01/11/2026 (lot V11) : liste de courses illustrée — dessins du grenier, grosses cases (48 px) pour le magasin, total par famille */
.b2-shop-head { display: flex; align-items: center; gap: 12px; margin: 28px 0 10px; min-width: 0; }
.b2-shop-head__art { flex: none; width: 40px; height: 44px; }
.b2-shop-head__art .b2-jar__art, .b2-srow__art .b2-jar__art, .b2-shop-empty__art .b2-jar__art { width: 100%; height: 100%; }
.b2-shop-head__title { margin: 0; font-size: 18px; font-weight: 600; white-space: nowrap; }
.b2-shop-head__total { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-srow.b2-srow--illu { grid-template-columns: 48px 40px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr) 36px; min-height: 68px; padding: 6px 0; }
.b2-srow__art { display: block; width: 40px; height: 44px; }
/* 12/11/2026 (retour de Gilles) : filtre « À commander », familles repliables, quantité et prix réellement payés */
.b2-shop-filter { margin-top: 20px; }
.b2-pfold > summary.b2-shop-head { cursor: pointer; }
.b2-srow__from.is-order { color: var(--amber-700); font-weight: 600; }
.b2-srow__buy { display: grid; grid-template-columns: 96px 110px 90px 120px auto; gap: 8px; align-items: center; padding: 0 0 10px 100px; border-bottom: 1px solid var(--line); }
.b2-srow__buy-label { font-size: 13px; font-weight: 600; color: var(--ink-2); text-align: right; }
.b2-srow__buy .b2-input { min-height: 36px; }
.b2-srow__buy-label--after { text-align: left; font-weight: 500; }
@media (max-width: 760px) { .b2-srow__buy { grid-template-columns: 1fr 1fr; padding-left: 0; } .b2-srow__buy-label { grid-column: 1 / -1; text-align: left; } }
.b2-srow--illu.is-checked .b2-srow__art { opacity: .45; }
.b2-check.b2-check--big { width: 48px; height: 48px; border-width: 2px; border-radius: 12px; }
.b2-check.b2-check--big svg { width: 26px; height: 26px; }
.b2-srow--illu .b2-srow__name { font-size: 15px; }
.b2-shop-empty__art { display: flex; justify-content: center; gap: 8px; height: 90px; }
.b2-shop-empty__art .b2-jar__art { width: 80px; height: 90px; }
@media (max-width: 760px) {
  .b2-srow.b2-srow--illu { grid-template-columns: 48px 36px minmax(0, 1fr) auto 32px; }
  .b2-srow__art { width: 36px; height: 40px; }
  .b2-shop-head__total { font-size: 12px; }
}

/* ── 01/11/2026 (lot V12) : pages publiques — fermenteur vivant de l'accroche, icônes illustrées, captures, thèmes des tarifs ── */
.b2-home__ferm { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 55%, #F8E9D2 0 62%, transparent 63%); }
.b2-fl.b2-fl--bare { display: block; margin: 0; }
.b2-fl--bare .b2-fl__art { display: block; width: 196px; height: 245px; margin-top: 16px; }
.b2-home__fermtag { position: absolute; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(44, 24, 16, .08); font-size: 13px; font-weight: 600; white-space: nowrap; }
.b2-home__fermtag--day { top: 22%; left: -10%; }
.b2-home__fermtag--sugar { bottom: 12%; right: -10%; color: var(--green-800); }
.b2-home__feature { height: 88px; }
.b2-home__icon { width: 60px; height: 60px; border-radius: 14px; background: var(--paper-100); }
.b2-home__icon .b2-hicon { width: 48px; height: 48px; }
.b2-hicon__bubble { animation: b2-fl-blop 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .b2-hicon__bubble { animation: none; } }

/* 07/11/2026 : Ma brasserie — bouton « Vue liste / Vue 3D » et scène 3D immersive (brasserie3d.js) */
.b2-viewtoggle { display: inline-flex; padding: 4px; gap: 4px; background: #F1E6D3; border-radius: 999px; }
.b2-viewtoggle__btn { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #5C3105; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.b2-viewtoggle__btn.is-on { background: var(--amber-600); color: #fff; }
.b2-3d { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; margin: 16px 0 8px; }
.b2-3d__stage { position: relative; height: 600px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #FBF8F2 0%, #F3E9D8 100%); }
.b2-3d__gl, .b2-3d__ov { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.b2-3d__ov { cursor: grab; touch-action: pan-y; }
.b2-3d__stage.is-grabbing .b2-3d__ov { cursor: grabbing; }
.b2-3d__stage.is-fallback canvas, .b2-3d__stage.is-fallback .b2-3d__tools { display: none; }
.b2-3d__tools { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.b2-3d__tool { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .92); color: #5C3105; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.b2-3d__tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.b2-3d__tool--text { width: auto; padding: 0 12px; font: inherit; font-weight: 600; font-size: 13px; }
.b2-3d__fallback { position: absolute; left: 16px; right: 16px; top: 16px; margin: 0; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.b2-3d__cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 600px; overflow: auto; }
.b2-3d__card { height: 58px; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: #fff; border: 2px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; }
.b2-3d__card:hover, .b2-3d__card.is-focus { border-color: var(--amber-600); }
.b2-3d__num { flex: none; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.b2-3d__cardtxt { min-width: 0; display: flex; flex-direction: column; }
.b2-3d__cardtxt strong, .b2-3d__cardtxt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-3d__cardtxt strong { font-size: 14px; }
.b2-3d__cardtxt span { font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) {
  .b2-3d { grid-template-columns: minmax(0, 1fr); }
  .b2-3d__stage { height: 440px; }
  .b2-3d__cards { max-height: none; }
}

/* 07/11/2026 : avis des membres sur l'accueil — cartes de même taille, texte coupé avec « … » */
.b2-reviews { margin: 56px 0 0; text-align: center; }
.b2-reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; text-align: left; }
.b2-review { display: flex; flex-direction: column; gap: 10px; height: 190px; margin: 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.b2-review__stars { margin: 0; color: var(--amber-600); font-size: 18px; letter-spacing: 2px; line-height: 1; }
.b2-review__stars span { color: var(--paper-300); }
.b2-review__text { flex: 1; margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; line-height: 1.45; }
.b2-review__who { margin: 0; font-weight: 700; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.b2-shots { margin: 56px 0 0; text-align: center; }
.b2-shots__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 190px; gap: 48px; align-items: end; }
.b2-shot { display: flex; flex-direction: column; gap: 12px; margin: 0; min-width: 0; }
.b2-shot__stage { display: flex; align-items: flex-end; justify-content: center; height: 330px; }
.b2-shot__device { position: relative; display: block; background: #2C1810; box-shadow: 0 14px 30px rgba(44, 24, 16, .16); }
.b2-shot__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; background: #FBF8F2; }
.b2-shot--laptop .b2-shot__device { width: 100%; aspect-ratio: 16 / 10; padding: 10px 10px 12px; border-radius: 12px 12px 4px 4px; }
.b2-shot--laptop .b2-shot__device::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -12px; height: 12px; border-radius: 0 0 10px 10px; background: #D9CAAE; }
.b2-shot--laptop .b2-shot__img { border-radius: 3px; }
.b2-shot--laptop .b2-shot__stage { padding-bottom: 12px; }
.b2-shot--phone .b2-shot__device { width: 160px; height: 100%; max-height: 330px; aspect-ratio: 1 / 2; padding: 8px; border-radius: 26px; }
.b2-shot--phone .b2-shot__img { border-radius: 19px; }
.b2-shot__cap { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.b2-shot__cap strong { font-size: 15px; line-height: 21px; }
.b2-shot__cap span { font-size: 13px; line-height: 19px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.b2-themes { max-width: 1100px; width: 100%; margin: 0 auto; text-align: center; }
.b2-themes__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.b2-theme { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 196px; padding: 16px 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: inherit; text-decoration: none; min-width: 0; }
.b2-theme:hover { border-color: var(--amber-400); }
.b2-theme .b2-hicon { width: 56px; height: 56px; flex: none; margin-bottom: 4px; }
.b2-theme__title { font-size: 15px; line-height: 21px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-theme__sum { font-size: 13px; line-height: 18px; height: 36px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b2-theme__count { margin-top: auto; font-size: 12px; color: var(--green-800); white-space: nowrap; }
.b2-plans-detail { max-width: 1100px; width: 100%; margin: -8px auto 0; }
.b2-plans-detail__sum { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; margin: 0 auto; width: max-content; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; list-style: none; }
.b2-plans-detail__sum::-webkit-details-marker { display: none; }
.b2-plans-detail__sum::after { content: "▾"; color: var(--amber-700); transition: transform .2s; }
.b2-plans-detail[open] .b2-plans-detail__sum::after { transform: rotate(180deg); }
.b2-plans-detail[open] .b2-plans-detail__sum { margin-bottom: 16px; }
.b2-plans__group { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 4px; margin-top: 8px; border-bottom: 2px solid var(--amber-100); font: 600 17px var(--font-title); scroll-margin-top: 80px; }
.b2-plans__group .b2-hicon { width: 32px; height: 32px; flex: none; }
@media (max-width: 1000px) { .b2-themes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .b2-home__ferm { width: 210px; margin: 0 auto; }
  .b2-fl--bare .b2-fl__art { width: 140px; height: 175px; margin-top: 10px; }
  .b2-home__fermtag { font-size: 11px; padding: 3px 9px; }
  .b2-home__fermtag--day { left: -12%; }
  .b2-home__fermtag--sugar { right: -22%; }
  .b2-home__feature { height: 80px; }
  .b2-shots__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .b2-shot__stage { height: auto; }
  .b2-shot--phone .b2-shot__device { height: 330px; width: 165px; }
  .b2-themes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2-theme { height: 196px; }
  .b2-theme:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .b2-plans__group { font-size: 15px; }
}

/* ── 02/11/2026 (lot V13) : finitions — éditeur, agenda, défis, densimètres, compte ── */
.b2-edtoc { position: sticky; top: 0; z-index: 6; display: flex; gap: 6px; margin: 0 0 12px; padding: 8px 0; background: var(--paper-100, #FBF8F2); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.b2-edtoc::-webkit-scrollbar { display: none; }
.b2-edtoc__link { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.b2-edtoc__link:hover { border-color: var(--amber-400); color: var(--amber-800); }
.b2-editor--recipe .b2-tool__title { scroll-margin-top: 64px; }
.b2-edtoc ~ .b2-editor--recipe .b2-editor__side { top: 62px; }
.b2-edtoc ~ .b2-editor--recipe .b2-live { max-height: calc(100vh - 78px); }
.b2-toolbar--quiet { align-items: center; gap: 4px; }
.b2-toolbar--quiet .b2-btn--ghost { color: var(--ink-2); }
.b2-toolbar--quiet .b2-btn--ghost:hover { background: var(--paper-200); color: var(--ink); }
.b2-toolbar--quiet .b2-btn--primary { margin-left: 8px; }
.b2-toolbar__more { position: relative; top: auto; right: auto; }
.b2-toolbar__more > summary { width: 36px; height: 36px; }
.b2-bcard__menu > .b2-btn--danger-ghost { color: var(--red-700); }

.b2-agicon { flex: none; width: 13px; height: 13px; }
.b2-cal__ev { display: flex; align-items: center; gap: 4px; }
.b2-cal__evtxt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b2-cal__legend .b2-cal__ev, .b2-trow--agenda .b2-cal__ev { display: inline-flex; justify-content: center; }
.b2-cal__day.has-ev { cursor: pointer; }
.b2-cal__day.is-picked { box-shadow: inset 0 0 0 2px var(--amber-600); }
.b2-cal__picked { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--paper-100); border: 1px solid var(--line); }
.b2-cal__pickedtitle { margin: 0 0 8px; font-weight: 600; }
.b2-cal__pickedrow { display: flex; align-items: center; gap: 10px; min-height: 40px; color: inherit; text-decoration: none; line-height: 20px; }
.b2-cal__pickedrow:hover strong { color: var(--amber-800); }
.b2-cal__ev--icon { flex: none; width: 28px; height: 28px; justify-content: center; padding: 0; border-radius: 8px; }
.b2-cal__ev--icon .b2-agicon { width: 16px; height: 16px; }

.b2-defi.is-locked { background: #fff; border-style: dashed; }
.b2-defi.is-locked .b2-defi__name { color: var(--ink); }
.b2-defi.is-locked .b2-defi__help { color: var(--ink-2); }
.b2-defi.is-locked .b2-defi__state { color: var(--ink-2); }
.b2-defi.is-locked .b2-defi__pts { color: var(--amber-700); }
.b2-defi__state { display: flex; align-items: center; gap: 8px; }
.b2-defi__bar { flex: 1; max-width: 120px; height: 6px; border-radius: 3px; background: var(--paper-300); overflow: hidden; }
.b2-defi__bar > span { display: block; height: 100%; border-radius: 3px; background: var(--amber-600); }
.b2-defi__count { flex: none; font-variant-numeric: tabular-nums; }

.b2-devchoice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 720px; margin: 8px auto 0; }
.b2-devchoice__card { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 250px; padding: 14px 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); font: inherit; text-align: center; cursor: pointer; min-width: 0; }
.b2-devchoice__card:hover:not(:disabled) { border-color: var(--amber-400); }
.b2-devchoice__card.is-picked { border: 2px solid var(--amber-600); }
.b2-devchoice__card:disabled { cursor: default; }
.b2-devart { flex: none; width: 96px; height: 96px; }
.b2-devchoice__name { font-size: 15px; }
.b2-devchoice__link { font-size: 12px; font-weight: 600; color: var(--green-800); }
.b2-devchoice__text { font-size: 13px; line-height: 18px; height: 54px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.b2-account__delete { width: max-content; max-width: 100%; height: 44px; padding: 0 22px; font-weight: 600; }

@media (max-width: 760px) {
  .b2-edtoc { position: static; margin-bottom: 8px; }
  .b2-editor--recipe .b2-tool__title { scroll-margin-top: 80px; }
  .b2-toolbar--quiet { width: 100%; }
  .b2-cal__day .b2-cal__ev { height: 18px; padding: 0 3px; justify-content: center; font-size: 0; }
  .b2-cal__day .b2-cal__evtxt { display: none; }
  .b2-trow--agenda .b2-cal__ev { height: 20px; font-size: 11px; }
  .b2-cal__day .b2-cal__ev { pointer-events: none; }
  .b2-agicon { width: 12px; height: 12px; }
  .b2-cal__legend .b2-cal__ev { height: 22px; padding: 0 8px; font-size: 11px; line-height: 22px; }
  .b2-cal__legend .b2-cal__evtxt { display: inline; }
  .b2-devchoice { grid-template-columns: minmax(0, 1fr); }
  .b2-devchoice__card { height: auto; min-height: 96px; display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 12px; text-align: left; align-items: start; }
  .b2-devchoice__card .b2-devart { grid-row: 1 / 4; width: 72px; height: 72px; }
  .b2-devchoice__text { height: auto; }
}

/* 08/11/2026 (démo Vaucelles, lot 13, Brasseur Expert) : planning d'équipe — cases de même taille, textes coupés avec « … » */
.b2-team-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 12px; }
.b2-team-nav__title { flex: 1 1 260px; color: var(--ink); font-size: 15px; }
.b2-team { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 8px; }
.b2-team__grid { display: grid; grid-template-columns: 130px repeat(7, minmax(112px, 1fr)); min-width: 920px; }
.b2-team__grid > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); box-sizing: border-box; min-width: 0; }
.b2-team__grid > :nth-child(8n) { border-right: 0; }
.b2-team__corner, .b2-team__day { height: 48px; display: flex; flex-direction: column; justify-content: center; padding: 0 10px; background: var(--paper-200); font-size: 13px; color: var(--ink-2); }
.b2-team__corner { font-weight: 600; }
.b2-team__corner, .b2-team__who { position: sticky; left: 0; z-index: 1; }   /* prénoms toujours visibles quand la semaine défile */
.b2-team__day.is-today { background: var(--amber-100); color: var(--amber-800); }
.b2-team__dname { font-weight: 600; line-height: 18px; }
.b2-team__dnum { line-height: 18px; color: var(--ink-3); }
.b2-team__who { display: grid; grid-template-columns: 12px minmax(0, 1fr); grid-template-rows: 20px 18px; column-gap: 8px; align-content: start; padding: 10px; background: var(--paper-100); }
.b2-team__who.is-free { grid-template-columns: minmax(0, 1fr); color: var(--ink-3); font-style: italic; }
.b2-team__dot { width: 12px; height: 12px; border-radius: 50%; align-self: center; display: inline-block; flex: none; }
.b2-team__name { font-weight: 600; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.b2-team__who.is-free .b2-team__name { color: var(--ink-3); }
.b2-team__total { grid-column: 2; font-size: 12px; line-height: 18px; color: var(--ink-3); }
.b2-team__who.is-free .b2-team__total { grid-column: 1; }
.b2-team__cell { display: flex; flex-direction: column; gap: 6px; padding: 6px; min-height: 76px; }
.b2-team__cell.is-today { background: #FFFBF3; }
.b2-team__cell.is-free { background: repeating-linear-gradient(135deg, transparent 0 8px, var(--paper-100) 8px 16px); }
.b2-team__task { display: grid; grid-template-rows: 18px 16px 16px; height: 58px; width: 100%; box-sizing: border-box; padding: 4px 6px 4px 8px; border: 1px solid var(--line); border-left: 4px solid var(--ink-3); border-radius: var(--radius-sm); background: #fff; text-align: left; font: inherit; color: var(--ink); cursor: default; }
button.b2-team__task { cursor: pointer; }
button.b2-team__task:hover, button.b2-team__task:focus-visible { border-color: var(--amber-400); box-shadow: 0 1px 4px rgba(44, 24, 16, .12); outline: none; }
.b2-team__tlabel { font-size: 13px; font-weight: 600; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b2-team__tbatch, .b2-team__tmeta { font-size: 12px; line-height: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.b2-team__tmeta { color: var(--ink-3); }
.b2-team__task--brassage { border-left-color: var(--amber-600); }
.b2-team__task--houblon { border-left-color: var(--green-600); }
.b2-team__task--temperature, .b2-team__task--garde { border-left-color: #3b6fb6; }
.b2-team__task--bouteille { border-left-color: #a3427a; }
.b2-team__task--cuve { border-left-color: #4b8a8c; }
.b2-team__task--autre { border-left-color: var(--ink-2); }
.b2-team__ctotal { margin-top: auto; font-size: 12px; line-height: 16px; color: var(--ink-3); text-align: right; }
.b2-team-edit { margin-bottom: 12px; border-color: var(--amber-400); }
.b2-team-edit__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.b2-team-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.b2-team-list__item { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-100); }
.b2-team-list__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b2-team-link { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
@media (max-width: 760px) {
  .b2-team-link { grid-template-columns: minmax(0, 1fr) auto; }
  .b2-team-link .b2-input { grid-column: 1 / -1; }
  .b2-team-nav__title { flex-basis: 100%; order: -1; }
}

/* 08/11/2026 : page d'accueil, brasserie complète en 3D animée (photo d'attente, puis la 3D en fondu) */
.b2-home3d { display: grid; gap: 16px; margin: 48px 0; }
.b2-home3d__text { display: grid; justify-items: center; gap: 12px; text-align: center; max-width: 720px; margin: 0 auto; }
.b2-home3d__text .b2-home__h2 { margin: 0; }
.b2-home3d__lead { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.b2-home3d__stage { position: relative; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(180deg, #FBF8F2 0%, #F3E9D8 100%); box-shadow: 0 18px 40px -24px rgba(44, 24, 16, .45); }
.b2-home3d__poster, .b2-home3d__gl, .b2-home3d__ov { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.b2-home3d__poster { object-fit: cover; transition: opacity .8s ease; }
.b2-home3d__gl, .b2-home3d__ov { opacity: 0; transition: opacity .8s ease; }
.b2-home3d__ov { cursor: grab; touch-action: pan-y; }
.b2-home3d__stage.is-grab .b2-home3d__ov { cursor: grabbing; }
.b2-home3d__stage.is-live .b2-home3d__gl, .b2-home3d__stage.is-live .b2-home3d__ov { opacity: 1; }
.b2-home3d__stage.is-live .b2-home3d__poster { opacity: 0; }
.b2-home3d__note { margin: 0; text-align: center; font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) {
  .b2-home3d { margin: 32px 0; }
  .b2-home3d__stage { aspect-ratio: 1 / 1; border-radius: 16px; }
  .b2-home3d__lead { font-size: 16px; }
}

/* 08/11/2026 (choix de Loïc) : la brasserie 3D tout en haut de l'accueil, à droite du titre (sous le titre sur téléphone) */
.b2-home__hero { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 40px; }
.b2-home__hero .b2-home3d { margin: 0; gap: 8px; }
.b2-home__hero .b2-home3d__stage { aspect-ratio: 4 / 3; }
@media (max-width: 760px) {
  .b2-home__hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .b2-home__hero .b2-home3d__stage { aspect-ratio: 1 / 1; }
}

/* 08/11/2026 (retours de Gilles) : relevés, bouteilles et fûts, 2e barre des cartes de brassins */
.b2-batch__last { margin: 12px 0 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b2-dated > .b2-field__label { align-self: center; white-space: nowrap; }
.b2-pack { display: grid; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.b2-pack__title { margin: 0; font-size: 15px; font-weight: 600; }
.b2-trow--pack { grid-template-columns: minmax(0, 1fr) 90px 90px 90px; }
.b2-bcard { height: 372px; }
.b2-bcard__proghead > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-bcard__proghead > strong { flex: none; margin-left: 6px; }
.b2-bcard__bar--sugar > span { background: var(--green-600); }


/* 08/11/2026 : menu du haut sur une ligne sans chevauchement entre 1 361 et 1 600 px */
@media (min-width: 1361px) and (max-width: 1600px) {
  .b2-top { gap: 12px; }
  .b2-nav { gap: 2px; }
  .b2-nav__link { padding: 0 8px; }
  .b2-user { gap: 8px; }
  .b2-user__link { max-width: 120px; }
}

/* 08/11/2026 : le cadre d'ordinateur des captures ne fait plus dépasser la page sur téléphone */
@media (max-width: 760px) { .b2-shots { overflow-x: clip; } }

/* 08/11/2026 (retour de Gilles) : Ma brasserie, barre jusqu'à la mise en bouteille + barre des sucres si relevé */
.b2-fcard { height: 468px; }
.b2-fcard__proghead > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-fcard__proghead > strong { flex: none; margin-left: 6px; }
.b2-fcard__bar--sugar > span { background: var(--green-600); }

/* 08/11/2026 : Admin › Membres, colonne Plan (la disposition téléphone reste inchangée) */
@media (min-width: 961px) { .b2-trow--members { grid-template-columns: minmax(0, 2fr) 150px 92px 104px 96px 104px 190px; } }
@media (min-width: 721px) and (max-width: 960px) { .b2-trow--members { grid-template-columns: minmax(0, 2fr) 140px 92px 104px 96px 104px; } }

/* 12/11/2026 (lot GS7) : Gestion › Emballages (maquette validée, toile rangée 7) */
.b2-pstats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 4px; }
.b2-emb__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.b2-emb__panel { border: 2px solid var(--amber-700); }
.b2-emb { padding: 0; overflow: hidden; }
.b2-emb__row { display: grid; grid-template-columns: 52px minmax(0, 1.8fr) minmax(0, 1.2fr) minmax(0, 1fr) 90px 104px; gap: 10px; align-items: center; height: 68px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.b2-emb__row:last-child { border-bottom: 0; }
.b2-emb__row--head { height: 40px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b2-emb__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #F5F0E8; font-size: 20px; }
.b2-emb__who { display: flex; flex-direction: column; min-width: 0; }
.b2-emb__who strong, .b2-emb__who span, .b2-emb__use, .b2-emb__note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-emb__who strong { font-size: 15.5px; font-weight: 600; }
.b2-emb__who span, .b2-emb__use { font-size: 13.5px; color: var(--ink-2); }
.b2-emb__level { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.b2-emb__level strong { font-size: 15px; font-weight: 500; }
.b2-emb__level strong.is-low, .b2-emb__link.is-low { color: var(--red-700); font-weight: 600; }
.b2-emb__bar { display: block; height: 6px; border-radius: 3px; background: #F0E8DA; overflow: hidden; }
.b2-emb__bar span { display: block; height: 6px; background: var(--green-600); }
.b2-emb__bar span.is-low { background: var(--red-700); }
.b2-emb__price { font-size: 14.5px; white-space: nowrap; }
.b2-emb__count { height: 40px; }
.b2-emb__link { justify-self: end; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--amber-700); cursor: pointer; white-space: nowrap; }
.b2-emb__sub { margin: 8px 0 0; font-size: 14px; font-weight: 600; }
.b2-emb__move { display: grid; grid-template-columns: 96px 130px 80px minmax(0, 1fr); gap: 10px; align-items: center; height: 36px; font-size: 14px; border-bottom: 1px solid var(--line); }
.b2-emb__move strong.is-out { color: var(--red-700); }
.b2-emb__note { color: var(--ink-2); }
.b2-embuse { margin-top: 12px; }
.b2-embuse__row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 40px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.b2-embuse__row span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-embuse__row.is-short strong { color: var(--red-700); }
@media (max-width: 720px) {
  .b2-pstats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b2-emb__row { grid-template-columns: 40px minmax(0, 1fr) 96px; grid-template-rows: 44px 28px; height: 84px; column-gap: 10px; row-gap: 0; }
  .b2-emb__row > .b2-emb__icon { grid-row: 1 / 3; }
  .b2-emb__row > .b2-emb__who { grid-row: 1 / 3; }
  .b2-emb__row > .b2-emb__link { grid-column: 3; grid-row: 2; min-height: 28px; }
  .b2-emb__row--head { display: none; }
  .b2-emb__use, .b2-emb__price { display: none; }
  .b2-emb__move { grid-template-columns: 84px 110px 64px; }
  .b2-emb__move .b2-emb__note { display: none; }
}
/* 12/11/2026 (Brasseur Pro, demande de Gilles) : bouteilles et capsules sous le coût des matières */
.b2-bcost { display: grid; gap: 8px; margin-top: 4px; }
.b2-bcost__title { font-size: 14.5px; font-weight: 600; }
/* 12/11/2026 (demande de Gilles, gratuit) : voyant « en stock » au bout du nom d'un ingrédient (recette, brassin) */
.b2-smark-in { position: relative; display: block; min-width: 0; }
.b2-smark-in > input { width: 100%; }
.b2-smark-in > input, .b2-ed__named > input { padding-right: 28px; }
/* 13/11/2026 (demande de David) : case « frais » dans le nom d'un houblon, avant le voyant du grenier */
.b2-ed__calc.is-warn { color: var(--red-700); font-weight: 600; }
.b2-malt-warn { color: var(--red-700); }
.b2-smark { position: absolute; right: 10px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; box-sizing: border-box; }
.b2-smark--ok { background: var(--green-600); }
.b2-smark--partiel, .b2-smark--a_verifier { background: var(--amber-400); }
.b2-smark--absent { background: var(--red-700); }
.b2-smark--inconnu { background: #FFFFFF; border: 2px solid var(--ink-3); }
.b2-stocklist { list-style: none; margin: 0; padding: 0; }
.b2-stocklist li { position: relative; display: flex; align-items: center; height: 36px; padding-right: 26px; border-bottom: 1px solid var(--line); font-size: 14px; }
.b2-stocklist li span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 12/11/2026 (demande de Gilles) : plage de la levure sur la courbe ; outils affichés sur mes brassins */
.b2-chart__band { fill: var(--green-100); }
.b2-chart__dot--out { fill: var(--red-700); stroke: #fff; stroke-width: 1.5; }
.b2-chart__bandkey { display: inline-block; width: 14px; height: 10px; margin-right: 6px; border-radius: 2px; background: var(--green-100); border: 1px solid var(--green-400); vertical-align: -1px; }
.b2-chart__outtxt { color: var(--red-700); }
.b2-btools { gap: 0; }
.b2-btools__row { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 12px; align-items: center; width: 100%; height: 52px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-size: 14.5px; color: var(--ink); text-align: left; cursor: pointer; }
.b2-btools__row > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-btools__sw { position: relative; width: 42px; height: 24px; border-radius: 12px; background: var(--line-strong); }
.b2-btools__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.b2-btools__sw.is-on { background: var(--green-600); }
.b2-btools__sw.is-on::after { left: 21px; }
@media (prefers-reduced-motion: reduce) { .b2-btools__sw::after { transition: none; } }
/* 12/11/2026 (lot GS8) : Gestion › Achats (maquette validée, toile rangée 8) */
.b2-buy__sup { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; height: 56px; border-bottom: 1px solid var(--line); }
.b2-buy__who { display: flex; flex-direction: column; min-width: 0; }
.b2-buy__who strong, .b2-buy__who span, .b2-buy__what { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-buy__who strong { font-size: 15px; font-weight: 600; }
.b2-buy__who span { font-size: 13.5px; color: var(--ink-2); }
.b2-buy__line { display: grid; grid-template-columns: 150px minmax(0, 1fr) 96px 92px 104px 96px 40px; gap: 8px; align-items: center; min-height: 52px; }
.b2-buy__line--head, .b2-buy__rec--head, .b2-buy__order--head { min-height: 32px; height: 32px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b2-buy__unit { font-size: 14px; color: var(--ink-2); padding-left: 4px; }
.b2-buy__total { font-size: 14.5px; text-align: right; white-space: nowrap; }
.b2-buy__sum { margin: 0; text-align: right; font-size: 15px; }
.b2-buy__rec { display: grid; grid-template-columns: minmax(0, 1fr) 120px 110px 110px 130px; gap: 10px; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.b2-buy__order { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 110px 110px 120px; gap: 10px; align-items: center; height: 64px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.b2-buy__order:last-child { border-bottom: 0; }
.b2-buy__what { font-size: 14px; color: var(--ink-2); }
.b2-buy__status { justify-self: start; padding: 4px 9px; border-radius: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.b2-buy__status.is-draft { background: #F0E8DA; color: var(--ink-2); }
.b2-buy__status.is-sent { background: var(--amber-100); color: var(--amber-800); }
.b2-buy__status.is-done { background: var(--green-100); color: var(--green-800); }
.b2-buy__status.is-cancel { background: var(--red-100); color: var(--red-700); }
@media (max-width: 720px) {
  .b2-buy__line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; grid-auto-rows: auto; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .b2-buy__line--head, .b2-buy__rec--head, .b2-buy__order--head { display: none; }
  .b2-buy__line > .b2-buy__total { text-align: left; }
  .b2-buy__rec { grid-template-columns: minmax(0, 1fr) 96px 96px; }
  .b2-buy__rec > span:nth-child(2) { display: none; }
  .b2-buy__rec > :nth-child(5) { grid-column: 1 / -1; }   /* 13/11/2026 (lot GS9) : lot du fournisseur sur sa propre ligne */
  .b2-buy__order { grid-template-columns: minmax(0, 1fr) 96px 104px; height: 72px; }
  .b2-buy__order > .b2-buy__what, .b2-buy__order > span:nth-child(3) { display: none; }
}

/* 13/11/2026 (lot GS9, maquette validée, toile rangée 9) : Gestion › Traçabilité */
.b2-trace__bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.b2-trace__search { flex: 1 1 360px; min-width: 0; }
.b2-trace__search .b2-input { width: 100%; height: 46px; }
.b2-trace__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.b2-trace__col { padding: 14px; min-width: 0; }
.b2-trace__title { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); }
.b2-trace__item { display: grid; gap: 2px; padding: 10px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper, #FBF8F2); color: inherit; text-decoration: none; }
.b2-trace__item.is-hot { background: var(--amber-100); border-color: var(--amber-400); }
.b2-trace__item > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-trace__item > span { font-size: 13.5px; color: var(--ink-2); }
a.b2-trace__item:hover { border-color: var(--primary); }
.b2-trace__outs { margin-top: 14px; }
.b2-trace__out { display: grid; grid-template-columns: 100px minmax(0, 1.2fr) 90px minmax(0, 1.6fr); gap: 10px; align-items: center; height: 44px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.b2-trace__out > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-trace__out--head { height: 32px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b2-trace__left { margin: 10px 0 0; font-size: 14.5px; }
/* Page du brassin : lots des matières */
.b2-lots__state { font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: var(--amber-100); color: var(--amber-800); }
.b2-lots__state.is-saved { background: var(--green-100); color: var(--green-800); }
.b2-lots__row { display: grid; grid-template-columns: minmax(0, 1.3fr) 130px minmax(0, 1fr) minmax(0, 1fr) 110px; gap: 8px; align-items: center; min-height: 50px; border-bottom: 1px solid var(--line); }
.b2-lots__row--head { min-height: 32px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b2-lots__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-lots__qty { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-2); }
.b2-lots__qty .b2-input { width: 80px; }
.b2-lots__acts { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.b2-lots__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }
@media (max-width: 760px) {
  .b2-trace__cols { grid-template-columns: minmax(0, 1fr); }
  .b2-trace__out { grid-template-columns: 70px minmax(0, 1fr) 50px; }
  .b2-trace__out > span:nth-child(4) { grid-column: 1 / -1; margin-top: -8px; color: var(--ink-2); font-size: 13px; }
  .b2-trace__out { height: auto; padding: 8px 0; }
  .b2-lots__row--head { display: none; }
  .b2-lots__row { grid-template-columns: minmax(0, 1fr) 120px; padding: 8px 0; }
  .b2-lots__row > input { grid-column: span 1; }
}

/* 13/11/2026 (retour de Gilles) : alarme d'un minuteur qui sonne jusqu'au clic sur « Arrêter l'alarme » */
.b2-alarm { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1000; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 14px; background: var(--red-700, #A32D2D); color: #FFFFFF; box-shadow: 0 8px 28px rgba(0, 0, 0, .3); font-size: 17px; font-weight: 600; }
.b2-alarm.is-on { display: flex; animation: b2-alarm-pulse 1.6s ease-in-out infinite; }
.b2-alarm__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b2-alarm__stop { flex: none; height: 56px; padding: 0 22px; border: 0; border-radius: 10px; background: #FFFFFF; color: var(--red-700, #A32D2D); font: inherit; font-weight: 700; cursor: pointer; }
@keyframes b2-alarm-pulse { 50% { background: #7A1F1F; } }   /* couleur seulement : le bouton ne bouge pas */
@media (prefers-reduced-motion: reduce) { .b2-alarm.is-on { animation: none; } }
@media (max-width: 760px) {
  .b2-alarm { bottom: 84px; flex-direction: column; align-items: stretch; text-align: center; }   /* au-dessus de la barre d'onglets */
  .b2-alarm__text { white-space: normal; }
}

/* 14/11/2026 (lot GS10, maquette validée, toile rangée 10) : Gestion › Clients, prix HT des formats, prix proposé à la vente */
.b2-fmt--price { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 150px 110px; }
.b2-fmt__price { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.b2-fmt__price .b2-input { width: 80px; height: 38px; }
.b2-sale-price { margin-top: 10px; }
.b2-cli { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: 16px; align-items: start; }
.b2-cli__list { padding: 0; overflow: hidden; }
.b2-cli__search { display: block; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.b2-cli__search .b2-input { width: 100%; }
.b2-cli__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 8px; width: 100%; height: 62px; padding: 8px 14px;
  border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; align-content: center; }
.b2-cli__row:hover { background: var(--paper, #FBF8F2); }
.b2-cli__row.is-on { background: var(--amber-100); }
.b2-cli__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-cli__meta { grid-column: 1; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-cli__last { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 13px; color: var(--ink-2); }
.b2-cli__empty { padding: 14px; }
.b2-cli__card { border: 2px solid var(--amber-600); min-width: 0; }
.b2-cli__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.b2-cli__title { margin: 0; font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-cli__coords { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin: 10px 0; font-size: 14px; }
.b2-cli__coords > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-cli__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.b2-cli__sub { margin: 16px 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--amber-600); }
.b2-cli__price { display: grid; grid-template-columns: minmax(0, 1.6fr) 100px 110px 100px; gap: 8px; align-items: center; height: 46px; border-top: 1px solid var(--line); font-size: 14.5px; }
.b2-cli__price > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-cli__price--head { height: 30px; border-top: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b2-cli__price .b2-input { width: 100%; height: 36px; }
.b2-cli__price > strong { text-align: right; }
.b2-cli__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.b2-cli__hist { display: grid; grid-template-columns: 96px minmax(0, 1fr) 60px; gap: 8px; align-items: center; height: 40px; border-top: 1px solid var(--line); font-size: 14px; }
.b2-cli__hist > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-cli__hist > strong { text-align: right; }
@media (max-width: 860px) {
  .b2-cli { grid-template-columns: minmax(0, 1fr); }
  .b2-cli__coords { grid-template-columns: minmax(0, 1fr); }
  .b2-cli__price { grid-template-columns: minmax(0, 1fr) 90px 80px; height: 56px; }
  .b2-cli__price > :nth-child(2) { display: none; }
  .b2-cli__price:not(.b2-cli__price--head) > span:first-child { white-space: normal; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }   /* bière et format lisibles */
  .b2-fmt--price { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 110px; }
  .b2-fmt--price > .b2-fmt__price { grid-column: 1 / -1; order: 5; }
}

/* 14/11/2026 (lot GS11) : Gestion › Livraisons (commandes en 3 colonnes, préparation par lots, chargement) */
.b2-dlv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.b2-dlv__col { background: var(--paper-200); border-radius: 12px; padding: 12px; min-width: 0; }
.b2-dlv__coltitle { display: flex; justify-content: space-between; margin: 2px 4px 10px; font-size: 16px; }
.b2-dlv__coltitle > span:last-child { color: var(--ink-2); font-weight: 500; }
.b2-dlv__card { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; height: 184px; box-sizing: border-box; padding: 14px; margin-bottom: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.b2-dlv__card .b2-btn { width: 100%; justify-content: center; }
.b2-dlv__cardhead { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; }
.b2-dlv__cardhead strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-dlv__cardhead span { flex: none; font-size: 12.5px; color: var(--ink-2); }
.b2-dlv__meta { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-dlv__meta.is-late { color: var(--red-700); font-weight: 600; }
.b2-dlv__what { margin-top: 6px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-dlv__empty { padding: 4px; }
.b2-dlv__panel { margin-bottom: 16px; border: 2px solid var(--amber-600); }
.b2-dlv__panelhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.b2-dlv__head { display: grid; grid-template-columns: minmax(0, 1.4fr) 180px 180px; gap: 10px; margin-bottom: 10px; }
.b2-dlv__line { display: grid; grid-template-columns: minmax(0, 1.6fr) 96px 140px 110px 110px 40px; gap: 8px; align-items: center; min-height: 52px; border-top: 1px solid var(--line); }
.b2-dlv__line--head { min-height: 30px; height: 30px; border-top: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b2-dlv__line .b2-input { width: 100%; }
.b2-dlv__stock { font-size: 14px; color: var(--green-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-dlv__stock.is-short { color: var(--red-700); font-weight: 600; }
.b2-dlv__total { text-align: right; white-space: nowrap; }
.b2-dlv__add { margin: 8px 0 12px; }
.b2-dlv__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 10px 0; }
.b2-dlv__sum { font-size: 15px; }
.b2-dlv__prep { padding: 10px 0; border-top: 1px solid var(--line); }
.b2-dlv__prephead { display: flex; justify-content: space-between; gap: 8px; height: 26px; font-size: 15px; }
.b2-dlv__prephead strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-dlv__prephead span { flex: none; color: var(--ink-2); }
.b2-dlv__lot { display: grid; grid-template-columns: minmax(0, 1fr) 140px 120px 96px; gap: 8px; align-items: center; height: 46px; font-size: 14px; }
.b2-dlv__lot > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-dlv__lot .b2-input { width: 100%; height: 36px; }
.b2-dlv__check { display: flex; align-items: center; gap: 12px; height: 64px; margin-bottom: 8px; padding: 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.b2-dlv__check input { flex: none; width: 26px; height: 26px; accent-color: var(--green-800); }
.b2-dlv__check > span { display: flex; flex-direction: column; min-width: 0; }
.b2-dlv__check strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-dlv__go { width: 100%; height: 56px; justify-content: center; font-size: 17px; margin: 6px 0 12px; }
@media (max-width: 900px) {
  .b2-dlv { grid-template-columns: minmax(0, 1fr); }
  .b2-dlv__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .b2-dlv__head > :first-child { grid-column: 1 / -1; }
  .b2-dlv__line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; padding: 8px 0; }
  .b2-dlv__line--head { display: none; }
  .b2-dlv__line > select { grid-column: 1 / 3; }
  .b2-dlv__line > .b2-dlv__total { text-align: left; }
  .b2-dlv__lot { grid-template-columns: minmax(0, 1fr) 90px; height: auto; padding: 6px 0; }
  .b2-dlv__lot > :nth-child(3) { display: none; }
  .b2-dlv__lot > .b2-input { grid-column: 2; grid-row: 1 / span 2; }
}

/* 14/11/2026 (lot GS12) : fûts consignés (page, fiche du fût, chargement, fiche client) */
.b2-keg__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.b2-keg__stat { display: flex; flex-direction: column; justify-content: center; height: 92px; box-sizing: border-box; padding: 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.b2-keg__stat span { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-keg__stat strong { font-size: 26px; white-space: nowrap; }
.b2-keg__stat .is-ok, .b2-keg__row .is-ok { color: var(--green-800); }
.b2-keg__stat .is-out { color: var(--amber-600); }
.b2-keg__stat .is-off, .b2-keg__row .is-off { color: var(--ink-2); }
.b2-keg__tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.b2-keg__list { padding: 0; overflow: hidden; }
.b2-keg__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 150px 80px 110px; gap: 10px; align-items: center; height: 56px; padding: 0 16px;
  border-top: 1px solid var(--line); font-size: 14.5px; color: inherit; text-decoration: none; }
a.b2-keg__row:hover { background: var(--paper-100); }
.b2-keg__row > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-keg__row--head { height: 36px; border-top: 0; background: var(--paper-200); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b2-keg__row .is-late, .b2-keg__where .is-late { color: var(--red-700); font-weight: 600; }
.b2-keg__money { text-align: right; color: var(--amber-600); font-weight: 600; }
.b2-keg__empty { padding: 14px 16px; }
.b2-keg__sheet { max-width: 520px; }
.b2-keg__id { display: flex; align-items: center; gap: 14px; margin: 10px 0 14px; }
.b2-keg__id .b2-title { margin: 0; }
.b2-keg__id .b2-subtitle { margin: 0; }
.b2-keg__where { display: flex; flex-direction: column; gap: 2px; }
.b2-keg__where strong { font-size: 18px; }
.b2-keg__service { width: 100%; height: 48px; justify-content: center; margin: 12px 0; }
.b2-keg__move { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; align-items: center; height: 40px; border-top: 1px solid var(--line); font-size: 14px; }
.b2-keg__move > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-keg__back { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.b2-keg__chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.b2-dlv__kegs { margin: -2px 0 10px; padding: 10px 12px; border: 1px dashed var(--line-strong); border-radius: 10px; }
.b2-dlv__kegpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 6px; }
@media (max-width: 900px) {
  .b2-keg__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2-keg__row { grid-template-columns: minmax(0, 1fr) 110px 90px; }
  .b2-keg__row > :nth-child(2), .b2-keg__row > :nth-child(4) { display: none; }
}

/* 15/11/2026 (lot GS13) : factures, avoirs, devis */
.b2-inv__order { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1.2fr) 130px; gap: 10px; align-items: center; height: 52px; border-top: 1px solid var(--line); font-size: 14.5px; cursor: pointer; }
.b2-inv__order > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-inv__order input { width: 22px; height: 22px; }
.b2-inv__right { text-align: right; white-space: nowrap; }
.b2-inv__date { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.b2-inv__date .b2-input { width: 170px; }
.b2-inv__line { display: grid; grid-template-columns: minmax(0, 1fr) 96px 120px 110px 44px; gap: 8px; align-items: center; min-height: 50px; border-top: 1px solid var(--line); font-size: 14.5px; }
.b2-inv__line--head { min-height: 30px; height: 30px; border-top: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b2-inv__line .b2-input { width: 100%; }
.b2-inv__line > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-inv__line--fixed { color: var(--ink-2); }
.b2-inv__line--fixed > strong { text-align: right; color: var(--ink); }
.b2-inv__sum { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; margin: 12px 0; }
.b2-inv__checks { display: flex; flex-direction: column; gap: 4px; padding: 12px; background: var(--paper-200); border-radius: 10px; font-size: 14px; min-width: 0; }
.b2-inv__check { display: flex; gap: 8px; height: 26px; align-items: center; }
.b2-inv__check > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-inv__check > span:first-child { flex: none; width: 14px; font-weight: 700; color: var(--amber-600); }
.b2-inv__check.is-ok > span:first-child { color: var(--green-800); }
.b2-inv__check.is-bad > span:first-child, .b2-inv__check.is-bad { color: var(--red-700); }
.b2-inv__totals { font-size: 14.5px; }
.b2-inv__totals > div { display: flex; justify-content: space-between; height: 30px; align-items: center; }
.b2-inv__totals .is-strong { font-weight: 600; border-top: 1px solid var(--line); }
.b2-inv__totals .is-net { font-weight: 700; border-top: 2px solid var(--ink); }
.b2-inv__pay { display: grid; grid-template-columns: 180px 180px auto; gap: 10px; align-items: end; margin-bottom: 10px; }
.b2-inv__row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 110px 120px 170px; gap: 10px; align-items: center; width: 100%; height: 56px; padding: 0 16px;
  border: 0; border-top: 1px solid var(--line); background: #fff; font: inherit; font-size: 14.5px; color: inherit; text-align: left; cursor: pointer; }
button.b2-inv__row:hover { background: var(--paper-100); }
.b2-inv__row > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-inv__row--head { height: 36px; border-top: 0; background: var(--paper-200); font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: default; }
.b2-inv__state { justify-self: start; padding: 4px 9px; border-radius: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.b2-inv__state.is-draft { background: #F0E8DA; color: var(--ink-2); }
.b2-inv__state.is-due { background: var(--amber-100); color: var(--amber-800); }
.b2-inv__state.is-late { background: var(--red-100); color: var(--red-700); }
.b2-inv__state.is-paid { background: var(--green-100); color: var(--green-800); }
.b2-keg__stat .b2-inv__late { color: var(--red-700); }
@media (max-width: 900px) {
  .b2-inv__order { grid-template-columns: 28px minmax(0, 1fr) 110px; }
  .b2-inv__order > :nth-child(3) { display: none; }
  .b2-inv__line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; padding: 8px 0; }
  .b2-inv__line--head { display: none; }
  .b2-inv__line > :first-child { grid-column: 1 / -1; }
  .b2-inv__line--fixed { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .b2-inv__line--fixed > :nth-child(5) { text-align: right; }
  .b2-inv__sum { grid-template-columns: minmax(0, 1fr); }
  .b2-inv__pay { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .b2-inv__row { grid-template-columns: 110px minmax(0, 1fr) 110px; height: 64px; }
  .b2-inv__row > :nth-child(3), .b2-inv__row > :nth-child(5) { display: none; }
}
/* 15/11/2026 (lot GS14a) : Factures › Comptable et facture électronique */
.b2 a.b2-btn--primary { color: #fff; }   /* un lien en bouton principal gardait la couleur du texte (règle « .b2 a ») */
.b2-compta__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 200px; gap: 12px; align-items: end; }
.b2-compta__form .b2-input, .b2-compta__form .b2-btn { width: 100%; }
.b2-compta__form .b2-btn { justify-content: center; }
.b2-compta__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; height: 44px; padding: 0 16px; background: var(--paper-200); }
.b2-compta__row { display: grid; grid-template-columns: 96px 60px 130px minmax(0, 1fr) 100px 100px; gap: 10px; align-items: center; height: 44px; padding: 0 16px; border-top: 1px solid var(--line); font-size: 14px; }
.b2-compta__row > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-compta__row--head { height: 34px; border-top: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b2-compta__row--head > :nth-child(n+5) { text-align: right; }
.b2-compta__accounts { border-style: dashed; }
.b2-compta__accounts > summary { display: flex; align-items: center; height: 48px; font-weight: 600; cursor: pointer; }
.b2-compta__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.b2-compta__grid .b2-input { width: 100%; }
.b2-einv__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.b2-einv__step { display: flex; flex-direction: column; height: 150px; box-sizing: border-box; padding: 14px; border: 1px dashed var(--line); border-radius: 10px; background: #fff; }
.b2-einv__step > span { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--amber-800); }
.b2-einv__step > strong { margin: 4px 0; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-einv__step > p { margin: 0; font-size: 13.5px; color: var(--ink-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.b2-einv__step.is-done { border-style: solid; background: var(--green-100); }
.b2-einv__step.is-done > span { color: var(--green-800); }
.b2-einv__step.is-later > span { color: var(--ink-2); }
.b2-einv__actions { margin-bottom: 12px; }
.b2-einv__check { display: grid; grid-template-columns: 14px minmax(0, 1fr) minmax(0, 1fr); }
.b2-einv__check > span:last-child { color: var(--ink-2); }
@media (max-width: 900px) {
  .b2-compta__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .b2-compta__row { grid-template-columns: minmax(0, 1fr) 84px 84px; height: 52px; }
  .b2-compta__row > :nth-child(-n+2), .b2-compta__row > :nth-child(4) { display: none; }
  .b2-keg__tabs { flex-wrap: wrap; }
  .b2-compta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .b2-einv__steps { grid-template-columns: minmax(0, 1fr); }
  .b2-einv__check { grid-template-columns: 14px minmax(0, 1fr); height: auto; }
  .b2-einv__check > span:last-child { grid-column: 2; }
}
/* 15/11/2026 (lot GS15) : Aujourd'hui › Ma brasserie en chiffres */
.b2-gkpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.b2-gkpi__card { display: flex; flex-direction: column; justify-content: center; height: 112px; box-sizing: border-box; padding: 0 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.b2 a.b2-gkpi__card { color: var(--ink); }
.b2-gkpi__card:hover { border-color: var(--amber-600); }
.b2-gkpi__card > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-gkpi__label { font-size: 13.5px; color: var(--ink-2); }
.b2-gkpi__value { font-family: var(--font-title); font-size: 26px; line-height: 34px; font-weight: 700; }
.b2-gkpi__sub { font-size: 13.5px; font-weight: 600; }
.b2-gkpi__sub.is-green { color: var(--green-800); }
.b2-gkpi__sub.is-amber { color: var(--amber-800); }
.b2-gkpi__sub.is-red { color: var(--red-700); }
.b2-gcharts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; margin-top: 14px; }
.b2-gchart { height: 260px; box-sizing: border-box; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.b2-gchart__title { margin: 0 0 10px; font-size: 15px; }
.b2-gbars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; height: 186px; }
.b2-gbars__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.b2-gbars__val { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.b2-gbars__bar { display: block; width: 70%; border-radius: 6px 6px 0 0; background: #E8CFA8; }
.b2-gbars__bar.is-now { background: var(--amber-600); }
.b2-gbars__label { margin-top: 4px; font-size: 13px; }
.b2-gtop { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr) 70px; gap: 10px; align-items: center; height: 40px; font-size: 14.5px; }
.b2-gtop > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-gtop > strong { text-align: right; white-space: nowrap; }
.b2-gtop__track { display: block; height: 12px; background: var(--paper-200); border-radius: 6px; overflow: hidden; }
.b2-gtop__track > span { display: block; height: 100%; background: var(--amber-600); border-radius: 6px; }
@media (max-width: 900px) {
  .b2-gkpi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .b2-gkpi__card { height: 100px; padding: 0 12px; }
  .b2-gkpi__value { font-size: 21px; line-height: 28px; }
  .b2-gkpi__label, .b2-gkpi__sub { font-size: 12.5px; }
  .b2-gbars__val { display: none; }
  .b2-gtop { grid-template-columns: minmax(0, 1fr) 70px; }
  .b2-gtop__track { display: none; }
  .b2-gchart { height: auto; }
  .b2-gbars { height: 150px; }
}
/* 15/11/2026 (lot BM) : Gestion › Besoins matières */
.b2-need__period { width: 200px; }
.b2-need__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b2-need__row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 100px 100px 90px 220px; gap: 10px; align-items: center; height: 52px; padding: 0 16px; border-top: 1px solid var(--line); font-size: 14.5px; }
.b2-need__row > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-need__row > :nth-child(n+2):nth-child(-n+5) { text-align: right; }
.b2-need__row > .b2-inv__state { max-width: 100%; }
.b2-need__row--head { height: 36px; border-top: 0; background: var(--paper-200); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b2-need__fam { font-size: 12.5px; color: var(--ink-2); }
.b2-need__batch { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 280px); gap: 10px; align-items: center; height: 52px; padding: 0 16px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink); text-decoration: none; }
.b2 a.b2-need__batch { color: var(--ink); }
.b2-need__batch:first-child { border-top: 0; }
.b2-need__batch:hover { background: var(--paper-100); }
.b2-need__batch > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-need__batch > .b2-inv__state { max-width: 100%; }
@media (max-width: 900px) {
  .b2-need__period { width: 100%; }
  .b2-need__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .b2-need__stats .b2-keg__stat { padding: 0 10px; }
  .b2-need__stats .b2-keg__stat span { white-space: normal; font-size: 12.5px; line-height: 1.2; }
  .b2-need__row { grid-template-columns: minmax(0, 1fr) 80px; height: auto; min-height: 56px; padding: 8px 12px; row-gap: 4px; }
  .b2-need__row--head { display: none; }
  .b2-need__row > :nth-child(2), .b2-need__row > :nth-child(3), .b2-need__row > :nth-child(4) { display: none; }
  .b2-need__row > .b2-inv__state { grid-column: 1 / -1; justify-self: start; }
  .b2-need__batch { grid-template-columns: 90px minmax(0, 1fr); height: auto; min-height: 56px; padding: 8px 12px; row-gap: 4px; }
  .b2-need__batch > .b2-inv__state { grid-column: 1 / -1; justify-self: start; }
}

/* ── 15/11/2026 — BrewThèque ─────────────────────────────────── */
.b2-bt__fams { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 8px 0 24px; }
.b2-bt__fam { display: grid; justify-items: center; align-content: start; gap: 4px; height: 172px; padding: 12px 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font: inherit; color: var(--ink); text-align: center; }
.b2-bt__fam:hover { border-color: var(--amber-400); }
.b2-bt__fam.is-active { border-color: var(--amber-600); background: var(--amber-100); }
.b2-bt__fam img { width: 96px; height: 96px; border-radius: var(--radius-sm); object-fit: cover; }
.b2-bt__fam-name { font-weight: 600; font-size: 14px; line-height: 20px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-bt__fam-count { font-size: 13px; line-height: 18px; color: var(--ink-3); }
.b2-bt__hint { margin: 0 0 16px; }
.b2-bt__groups { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.b2-bt__chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 13px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
span.b2-bt__chip { cursor: default; background: var(--paper-200); border-color: var(--paper-200); }
.b2-bt__chip.is-active { background: var(--amber-100); border-color: var(--amber-400); color: var(--amber-800); font-weight: 500; }
.b2-bt__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.b2-bt__card { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; height: 88px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; position: relative; }
.b2-bt__card:hover { border-color: var(--amber-400); }
.b2-bt__card img, .b2-bt__noimg { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; }
.b2-bt__noimg { display: block; background: linear-gradient(135deg, var(--paper-200), var(--paper-300)); }
.b2-bt__noimg--big { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--radius); }
.b2-bt__card-body { display: grid; min-width: 0; }
.b2-bt__card-name { font-weight: 600; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
.b2-bt__card-fact { font-size: 13px; line-height: 18px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-bt__badge { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); font-size: 0; }
.b2-bt__crumb { margin: 0 0 12px; font-size: 14px; color: var(--ink-3); }
.b2-bt__crumb a { color: var(--amber-700); text-decoration: none; }
.b2-bt__sheet { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px; align-items: start; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.b2-bt__photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.b2-bt__id { display: grid; gap: 12px; min-width: 0; }
.b2-bt__lead { margin: 0; font-size: 16px; color: var(--ink-2); }
.b2-bt__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 0; }
.b2-bt__fact { display: grid; align-content: center; height: 64px; padding: 8px 12px; background: var(--paper-100); border: 1px solid var(--line); border-radius: var(--radius-sm); min-width: 0; }
.b2-bt__fact dt { font-size: 12px; line-height: 16px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-bt__fact dd { margin: 0; font-weight: 600; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-bt__aromas { display: flex; flex-wrap: wrap; gap: 8px; }
.b2-bt__more { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 16px; }
.b2-bt__more p { margin: 0 0 8px; }
.b2-bt__note { margin-top: 16px; font-size: 13px; }
@media (max-width: 1100px) { .b2-bt__fams { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .b2-bt__fams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2-bt__sheet { grid-template-columns: minmax(0, 1fr); }
  .b2-bt__photo { max-width: 360px; justify-self: center; width: 100%; }
  .b2-bt__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 15/11/2026 — BrewThèque : sélecteur de houblons et houblons proches */
.b2-bt__filters { margin: 0 0 12px; }
.b2-bt__count { margin: 0 0 12px; font-size: 14px; color: var(--ink-3); }
.b2-bt__count .b2-link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.b2-bt__compare { margin-top: 16px; }
.b2-bt__cmp { display: grid; gap: 4px; margin-top: 8px; }
.b2-bt__cmp-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 2fr); gap: 12px; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--radius-sm); background: var(--paper-100); }
.b2-bt__cmp-row > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-bt__cmp-row a { color: var(--amber-700); text-decoration: none; font-weight: 600; }
.b2-bt__cmp-row--head { height: 28px; background: none; font-size: 12px; color: var(--ink-3); }
.b2-bt__cmp-row.is-current { background: var(--amber-100); font-weight: 600; }
@media (max-width: 760px) {
  .b2-bt__filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b2-bt__cmp-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1.6fr); }
  .b2-bt__cmp-row > :nth-child(3), .b2-bt__cmp-row > :nth-child(4) { display: none; }
}

/* 16/11/2026 — retours de Gilles : méthode de conditionnement, bilan prévu / obtenu, détail des coûts, volume brassé */
.b2-packmethod { margin: 4px 0 12px; }
.b2-packmethod .b2-seg__btn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-bilan { display: grid; gap: 4px; margin: 4px 0 12px; }
.b2-bilan__row { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 12px; align-items: center; height: 36px; padding: 0 12px; border-radius: var(--radius-sm); background: var(--paper-100); }
.b2-bilan__row > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-bilan__row--head { height: 24px; background: none; font-size: 12px; color: var(--ink-3); }
.b2-bilan__cost { margin: 12px 0; padding-top: 12px; border-top: 1px solid var(--line); }
.b2-bilan__tasting { margin: 12px 0 8px; }
.b2-costlist__rows { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 4px; }
.b2-costlist__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .9fr); gap: 8px; align-items: center; height: 32px; padding: 0 10px; border-radius: var(--radius-sm); background: var(--paper-100); font-size: 14px; }
.b2-costlist__row > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b2-costlist__row > :last-child { text-align: right; }
.b2-costlist__row.is-missing > :last-child { color: var(--red-700); }
.b2-brewed { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0 16px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.b2-brewed__value { font: 600 22px/28px var(--font-title); color: var(--amber-800); }
.b2-brewed__text { color: var(--ink-2); }
.b2-brewed__date { width: 160px; }
@media (max-width: 760px) {
  .b2-packmethod { grid-auto-flow: row; }
}
