:root{
  --frc-bg:#fffdf8;
  --frc-paper:#fbf8f1;
  --frc-paper-2:#f4f1e8;
  --frc-ink:#2f2a24;
  --frc-muted:#786f64;
  --frc-line:#ded8cc;
  --frc-sage:#a2af8e;
  --frc-sage-2:#BCC4A9;
  --frc-wood:#b8946f;
}

.frc-recipe{background:var(--frc-bg);color:var(--frc-ink);border:1px solid var(--frc-line);font-family: Georgia,'Times New Roman',serif;max-width:1120px;margin:0 auto 40px;box-shadow:0 8px 35px rgba(75,60,45,.06);}
.frc-recipe *{box-sizing:border-box;}
.frc-recipe p,.frc-recipe li,.frc-recipe input,.frc-recipe button{font-family:inherit;}

.frc-hero{display:grid;grid-template-columns:36% 64%;border-bottom:1px solid var(--frc-line);min-height:360px;}
.frc-photo{background:#eee7db;min-height:360px;overflow:hidden;}
.frc-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.frc-photo-placeholder{height:100%;min-height:360px;display:flex;align-items:center;justify-content:center;color:var(--frc-muted);background:linear-gradient(135deg,#ede5d8,#f8f4ec);}
.frc-hero-content{padding:54px 52px 42px;display:flex;flex-direction:column;justify-content:center;gap:22px;}
.frc-title{font-size:clamp(2.2rem,4vw,4rem);line-height:1.05;margin:0;font-weight:500;letter-spacing:-.02em;}
.frc-description{margin:0;color:var(--frc-muted);font-size:1.08rem;max-width:720px;line-height:1.7;}

.frc-time-summary{margin-top:16px;padding-top:26px;border-top:1px solid var(--frc-line);text-align:center;}
.frc-total-label{text-transform:uppercase;font-size:.72rem;letter-spacing:.12em;color:#687451;font-weight:700;}
.frc-total-value{font-size:1.75rem;color:#687451;margin-top:5px;}
.frc-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:6px;}
.frc-meta-item{text-align:center;padding:18px 20px;border-left:1px solid var(--frc-line);}
.frc-meta-item:first-child{border-left:0;}
.frc-meta-icon{color:#687451;font-size:1.25rem;line-height:1;margin-bottom:8px;}
.frc-meta-label{text-transform:uppercase;font-size:.68rem;letter-spacing:.12em;color:#687451;font-weight:700;margin-bottom:8px;}
.frc-meta-value{font-size:1.05rem;}

.frc-main{display:grid;grid-template-columns:39% 61%;border-bottom:1px solid var(--frc-line);}
.frc-section{padding:42px 44px;}
.frc-section + .frc-section{border-left:1px solid var(--frc-line);}
.frc-section h2,.frc-bottom h2,.frc-seealso h2{font-size:1.65rem;font-weight:500;margin:0 0 24px;display:flex;align-items:center;gap:10px;}
.frc-section h2::before,.frc-bottom h2::before,.frc-seealso h2::before{content:'❧';color:#687451;font-size:1.2rem;}

.frc-servings-control{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:min(100%, 380px);
  max-width:100%;
  background:var(--frc-paper-2);
  border:1px solid #ebe5d8;
  border-radius:6px;
  padding:12px 16px;
  margin:0 0 28px;
  overflow:visible;
  white-space:nowrap;
}
.frc-servings-prefix,.frc-servings-label{text-transform:uppercase;font-size:.62rem;letter-spacing:.08em;color:var(--frc-muted);font-weight:700;white-space:nowrap;}
.frc-servings-control button{border:1px solid var(--frc-line);background:var(--frc-bg);color:#596247;width:28px;height:28px;border-radius:50%;cursor:pointer;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;padding:0;flex:0 0 28px;}
.frc-servings-number{font-size:1.35rem;font-weight:700;min-width:24px;text-align:center;color:var(--frc-ink);}

.frc-group{padding:22px 0;border-bottom:1px solid var(--frc-line);}
.frc-group:last-child{border-bottom:0;}
.frc-group h3{font-size:1.08rem;margin:0 0 18px;font-weight:700;}
.frc-ingredients-list{list-style:none;margin:0;padding:0;}
.frc-ingredient{display:grid;grid-template-columns:58px 75px 1fr;gap:12px;align-items:baseline;padding:8px 0;}
.frc-qty{font-weight:700;color:#687451;text-align:right;}
.frc-unit{color:var(--frc-muted);font-size:.92rem;}
.frc-name{color:var(--frc-ink);}

.frc-steps{list-style:none;margin:0;padding:0;counter-reset:frc-step;}
.frc-step{counter-increment:frc-step;display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;margin:16px 0;line-height:1.65;}
.frc-step::before{content:counter(frc-step);width:28px;height:28px;border-radius:50%;background:#efede5;color:#596247;display:flex;align-items:center;justify-content:center;font-size:.82rem;font-weight:700;margin-top:2px;}

.frc-bottom{border-bottom:1px solid var(--frc-line);}
.frc-bottom-section{padding:36px 44px;}
.frc-notes{color:var(--frc-muted);margin:0;line-height:1.7;}
.frc-notes:empty{display:none;}

.frc-seealso{padding:36px 44px;}
.frc-seealso-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.frc-seealso-card{display:grid;grid-template-columns:92px 1fr;gap:14px;align-items:center;text-decoration:none;color:var(--frc-ink);border:1px solid var(--frc-line);border-radius:7px;overflow:hidden;background:#fffdf8;transition:.18s ease;}
.frc-seealso-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(75,60,45,.08);}
.frc-seealso-card img,.frc-seealso-placeholder{width:92px;height:72px;object-fit:cover;background:#eee7db;display:flex;align-items:center;justify-content:center;color:var(--frc-muted);font-size:.8rem;}
.frc-seealso-title{font-weight:700;padding-right:12px;}
.frc-seealso-link{grid-column:2;color:#687451;font-size:.9rem;margin-top:-10px;padding-bottom:8px;}
.frc-empty-help{color:var(--frc-muted);}

/* Editor helpers */
.frc-editor-panel{background:#f8f5ed;border:1px dashed var(--frc-line);padding:16px;margin:16px 0;border-radius:8px;}
.frc-editor-subpanel{background:#fffdf8;border:1px solid var(--frc-line);padding:14px;margin:12px 0;border-radius:8px;}
.frc-editor-panel-mini{border-bottom:1px solid var(--frc-line);padding-bottom:12px;margin-bottom:12px;}
.frc-editor-row{display:grid;grid-template-columns:1fr 1fr 2fr auto;gap:10px;align-items:end;margin:8px 0;}
.frc-editor-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0;}
.frc-editor-small{font-size:12px;color:var(--frc-muted);margin-top:10px;}

@media(max-width:420px){
  .frc-servings-control{gap:7px;padding:9px 10px;width:100%;}
  .frc-servings-prefix,.frc-servings-label{font-size:.52rem;letter-spacing:.04em;}
  .frc-servings-control button{width:24px;height:24px;flex-basis:24px;}
  .frc-servings-number{font-size:1.1rem;min-width:18px;}
}

@media(max-width:850px){
  .frc-hero,.frc-main{grid-template-columns:1fr;}
  .frc-section + .frc-section{border-left:0;border-top:1px solid var(--frc-line);}
  .frc-hero-content{padding:34px 24px;}
  .frc-photo,.frc-photo-placeholder{min-height:260px;}
  .frc-meta{grid-template-columns:1fr;}
  .frc-meta-item{border-left:0;border-top:1px solid var(--frc-line);}
  .frc-section,.frc-bottom-section,.frc-seealso{padding:30px 24px;}
  .frc-seealso-grid{grid-template-columns:1fr;}
  .frc-editor-row{grid-template-columns:1fr;}
}

/* Sécurité anti-débordement : seulement pour les textes longs, pas pour les titres */
.frc-description,
.frc-name,
.frc-unit,
.frc-step,
.frc-step p,
.frc-notes,
.frc-seealso-title {
  overflow-wrap: anywhere;
  word-break: normal;
  min-width: 0;
}

.frc-title,
.frc-section h2,
.frc-bottom h2,
.frc-seealso h2,
.frc-meta-label,
.frc-total-label {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.frc-section h2,
.frc-bottom h2,
.frc-seealso h2 {
  white-space: nowrap;
}

.frc-meta-label {
  white-space: nowrap;
  font-size: clamp(.58rem, 1vw, .68rem);
}

.frc-step,
.frc-step > *,
.frc-ingredient,
.frc-ingredient > * {
  max-width: 100%;
  min-width: 0;
}


/* Alternatives d’ingrédients */
.frc-alternatives{
  margin-top:14px;
  padding:12px 14px;
  border-left:3px solid var(--frc-sage);
  background:rgba(188,196,169,.16);
  color:var(--frc-muted);
  font-size:.92rem;
  line-height:1.55;
}
.frc-alternatives-label{
  display:block;
  margin-bottom:3px;
  text-transform:uppercase;
  font-size:.62rem;
  letter-spacing:.1em;
  color:#687451;
  font-weight:700;
}
.frc-alternatives-text{
  overflow-wrap:anywhere;
  word-break:normal;
}
.frc-linked-section + .frc-linked-section{
  padding-top:10px;
}

/* Boutons impression / partage */
.frc-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:-8px;
}
.frc-action-button{
  border:1px solid var(--frc-sage-2);
  background:rgba(188,196,169,.14);
  color:#596247;
  border-radius:999px;
  padding:7px 13px;
  font-size:.86rem;
  line-height:1;
  cursor:pointer;
  transition:.16s ease;
}
.frc-action-button:hover{
  background:rgba(162,175,142,.25);
  transform:translateY(-1px);
}

/* Impression fiche recette */
@media print{
  @page{ size:A4 portrait; margin:7mm; }

  body.frc-printing *{
    visibility:hidden !important;
  }
  body.frc-printing .frc-recipe,
  body.frc-printing .frc-recipe *{
    visibility:visible !important;
  }
  body.frc-printing .frc-recipe{
    position:absolute !important;
    left:0 !important;
    top:0 !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    box-shadow:none !important;
    border:1px solid #d8d1c4 !important;
    background:#fffdf8 !important;
    color:#1f1f1f !important;
    font-size:8.8pt !important;
    line-height:1.35 !important;
  }

  body.frc-printing .frc-actions,
  body.frc-printing .frc-action-button,
  body.frc-printing .frc-servings-control button,
  body.frc-printing .frc-linked-section,
  body.frc-printing .frc-empty-help{
    display:none !important;
  }

  body.frc-printing .frc-hero{
    display:grid !important;
    grid-template-columns:36% 64% !important;
    min-height:0 !important;
    border-bottom:1px solid #d8d1c4 !important;
    page-break-inside:avoid !important;
  }
  body.frc-printing .frc-photo,
  body.frc-printing .frc-photo-placeholder{
    min-height:150px !important;
    height:150px !important;
  }
  body.frc-printing .frc-photo img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }
  body.frc-printing .frc-hero-content{
    padding:16px 22px 12px !important;
    gap:7px !important;
  }
  body.frc-printing .frc-title{
    font-size:26pt !important;
    line-height:1.02 !important;
    margin:0 !important;
  }
  body.frc-printing .frc-description{
    font-size:9pt !important;
    line-height:1.35 !important;
    margin:0 !important;
  }
  body.frc-printing .frc-time-summary{
    margin-top:7px !important;
    padding-top:10px !important;
  }
  body.frc-printing .frc-total-label,
  body.frc-printing .frc-meta-label{
    font-size:6.8pt !important;
    letter-spacing:.1em !important;
  }
  body.frc-printing .frc-total-value{
    font-size:15pt !important;
    margin-top:1px !important;
  }
  body.frc-printing .frc-meta{
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    margin-top:2px !important;
  }
  body.frc-printing .frc-meta-item{
    padding:7px 10px !important;
  }
  body.frc-printing .frc-meta-icon{
    font-size:10pt !important;
    margin-bottom:3px !important;
  }
  body.frc-printing .frc-meta-value{
    font-size:9pt !important;
  }

  body.frc-printing .frc-main{
    display:grid !important;
    grid-template-columns:39% 61% !important;
    border-bottom:1px solid #d8d1c4 !important;
  }
  body.frc-printing .frc-section{
    padding:16px 18px !important;
  }
  body.frc-printing .frc-section + .frc-section{
    border-left:1px solid #d8d1c4 !important;
    border-top:0 !important;
  }
  body.frc-printing .frc-section h2,
  body.frc-printing .frc-bottom h2{
    font-size:14pt !important;
    margin:0 0 11px !important;
    white-space:nowrap !important;
  }
  body.frc-printing .frc-servings-control{
    width:auto !important;
    max-width:100% !important;
    padding:6px 9px !important;
    margin:0 0 12px !important;
    gap:7px !important;
    background:#f4f1e8 !important;
  }
  body.frc-printing .frc-servings-prefix,
  body.frc-printing .frc-servings-label{
    font-size:6.2pt !important;
  }
  body.frc-printing .frc-servings-number{
    font-size:11pt !important;
    min-width:auto !important;
  }
  body.frc-printing .frc-group{
    padding:8px 0 !important;
    page-break-inside:avoid !important;
  }
  body.frc-printing .frc-group h3{
    font-size:9.8pt !important;
    margin:0 0 7px !important;
  }
  body.frc-printing .frc-ingredient{
    grid-template-columns:40px 50px 1fr !important;
    gap:8px !important;
    padding:3px 0 !important;
  }
  body.frc-printing .frc-step{
    grid-template-columns:20px minmax(0,1fr) !important;
    gap:8px !important;
    margin:6px 0 !important;
    line-height:1.35 !important;
    page-break-inside:avoid !important;
  }
  body.frc-printing .frc-step::before{
    width:18px !important;
    height:18px !important;
    font-size:7pt !important;
  }
  body.frc-printing .frc-alternatives{
    margin-top:8px !important;
    padding:7px 8px !important;
    font-size:7.5pt !important;
  }
  body.frc-printing .frc-alternatives-label{
    font-size:5.8pt !important;
  }
  body.frc-printing .frc-bottom-section{
    padding:12px 18px !important;
  }
  body.frc-printing .frc-notes{
    font-size:8pt !important;
    line-height:1.35 !important;
  }
}

/* Astuce */
.frc-tip{
  display:grid;
  grid-template-columns:46px 1fr;
  gap:14px;
  align-items:flex-start;
  margin:34px 44px 0;
  padding:18px 20px;
  border:1px solid rgba(188,196,169,.55);
  background:rgba(188,196,169,.13);
  border-radius:9px;
}
.frc-tip-icon{font-size:1.35rem;line-height:1.2;}
.frc-tip h2{margin:0 0 7px;font-size:1.15rem;font-weight:700;color:#596247;}
.frc-tip h2::before{content:none!important;}
.frc-tip-text{margin:0;color:var(--frc-muted);line-height:1.65;overflow-wrap:anywhere;}

/* À servir avec : texte libre, pas de lien */
.frc-servewith{padding:34px 44px;}
.frc-servewith h2{font-size:1.65rem;font-weight:500;margin:0 0 18px;display:flex;align-items:center;gap:10px;}
.frc-servewith h2::before{content:'❧';color:#687451;font-size:1.2rem;}
.frc-servewith-list{display:flex;flex-wrap:wrap;gap:10px;}
.frc-servewith-item{display:inline-flex;align-items:center;border:1px solid var(--frc-line);background:#fffdf8;border-radius:999px;padding:8px 13px;color:var(--frc-ink);font-size:.94rem;}
.frc-servewith-item::before{content:'🍽️';margin-right:7px;font-size:.9rem;}

@media(max-width:850px){
  .frc-tip{margin:28px 24px 0;grid-template-columns:36px 1fr;padding:16px;}
  .frc-servewith{padding:30px 24px;}
}

@media print{
  body.frc-printing .frc-tip{margin:12px 18px 0!important;padding:10px 12px!important;grid-template-columns:28px 1fr!important;page-break-inside:avoid!important;}
  body.frc-printing .frc-tip h2{font-size:10pt!important;margin-bottom:3px!important;}
  body.frc-printing .frc-tip-text{font-size:8.8pt!important;line-height:1.35!important;}
  body.frc-printing .frc-servewith{padding:12px 18px!important;page-break-inside:avoid!important;}
  body.frc-printing .frc-servewith-list{gap:6px!important;}
  body.frc-printing .frc-servewith-item{padding:4px 8px!important;font-size:8.5pt!important;}
}

/* v0.4.3 — Astuce placée dans la préparation */
.frc-prep-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:28px;
  align-items:start;
}
.frc-prep-layout.has-tip{
  grid-template-columns:minmax(0,1fr) minmax(230px, 32%);
}
.frc-prep-content{min-width:0;}
.frc-preparation .frc-tip{
  margin:4px 0 24px 24px;
  padding:22px 22px 24px;
  border:1px solid rgba(104,116,81,.38);
  background:rgba(188,196,169,.10);
  border-radius:14px;
  box-shadow:0 10px 25px rgba(75,60,45,.04);
  display:block;
  align-self:start;
}
.frc-preparation .frc-tip-icon{
  color:#687451;
  margin:0 0 10px;
  line-height:1;
}
.frc-preparation .frc-tip-icon svg{
  display:block;
  width:58px;
  height:58px;
}
.frc-preparation .frc-tip h2{
  margin:0 0 12px;
  padding-bottom:9px;
  border-bottom:2px solid rgba(104,116,81,.38);
  font-size:1.05rem;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#596247;
  display:block;
  white-space:normal;
}
.frc-preparation .frc-tip h2::before{content:none!important;}
.frc-preparation .frc-tip-text{
  margin:0;
  color:var(--frc-muted);
  line-height:1.7;
  overflow-wrap:anywhere;
}

/* v0.4.3 — À servir avec : encadré texte libre */
.frc-servewith{
  margin:34px 44px 0;
  padding:24px 28px;
  border:1.5px solid rgba(104,116,81,.55);
  background:rgba(188,196,169,.08);
  border-radius:10px;
}
.frc-servewith h2{
  margin:0 0 14px;
  font-size:1.35rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.035em;
  color:#596247;
  display:block;
}
.frc-servewith h2::before{content:none!important;}
.frc-servewith-list{
  display:block;
  color:var(--frc-ink);
  font-size:1.05rem;
  line-height:1.7;
}
.frc-servewith-item{
  display:inline;
  border:0;
  background:transparent;
  border-radius:0;
  padding:0;
  color:var(--frc-ink);
  font-size:inherit;
}
.frc-servewith-item::before{content:none!important;}
.frc-servewith-item:not(:last-child)::after{content:', ';}

@media(max-width:950px){
  .frc-prep-layout.has-tip{grid-template-columns:1fr;}
  .frc-preparation .frc-tip{margin:18px 0 0;}
}

@media(max-width:850px){
  .frc-servewith{margin:28px 24px 0;padding:20px;}
}

@media print{
  body.frc-printing .frc-prep-layout,
  body.frc-printing .frc-prep-layout.has-tip{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 34%!important;
    gap:12px!important;
  }
  body.frc-printing .frc-preparation .frc-tip{
    margin:0 0 8px 8px!important;
    padding:8px 9px!important;
    border-radius:6px!important;
    page-break-inside:avoid!important;
  }
  body.frc-printing .frc-preparation .frc-tip-icon svg{
    width:28px!important;
    height:28px!important;
  }
  body.frc-printing .frc-preparation .frc-tip h2{
    font-size:8pt!important;
    margin:0 0 5px!important;
    padding-bottom:4px!important;
  }
  body.frc-printing .frc-preparation .frc-tip-text{
    font-size:8pt!important;
    line-height:1.3!important;
  }
  body.frc-printing .frc-servewith{
    margin:10px 18px 0!important;
    padding:8px 10px!important;
    border:1px solid rgba(104,116,81,.55)!important;
    page-break-inside:avoid!important;
  }
  body.frc-printing .frc-servewith h2{
    font-size:9pt!important;
    margin:0 0 4px!important;
  }
  body.frc-printing .frc-servewith-list{
    font-size:8.4pt!important;
    line-height:1.35!important;
  }
}


/* v0.4.4 — Astuce plus compacte */
.frc-prep-layout.has-tip{
  grid-template-columns:minmax(0,1fr) minmax(205px, 26%);
  gap:24px;
}
.frc-preparation .frc-tip{
  padding:16px 17px 18px;
  border-radius:12px;
  margin:2px 0 20px 18px;
}
.frc-preparation .frc-tip-icon{margin-bottom:6px;}
.frc-preparation .frc-tip-icon svg{width:42px;height:42px;}
.frc-preparation .frc-tip h2{
  font-size:.82rem;
  margin-bottom:8px;
  padding-bottom:7px;
  letter-spacing:.07em;
}
.frc-preparation .frc-tip-text{
  font-size:.88rem;
  line-height:1.55;
}

/* v0.4.4 — À servir avec en capsules individuelles, sans gros encadré */
.frc-servewith{
  margin:32px 44px 0;
  padding:0;
  border:0;
  background:transparent;
  border-radius:0;
}
.frc-servewith h2{
  margin:0 0 16px;
  font-size:1.45rem;
  font-weight:700;
  text-transform:none;
  letter-spacing:0;
  color:#596247;
  display:flex;
  align-items:center;
  gap:10px;
}
.frc-servewith h2::before{content:'❧'!important;color:#687451;font-size:1.1rem;}
.frc-servewith-list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  font-size:1rem;
  line-height:1.4;
}
.frc-servewith-item{
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(104,116,81,.28);
  background:#fffdf8;
  border-radius:999px;
  padding:9px 16px;
  color:var(--frc-ink);
  font-size:1rem;
  box-shadow:0 4px 14px rgba(75,60,45,.035);
}
.frc-servewith-item:not(:last-child)::after{content:none!important;}

/* v0.4.4 — cacher Notes si vide sur anciens contenus sauvegardés */
.frc-notes-section:has(.frc-notes:empty){display:none;}
.frc-bottom:has(.frc-notes-section:only-child .frc-notes:empty){display:none;}

@media(max-width:950px){
  .frc-prep-layout.has-tip{grid-template-columns:1fr;}
  .frc-preparation .frc-tip{margin:16px 0 0;max-width:360px;}
}

@media(max-width:850px){
  .frc-servewith{margin:28px 24px 0;}
}

@media print{
  body.frc-printing .frc-preparation .frc-tip{padding:8px 10px!important;margin:6px 0 0 8px!important;}
  body.frc-printing .frc-preparation .frc-tip-icon svg{width:24px!important;height:24px!important;}
  body.frc-printing .frc-preparation .frc-tip h2{font-size:8pt!important;margin-bottom:3px!important;padding-bottom:3px!important;}
  body.frc-printing .frc-preparation .frc-tip-text{font-size:7.7pt!important;line-height:1.25!important;}
  body.frc-printing .frc-servewith{margin:10px 18px 0!important;padding:0!important;border:0!important;background:transparent!important;}
  body.frc-printing .frc-servewith h2{font-size:10pt!important;margin-bottom:6px!important;}
  body.frc-printing .frc-servewith-list{display:flex!important;gap:5px!important;}
  body.frc-printing .frc-servewith-item{padding:3px 7px!important;font-size:7.8pt!important;}
}


/* v0.4.5 — Astuce horizontale alignée avec le titre Préparation */
.frc-preparation{
  position:relative;
}
.frc-prep-layout.has-tip{
  display:block;
}
.frc-prep-layout.has-tip .frc-prep-content{
  padding-right:calc(46% + 30px);
  min-width:0;
}
.frc-preparation .frc-tip{
  position:absolute;
  top:42px;
  right:44px;
  width:min(46%, 560px);
  margin:0;
  padding:13px 18px;
  display:flex;
  align-items:center;
  gap:16px;
  border:1px solid rgba(104,116,81,.52);
  background:rgba(188,196,169,.08);
  border-radius:10px;
  box-shadow:0 8px 20px rgba(75,60,45,.035);
}
.frc-preparation .frc-tip-icon{
  flex:0 0 auto;
  margin:0;
  color:#687451;
}
.frc-preparation .frc-tip-icon svg{
  width:44px;
  height:44px;
}
.frc-preparation .frc-tip-content{
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
  width:100%;
}
.frc-preparation .frc-tip h2{
  flex:0 0 auto;
  margin:0;
  padding:0 16px 0 0;
  border-bottom:0;
  border-right:1px solid rgba(104,116,81,.42);
  font-size:.82rem;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#596247;
  display:block;
  white-space:nowrap;
}
.frc-preparation .frc-tip-text{
  margin:0;
  font-size:.92rem;
  line-height:1.45;
  color:var(--frc-muted);
  overflow-wrap:anywhere;
}
.frc-servewith{
  padding-bottom:34px;
  margin-bottom:0;
}

@media(max-width:1100px){
  .frc-prep-layout.has-tip .frc-prep-content{padding-right:0;}
  .frc-preparation .frc-tip{
    position:static;
    width:100%;
    max-width:none;
    margin:0 0 26px;
  }
}

@media(max-width:850px){
  .frc-preparation .frc-tip{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    padding:16px;
  }
  .frc-preparation .frc-tip-content{
    display:block;
  }
  .frc-preparation .frc-tip h2{
    border-right:0;
    border-bottom:1px solid rgba(104,116,81,.36);
    padding:0 0 7px;
    margin:0 0 8px;
  }
  .frc-servewith{padding-bottom:28px;}
}

@media print{
  body.frc-printing .frc-prep-layout.has-tip .frc-prep-content{padding-right:0!important;}
  body.frc-printing .frc-preparation .frc-tip{
    position:static!important;
    width:auto!important;
    max-width:none!important;
    margin:8px 0 0!important;
    padding:8px 10px!important;
    display:flex!important;
    gap:8px!important;
  }
  body.frc-printing .frc-preparation .frc-tip-content{display:block!important;}
  body.frc-printing .frc-preparation .frc-tip h2{
    border-right:0!important;
    border-bottom:1px solid rgba(104,116,81,.36)!important;
    padding:0 0 3px!important;
    margin:0 0 4px!important;
  }
  body.frc-printing .frc-servewith{padding-bottom:10px!important;}
}


/* v0.4.7 — Astuce dans le vide à droite du titre, sans pousser la préparation */
.frc-preparation{
  position:relative;
}
.frc-preparation .frc-prep-layout.has-tip{
  display:block!important;
  grid-template-columns:none!important;
  gap:0!important;
  padding-top:0!important;
}
.frc-preparation .frc-prep-layout.has-tip .frc-prep-content{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
.frc-preparation .frc-prep-layout.has-tip .frc-step{
  grid-template-columns:30px minmax(0,1fr)!important;
  max-width:none!important;
}
.frc-preparation .frc-prep-layout.has-tip .frc-tip{
  position:absolute;
  top:36px;
  right:36px;
  width:min(540px, 55%);
  margin:0!important;
  padding:12px 18px!important;
  display:grid!important;
  grid-template-columns:auto auto minmax(0,1fr);
  align-items:center;
  gap:14px;
  border-radius:9px;
  z-index:1;
}
.frc-preparation .frc-prep-layout.has-tip .frc-tip-icon{
  margin:0!important;
  display:flex;
  align-items:center;
}
.frc-preparation .frc-prep-layout.has-tip .frc-tip-icon svg{
  width:38px!important;
  height:38px!important;
}
.frc-preparation .frc-prep-layout.has-tip .frc-tip h2{
  margin:0!important;
  padding:0 14px 0 0!important;
  border-bottom:0!important;
  border-right:1px solid rgba(104,116,81,.38);
  font-size:.82rem!important;
  white-space:nowrap!important;
}
.frc-preparation .frc-prep-layout.has-tip .frc-tip-text{
  font-size:.88rem!important;
  line-height:1.38!important;
  overflow-wrap:normal;
  word-break:normal;
}
.frc-preparation .frc-prep-layout.has-tip .frc-group:first-child{
  padding-top:52px;
}
.frc-servewith{
  padding-bottom:28px!important;
}

@media(max-width:1150px){
  .frc-preparation .frc-prep-layout.has-tip .frc-tip{
    width:min(460px, 52%);
  }
}

@media(max-width:1050px){
  .frc-preparation .frc-prep-layout.has-tip .frc-group:first-child{
    padding-top:22px;
  }
  .frc-preparation .frc-prep-layout.has-tip .frc-tip{
    position:static;
    width:100%;
    margin:0 0 22px 0!important;
  }
}

@media(max-width:620px){
  .frc-preparation .frc-prep-layout.has-tip .frc-tip{
    grid-template-columns:auto 1fr;
    gap:10px 12px;
  }
  .frc-preparation .frc-prep-layout.has-tip .frc-tip h2{
    border-right:0;
    padding-right:0!important;
  }
  .frc-preparation .frc-prep-layout.has-tip .frc-tip-text{
    grid-column:1 / -1;
  }
}

@media print{
  body.frc-printing .frc-preparation .frc-prep-layout.has-tip .frc-group:first-child{
    padding-top:0!important;
  }
  body.frc-printing .frc-preparation .frc-prep-layout.has-tip .frc-tip{
    position:static!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:auto auto minmax(0,1fr)!important;
    margin:0 0 8px 0!important;
  }
}

/* v0.4.8 — Astuce simple en bas de la section préparation */
.frc-preparation{
  position:static!important;
}
.frc-preparation .frc-prep-layout.has-tip{
  display:block!important;
  grid-template-columns:none!important;
  gap:0!important;
  padding-top:0!important;
}
.frc-preparation .frc-prep-layout.has-tip .frc-prep-content{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding-right:0!important;
}
.frc-preparation .frc-prep-layout.has-tip .frc-group:first-child{
  padding-top:0!important;
}
.frc-preparation .frc-prep-layout.has-tip .frc-step{
  grid-template-columns:34px minmax(0,1fr)!important;
  max-width:none!important;
  width:100%!important;
}
.frc-preparation .frc-prep-layout.has-tip .frc-step > *{
  min-width:0!important;
}
.frc-preparation .frc-prep-layout.has-tip .frc-tip{
  position:static!important;
  width:100%!important;
  max-width:none!important;
  margin:34px 0 0 0!important;
  padding:18px 24px!important;
  display:grid!important;
  grid-template-columns:auto auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:16px 22px!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
}
.frc-preparation .frc-prep-layout.has-tip .frc-tip-icon{
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.frc-preparation .frc-prep-layout.has-tip .frc-tip-icon svg{
  width:42px!important;
  height:42px!important;
}
.frc-preparation .frc-prep-layout.has-tip .frc-tip h2{
  margin:0!important;
  padding:0 22px 0 0!important;
  border-bottom:0!important;
  border-right:1px solid rgba(104,116,81,.38)!important;
  font-size:.9rem!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  color:#596247!important;
}
.frc-preparation .frc-prep-layout.has-tip .frc-tip-text{
  margin:0!important;
  font-size:1rem!important;
  line-height:1.45!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  color:var(--frc-muted)!important;
}
.frc-servewith{
  padding-bottom:34px!important;
}

@media(max-width:700px){
  .frc-preparation .frc-prep-layout.has-tip .frc-tip{
    grid-template-columns:auto 1fr!important;
    gap:10px 14px!important;
  }
  .frc-preparation .frc-prep-layout.has-tip .frc-tip h2{
    border-right:0!important;
    padding-right:0!important;
  }
  .frc-preparation .frc-prep-layout.has-tip .frc-tip-text{
    grid-column:1 / -1!important;
  }
}

@media print{
  body.frc-printing .frc-preparation .frc-prep-layout.has-tip .frc-tip{
    position:static!important;
    width:100%!important;
    max-width:none!important;
    margin:10px 0 0 0!important;
    padding:8px 10px!important;
    display:grid!important;
    grid-template-columns:auto auto minmax(0,1fr)!important;
    gap:6px 10px!important;
  }
  body.frc-printing .frc-preparation .frc-prep-layout.has-tip .frc-tip-icon svg{
    width:22px!important;
    height:22px!important;
  }
  body.frc-printing .frc-preparation .frc-prep-layout.has-tip .frc-tip h2{
    font-size:8pt!important;
    padding-right:8px!important;
  }
  body.frc-printing .frc-preparation .frc-prep-layout.has-tip .frc-tip-text{
    font-size:8.5pt!important;
    line-height:1.25!important;
  }
}
