/**
 * Le Labo — même esprit que le site (catégories, accueil) : sable, olive, vert d'achat.
 */

.ep-labo-page {
  --c-dark: #3f4630;
  --c-accent: #6a7350;
  --c-accent-bg: #f2f3ec;
  --c-sand: #faf7f2;
  --c-line: #e4e4e0;
  --c-text: #1c1f16;
  --c-muted: #6b6b6b;
  --c-buy: #2aaf52;
  --c-alert: #c8321f;
}
.ep-labo-page #main { padding-top: 16px !important; padding-bottom: 48px !important; }
.ep-labo-page .fusion-page-title-bar { display: none !important; }
.ep-labo-page #content.ep-labo-wrap { float: none !important; width: 100% !important; }

.ep-labo { max-width: 1240px; margin: 0 auto; color: var(--c-text); font-size: 16px; line-height: 1.55; }
.ep-labo h2 { margin: 0 0 16px !important; color: var(--c-text) !important; font-size: clamp(22px, 2.3vw, 28px) !important; line-height: 1.2 !important; font-weight: 700 !important; }
.ep-labo p { margin: 0 0 12px; }

/* Boutons */
.ep-labo-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--c-buy); color: #fff !important; font-weight: 700; text-decoration: none !important; transition: background .15s; }
.ep-labo-btn:hover { background: #229345; }
.ep-labo-btn--ghost { background: #fff; border: 1px solid var(--c-line); color: var(--c-text) !important; }
.ep-labo-btn--ghost:hover { background: var(--c-accent-bg); }

/* En-tête */
.ep-labo-hero { padding: 44px 48px; border-radius: 24px; background: var(--c-dark); color: #fff; }
.ep-labo-hero__eyebrow { margin: 0 0 10px !important; color: #cfe7a8; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ep-labo-hero__t { margin: 0 0 14px !important; color: #fff !important; font-size: clamp(30px, 3.6vw, 46px) !important; line-height: 1.08 !important; font-weight: 700 !important; letter-spacing: -.02em; }
.ep-labo-hero__lead { max-width: 720px; color: rgba(255, 255, 255, .88); font-size: 18px; }
.ep-labo-hero__note { margin: 14px 0 0 !important; color: rgba(255, 255, 255, .75); font-size: 14px; }
.ep-labo-hero__legend { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 20px 0 0 !important; padding: 0 !important; list-style: none; color: rgba(255, 255, 255, .8); font-size: 14px; }
.ep-labo-hero__legend li { display: flex; align-items: center; gap: 8px; margin: 0 !important; }
.ep-labo-hero__legend a { color: #cfe7a8 !important; font-weight: 700; }
.ep-labo-hero--tool { padding: 36px 44px; }

/* Étiquettes d'accès */
.ep-labo-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--c-accent-bg); color: var(--c-dark); font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.ep-labo-tag svg { width: 13px; height: 13px; }
.ep-labo-tag--compte { background: #fff3dc; color: #7a4a0c; }
.ep-labo-hero .ep-labo-tag { background: rgba(255, 255, 255, .14); color: #fff; }

/* Grilles */
.ep-labo-sec { margin-top: 28px; }
.ep-labo-sec + .ep-labo-sec { margin-top: 48px; }
.ep-labo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ep-labo-grid--big { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.ep-labo-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border: 1px solid var(--c-line); border-radius: 18px; background: #fff;
  color: var(--c-text) !important; text-decoration: none !important; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.ep-labo-card:hover { transform: translateY(-3px); border-color: var(--c-accent); box-shadow: 0 14px 30px rgba(28, 31, 22, .1); }
.ep-labo-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.ep-labo-card__n { color: var(--c-accent); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ep-labo-card__t { font-size: 17px; line-height: 1.25; }
.ep-labo-card__p { color: #4a4d44; font-size: 14px; line-height: 1.45; }
.ep-labo-card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; color: var(--c-dark); font-size: 14px; font-weight: 700; }
.ep-labo-card__cta svg { width: 16px; height: 16px; }
.ep-labo-card__badge { align-self: flex-start; color: var(--c-buy); font-size: 13px; font-weight: 700; }

.ep-labo-card--big { padding: 26px 26px 22px; border: 0; background: var(--c-sand); }
.ep-labo-card--big .ep-labo-card__t { font-size: 24px; }
.ep-labo-card--big .ep-labo-card__p { font-size: 15px; }
.ep-labo-card--big .ep-labo-card__cta { align-self: flex-start; margin-top: auto; padding: 10px 16px; border-radius: 10px; background: var(--c-buy); color: #fff; }
.ep-labo-card--big:hover { box-shadow: 0 16px 34px rgba(28, 31, 22, .12); }

/* Outil réservé aux comptes, visiteur non connecté : grisé mais visible */
.ep-labo-card.is-locked { background: #f6f6f4; }
.ep-labo-card.is-locked .ep-labo-card__t,
.ep-labo-card.is-locked .ep-labo-card__p,
.ep-labo-card.is-locked .ep-labo-card__n { opacity: .55; }
.ep-labo-card.is-locked .ep-labo-card__cta { color: #7a4a0c; }
.ep-labo-card--big.is-locked .ep-labo-card__cta { background: #fff; border: 1px solid #ecd9b6; color: #7a4a0c; }
.ep-labo-card.is-soon:not(.is-locked) .ep-labo-card__cta { color: var(--c-muted); }
.ep-labo-card--big.is-soon:not(.is-locked) .ep-labo-card__cta { background: #fff; color: var(--c-muted); }

/* Page d'un outil */
.ep-labo-back { margin: 0 0 12px; }
.ep-labo-back a { color: var(--c-dark); font-weight: 700; text-decoration: none; }
.ep-labo-back a:hover { text-decoration: underline; }
.ep-labo-panel { margin-top: 20px; padding: 28px 30px; border: 1px solid var(--c-line); border-radius: 20px; background: #fff; }
.ep-labo-panel > strong { display: block; margin-bottom: 8px; font-size: 19px; }
.ep-labo-panel p:last-child { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.ep-labo-panel--locked { background: #fffaf0; border-color: #ecd9b6; }
.ep-labo-app { margin-top: 20px; min-height: 320px; }
.ep-labo-app__loading { color: var(--c-muted); }

/* Aide */
.ep-labo-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding: 24px 28px; border-radius: 20px; background: var(--c-accent-bg); }
.ep-labo-help > div { display: flex; flex-direction: column; gap: 2px; }
.ep-labo-help strong { font-size: 17px; }
.ep-labo-help span { color: #4a4d44; }
.ep-labo-help p { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

@media (max-width: 1100px) {
  .ep-labo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ep-labo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ep-labo-grid.ep-labo-grid--big { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ep-labo { padding: 0 12px; font-size: 15px; }
  .ep-labo-hero, .ep-labo-hero--tool { padding: 28px 20px; border-radius: 20px; }
  .ep-labo-hero__lead { font-size: 16px; }
  .ep-labo-hero__legend li { display: block; }
  .ep-labo-hero__legend .ep-labo-tag { margin-right: 6px; }
  .ep-labo-grid { gap: 10px; }
  .ep-labo-card { padding: 14px; }
  .ep-labo-card__top { flex-direction: column; align-items: flex-start; }
  .ep-labo-card__t { font-size: 15px; }
  .ep-labo-card__p { font-size: 13px; }
  .ep-labo-card--big .ep-labo-card__t { font-size: 21px; }
  .ep-labo-panel { padding: 22px 18px; }
  .ep-labo-help { padding: 22px 18px; }
  .ep-labo-help .ep-labo-btn { flex: 1 1 auto; }
}

/* ==========================================================
   Outils : éléments communs (lib/ui.js)
   ========================================================== */

.ep-lt-hidden { display: none !important; }
.ep-lt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ep-lt-in, .ep-lt-out { display: flex; flex-direction: column; gap: 16px; }
.ep-lt-out { position: sticky; top: 90px; }
.ep-lt-block { padding: 22px 24px; border: 1px solid var(--c-line); border-radius: 18px; background: #fff; }
.ep-lt-block__t { margin: 0 0 14px !important; font-size: 18px !important; }
.ep-lt-block > p:last-child { margin-bottom: 0; }
.ep-lt-small { color: var(--c-muted); font-size: 13px; line-height: 1.45; }

.ep-lt-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.ep-lt-field__l { font-size: 14px; font-weight: 700; }
.ep-lt-field__h { color: var(--c-muted); font-size: 13px; }
.ep-lt-field__box { display: flex; align-items: center; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; overflow: hidden; }
.ep-lt-field__box:focus-within, .ep-lt-txt:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(106, 115, 80, .18); }
.ep-lt-num, .ep-lt-txt {
  width: 100%; min-width: 0; height: 48px !important; padding: 0 14px !important; border: 0 !important; background: transparent !important;
  color: var(--c-text) !important; font-size: 17px !important; font-variant-numeric: tabular-nums; box-shadow: none !important; outline: none;
}
.ep-lt-txt { border: 1px solid var(--c-line) !important; border-radius: 12px; background: #fff !important; }
.ep-lt-txt--cell { height: 38px !important; font-size: 14px !important; }
.ep-lt-field__u { padding: 0 14px; color: var(--c-muted); font-size: 14px; white-space: nowrap; }
.ep-lt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ep-lt-row > .ep-lt-field { margin-bottom: 0; }

.ep-lt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-lt-chip {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--c-line); border-radius: 12px; background: #fff; color: var(--c-text); font-size: 15px; font-weight: 700; text-align: left; cursor: pointer;
}
.ep-lt-chip small { color: var(--c-muted); font-size: 12px; font-weight: 400; }
.ep-lt-chip:hover { border-color: var(--c-accent); }
.ep-lt-chip.is-on { border-color: var(--c-dark); background: var(--c-dark); color: #fff; }
.ep-lt-chip.is-on small { color: rgba(255, 255, 255, .75); }

.ep-lt-big { padding: 22px 24px; border-radius: 18px; background: var(--c-dark); color: #fff; }
.ep-lt-big__v { font-size: clamp(38px, 5vw, 54px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.ep-lt-big__u { margin-left: 8px; color: rgba(255, 255, 255, .8); font-size: 18px; }
.ep-lt-big__c { margin: 10px 0 0 !important; color: rgba(255, 255, 255, .85); font-size: 15px; }

.ep-lt-verdict { padding: 14px 16px; border-left: 4px solid; border-radius: 10px; }
.ep-lt-verdict strong { display: block; margin-bottom: 2px; }
.ep-lt-verdict p { margin: 0 !important; font-size: 14px; }
.ep-lt-verdict.is-ok { border-color: var(--c-buy); background: #edf8f0; }
.ep-lt-verdict.is-warn { border-color: #b06a12; background: #fff6e6; }
.ep-lt-verdict.is-bad { border-color: var(--c-alert); background: #fdeeec; }

.ep-lt-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.ep-lt-table th { padding: 8px 6px; border-bottom: 2px solid var(--c-line); color: var(--c-muted); font-size: 12px; font-weight: 700; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.ep-lt-table td { padding: 8px 6px; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.ep-lt-table tfoot td { border-bottom: 0; font-size: 17px; font-weight: 700; }
.ep-lt-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--c-sand); color: var(--c-muted); font-size: 18px; cursor: pointer; }
.ep-lt-x:hover { background: #fdeeec; color: var(--c-alert); }

.ep-lt-mini { min-height: 36px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: 10px; background: #fff; color: var(--c-dark); font-size: 13px; font-weight: 700; cursor: pointer; }
.ep-lt-mini:hover { border-color: var(--c-accent); }
.ep-labo-btn[disabled] { opacity: .45; pointer-events: none; }
button.ep-labo-btn { border: 0; cursor: pointer; font-size: 16px; }
button.ep-labo-btn--ghost { border: 1px solid var(--c-line); }

.ep-lt-actions { padding: 20px 22px; border-radius: 18px; background: var(--c-accent-bg); }
.ep-lt-actions__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.ep-lt-actions__msg { margin: 10px 0 0 !important; color: var(--c-dark); font-size: 14px; font-weight: 700; }
.ep-lt-actions__msg:empty { display: none; }
.ep-lt-actions__note { margin: 10px 0 0 !important; color: var(--c-muted); font-size: 13px; }
.ep-lt-steps { margin: 0 !important; padding-left: 20px !important; }
.ep-lt-steps li { margin-bottom: 6px; }

.ep-lt-drop { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 24px; border: 2px dashed #cfd2c4; border-radius: 20px; background: var(--c-sand); text-align: center; }
.ep-lt-drop strong { font-size: 20px; }
.ep-lt-drop p { max-width: 460px; margin: 0 !important; color: #4a4d44; }

/* Mesurer en photo */
.ep-mp { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.ep-mp-stage { position: relative; }
.ep-mp-canvas { display: block; max-width: 100%; border-radius: 14px; touch-action: none; cursor: crosshair; background: #eee; }
.ep-mp-hint { margin: 10px 0 0 !important; padding: 10px 14px; border-radius: 10px; background: var(--c-dark); color: #fff; font-size: 14px; font-weight: 700; }
.ep-mp-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ep-mp-panel { display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 860px) {
  .ep-lt, .ep-mp { grid-template-columns: 1fr; }
  .ep-lt-out { position: static; }
}
@media (max-width: 760px) {
  .ep-lt-block { padding: 18px 16px; }
  .ep-lt-actions__btns .ep-labo-btn { flex: 1 1 auto; }
}

/* Un élément masqué reste masqué, quel que soit son style. */
.ep-labo [hidden] { display: none !important; }
.ep-lt-table td:not(:first-child) { white-space: nowrap; }

/* Calepineur */
.ep-cal-preview { padding: 14px; border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-sand); }
.ep-cal-preview svg { display: block; width: 100%; height: auto; max-height: 320px; }

/* Loupe du passant */
.ep-loupe-view { display: flex; align-items: center; justify-content: center; min-height: 140px; padding: 20px; border-radius: 14px; background: linear-gradient(#dfe6ea, #f4f1ea); }
.ep-loupe-view span { padding: .2em .5em; background: #fff; color: #1c1f16; font-weight: 800; letter-spacing: .02em; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }

/* Radar DPI */
.ep-dpi-thumb img { display: block; max-width: 100%; max-height: 220px; margin-top: 4px; border-radius: 10px; object-fit: contain; background: var(--c-sand); }

/* Test de vérité et QR */
.ep-tv-pick { display: flex; align-items: center; gap: 12px; }
.ep-tv-picker { width: 56px; height: 48px; padding: 0; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; cursor: pointer; }
.ep-tv-hex { max-width: 160px; text-transform: uppercase; }
.ep-tv-ex { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ep-tv-ex button { width: 36px; height: 36px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--c-line); cursor: pointer; }
.ep-tv-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ep-tv-compare > div { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--c-line); border-radius: 16px; background: #fff; }
.ep-tv-compare small { color: var(--c-muted); font-variant-numeric: tabular-nums; }
.ep-tv-sw { display: block; height: 120px; margin-bottom: 8px; border-radius: 10px; }
.ep-tv-sw--paper { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); filter: saturate(.98); }
.ep-qr-colors { display: flex; gap: 18px; }
.ep-qr-colors label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.ep-qr-preview { display: flex; justify-content: center; padding: 20px; border: 1px solid var(--c-line); border-radius: 16px; background: #fff; }
.ep-qr-preview svg { width: 220px; height: 220px; }

/* Mètre à formats */
.ep-mf-card { display: flex; align-items: flex-end; margin: 10px 0; padding: 8px 10px; border-radius: 3.2mm; background: linear-gradient(135deg, #6a7350, #3f4630); color: #fff; font-size: 12px; font-weight: 700; }
.ep-mf-range { width: 100%; accent-color: var(--c-dark); }
.ep-mf-scroll { overflow: auto; max-height: 70vh; padding: 10px; border-radius: 12px; background: var(--c-accent-bg); }
.ep-mf-sheet { position: relative; flex: none; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.ep-mf-sheet span { position: absolute; top: 8px; left: 10px; color: var(--c-muted); font-size: 12px; font-weight: 700; white-space: nowrap; }

/* Atelier du plieur */
.ep-pl-svg svg { display: block; width: 100%; height: auto; margin-bottom: 12px; }
.ep-pl-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.ep-pl-legend span::before { content: ""; display: inline-block; width: 18px; height: 0; margin-right: 6px; vertical-align: middle; border-top: 3px solid; }
.ep-pl-legend .is-bleed::before { border-color: #f5cfe0; border-top-width: 10px; }
.ep-pl-legend .is-fold::before { border-color: #2aaf52; border-top-style: dashed; }
.ep-pl-legend .is-safe::before { border-color: #0088B0; border-top-style: dotted; }

@media (max-width: 760px) {
  .ep-tv-sw { height: 90px; }
}
.ep-labo-app *, .ep-labo-app *::before, .ep-labo-app *::after { box-sizing: border-box; }

/* Test de vérité : couché / offset */
.ep-tv-screen { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.ep-tv-screen .ep-tv-sw { height: 70px; margin: 0; }
.ep-tv-card { display: flex; flex-direction: column; gap: 4px; padding: 14px !important; border-top: 4px solid var(--c-line) !important; }
.ep-tv-card.is-ok { border-top-color: var(--c-buy) !important; }
.ep-tv-card.is-warn { border-top-color: #b06a12 !important; }
.ep-tv-card.is-bad { border-top-color: var(--c-alert) !important; }
.ep-tv-card p { margin: 0 !important; font-size: 13px; color: #4a4d44; }
.ep-tv-duo { display: grid; grid-template-columns: 1fr 1fr; height: 110px; margin-bottom: 8px; overflow: hidden; border-radius: 10px; }
.ep-tv-duo span { position: relative; }
.ep-tv-duo span.is-paper { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.ep-tv-duo small { position: absolute; left: 6px; bottom: 5px; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .85); color: #1c1f16 !important; font-size: 11px; font-weight: 700; }
.ep-tv-note { font-size: 12px; }
.ep-tv-badge { align-self: flex-start; margin: 4px 0 2px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.is-ok .ep-tv-badge { background: #edf8f0; color: #15612d; }
.is-warn .ep-tv-badge { background: #fff6e6; color: #7a4a0c; }
.is-bad .ep-tv-badge { background: #fdeeec; color: #9b2616; }

/* Loupe : réglages */
.ep-lp-head { display: flex; justify-content: space-between; }
.ep-lp-val { color: var(--c-dark); font-variant-numeric: tabular-nums; }
.ep-loupe-view { min-height: 170px; }

/* QR : champs */
.ep-qr-fields { margin-top: 6px; }

/* Icônes */
.ep-labo-card__ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--c-accent-bg); color: var(--c-dark); }
.ep-labo-card--big .ep-labo-card__ico { width: 56px; height: 56px; border-radius: 16px; background: #fff; }
.ep-labo-card:hover .ep-labo-card__ico { background: var(--c-dark); color: #fff; }
.ep-labo-card.is-locked .ep-labo-card__ico { opacity: .5; }
.ep-labo-hero__t { display: flex; align-items: center; gap: 14px; }
.ep-labo-hero__ico { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .12); color: #cfe7a8; }
@media (max-width: 760px) {
  .ep-labo-hero__ico { width: 44px; height: 44px; border-radius: 12px; }
  .ep-labo-hero__ico svg { width: 26px; height: 26px; }
}

/* Docteur Fichier / Bord Perdu */
.ep-doc { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.ep-doc-aside { display: flex; flex-direction: column; gap: 16px; }
.ep-doc-drop { cursor: pointer; transition: background .15s, border-color .15s; }
.ep-doc-drop:hover, .ep-doc-drop.is-over { border-color: var(--c-buy); background: #edf8f0; }
.ep-doc-drop__ico { color: var(--c-accent); }
.ep-doc-stage:empty { display: none; }
.ep-doc-stage { display: flex; flex-direction: column; gap: 16px; }
.ep-doc-loading { padding: 40px 28px; border-radius: 20px; background: var(--c-dark); color: #fff; text-align: center; }
.ep-doc-loading strong { font-size: 20px; }
.ep-doc-step { margin: 8px 0 18px !important; color: rgba(255, 255, 255, .8); font-size: 14px; }
.ep-doc-bar { display: block; height: 8px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .15); }
.ep-doc-bar__fill { display: block; width: 4%; height: 100%; border-radius: 99px; background: #cfe7a8; transition: width .6s; }
.ep-doc-error { padding: 28px; border: 1px solid #f1c9c2; border-radius: 20px; background: #fdf3f1; text-align: center; }
.ep-doc-error__ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 50%; background: var(--c-alert); color: #fff; font-size: 24px; font-weight: 800; }
.ep-doc-error strong { display: block; font-size: 18px; }
.ep-doc-error .ep-lt-actions__btns { justify-content: center; margin-top: 14px !important; }
.ep-doc-head { padding: 20px 22px; border-radius: 18px; background: var(--c-sand); }
.ep-doc-head > strong { font-size: 22px; }
.ep-doc-head p { margin: 6px 0 0 !important; }
.ep-doc-previews { display: flex; flex-wrap: wrap; gap: 14px; }
.ep-doc-previews figure { flex: 1 1 220px; margin: 0; padding: 12px; border: 1px solid var(--c-line); border-radius: 16px; background: #eceae4; text-align: center; }
.ep-doc-previews img { display: block; max-width: 100%; max-height: 420px; margin: 0 auto; box-shadow: 0 4px 16px rgba(0, 0, 0, .18); }
.ep-doc-previews figcaption { margin-top: 8px; color: var(--c-muted); font-size: 13px; }
.ep-doc-checks { display: flex; flex-direction: column; gap: 8px; margin: 0 !important; padding: 0 !important; list-style: none; }
.ep-doc-checks li { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: start; margin: 0 !important; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: 14px; background: #fff; }
.ep-doc-checks p { margin: 2px 0 0 !important; color: #4a4d44; font-size: 14px; }
.ep-doc-checks__dot { width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; }
.ep-doc-checks__state { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.ep-doc-checks .is-ok .ep-doc-checks__dot { background: var(--c-buy); }
.ep-doc-checks .is-ok .ep-doc-checks__state { background: #edf8f0; color: #15612d; }
.ep-doc-checks .is-warn .ep-doc-checks__dot { background: #b06a12; }
.ep-doc-checks .is-warn .ep-doc-checks__state { background: #fff6e6; color: #7a4a0c; }
.ep-doc-checks .is-error .ep-doc-checks__dot { background: var(--c-alert); }
.ep-doc-checks .is-error .ep-doc-checks__state { background: #fdeeec; color: #9b2616; }
.ep-doc-fixes { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border: 2px solid var(--c-buy); border-radius: 18px; background: #fff; }
.ep-doc-fixes > strong { font-size: 18px; }
.ep-doc-fix { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 12px; cursor: pointer; }
.ep-doc-fix:has(input:checked) { border-color: var(--c-buy); background: #f3fbf5; }
.ep-doc-fix input { margin-top: 4px; accent-color: var(--c-buy); }
.ep-doc-fix span { display: flex; flex-direction: column; gap: 2px; }
.ep-doc-fix small { color: #4a4d44; font-size: 13px; }
.ep-doc-done { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 20px 22px; border-radius: 18px; background: #edf8f0; }
.ep-doc-done .ep-lt-small { width: 100%; margin: 0 !important; }
.ep-doc-list { margin: 0 !important; padding-left: 18px !important; }
@media (max-width: 860px) {
  .ep-doc { grid-template-columns: 1fr; }
}

/* Studio de marque */
.ep-sm-preview { display: flex; justify-content: center; margin: 4px 0 16px; padding: 20px; border-radius: 16px; background: var(--c-sand); }
.ep-sm-preview svg { width: 180px; height: 180px; }
.ep-tv-ex button.is-on { box-shadow: 0 0 0 2px var(--c-dark); }
.ep-sm-mocks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ep-sm-mocks figure { margin: 0; }
.ep-sm-mocks figcaption { margin-top: 6px; color: var(--c-muted); font-size: 13px; text-align: center; }
.ep-sm-mock { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 170px; border-radius: 14px; }
.ep-sm-tote { background: #efe9dc; clip-path: polygon(14% 18%, 86% 18%, 90% 100%, 10% 100%); }
.ep-sm-handle { position: absolute; top: 0; left: 36%; width: 28%; height: 24%; border: 6px solid #d9cfbb; border-bottom: 0; border-radius: 40px 40px 0 0; }
.ep-sm-kraft { background: linear-gradient(#c89f6b, #b98d57); clip-path: polygon(18% 14%, 82% 14%, 86% 100%, 14% 100%); }
.ep-sm-handle--kraft { border-color: #8a6a3f; top: 2%; }
.ep-sm-card { background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); margin: 30px 8px; height: 110px; flex-direction: row; gap: 12px; }
.ep-sm-card__name { max-width: 50%; color: #201e1d; font: 700 12px/1.3 Georgia, serif; }
.ep-sm-kake { width: 46%; margin: 0 auto; border-radius: 6px; color: #fff; font: 700 11px/1.3 sans-serif; text-align: center; padding: 8px; }
.ep-sm-logo { max-width: 100%; height: auto; }
.ep-sm-intent { font-size: 15px; }
.ep-sm-palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 12px 0 16px; }
.ep-sm-swatch { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 0 8px; overflow: hidden; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; }
.ep-sm-swatch span { width: 100%; height: 54px; margin-bottom: 4px; }
.ep-sm-swatch b, .ep-sm-swatch small { padding: 0 10px; }
.ep-sm-swatch small { color: var(--c-muted); font-size: 11px; }
.ep-sm-slogans { margin: 8px 0 12px !important; padding-left: 18px !important; font-style: italic; }
.ep-sm-print { margin: 6px 0 0 !important; padding: 0 !important; list-style: none; }
.ep-sm-print li { display: flex; justify-content: space-between; gap: 10px; margin: 0 !important; padding: 8px 0; border-bottom: 1px solid var(--c-line); }
.ep-sm-print small { color: var(--c-muted); white-space: nowrap; }
.ep-sm-loading { padding: 22px; }
.ep-sm-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 8px; }
.ep-sm-logopick { aspect-ratio: 1; padding: 8px; border: 2px solid var(--c-line); border-radius: 14px; cursor: pointer;
  background: repeating-conic-gradient(#f1f1ee 0% 25%, #fff 0% 50%) 50% / 16px 16px; }
.ep-sm-logopick img { width: 100%; height: 100%; object-fit: contain; }
.ep-sm-logopick.is-on { border-color: var(--c-buy); box-shadow: 0 0 0 3px rgba(42, 175, 82, .25); }
.ep-sm-logo--img { width: auto; height: auto; object-fit: contain; }
.ep-sm-logo--img.is-on-color { padding: 6px; border-radius: 8px; background: #fff; }

/* Détoureur / Vectoriseur */
.ep-img-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ep-img-compare figure { margin: 0; }
.ep-img-compare figcaption { margin-top: 6px; color: var(--c-muted); font-size: 13px; text-align: center; }
.ep-img-box { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 12px; border: 1px solid var(--c-line); border-radius: 16px; background: #fff; }
.ep-img-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ep-img-box--check { background: repeating-conic-gradient(#e9e9e5 0% 25%, #fff 0% 50%) 50% / 18px 18px; }
.ep-doc-bar__fill--run { width: 40% !important; animation: ep-run 1.2s ease-in-out infinite alternate; }
@keyframes ep-run { from { transform: translateX(-10%); } to { transform: translateX(160%); } }
@media (max-width: 560px) { .ep-img-compare { grid-template-columns: 1fr; } }

/* Résultat corrigé : bandeau vert, téléchargement en haut, flash */
.ep-doc-head.is-fixed { position: relative; padding-left: 64px; background: #edf8f0; border: 2px solid var(--c-buy); }
.ep-doc-head__ico { position: absolute; left: 18px; top: 20px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-buy); color: #fff; font-weight: 800; }
.ep-doc-head.is-fixed > strong { color: #15612d; }
.ep-doc-head__dl { margin-top: 12px !important; }
.ep-doc-head__go a { color: var(--c-dark); font-weight: 700; }
.ep-doc-stage { scroll-margin-top: 110px; }
.ep-doc-fixes { scroll-margin-top: 110px; }
.ep-doc-stage.is-justfixed .ep-doc-head { animation: ep-vf-flash 2.4s ease-out; }
@keyframes ep-vf-flash { 0%, 35% { box-shadow: 0 0 0 5px rgba(42, 175, 82, .5); } 100% { box-shadow: 0 0 0 0 rgba(42, 175, 82, 0); } }
@media (prefers-reduced-motion: reduce) { .ep-doc-stage.is-justfixed .ep-doc-head { animation: none; } }

/* Correction par IA : accord du client */
.ep-doc-ai { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: #eef0ff; color: #3b44a8; font-size: 11px; font-style: normal; font-weight: 800; vertical-align: 2px; }
.ep-doc-consent { display: flex; gap: 10px; align-items: flex-start; margin: -2px 0 4px 26px; padding: 12px 14px; border: 1px dashed #b9bfe6; border-radius: 12px; background: #f7f8ff; font-size: 13px; line-height: 1.45; cursor: pointer; }
.ep-doc-consent input { margin-top: 3px; accent-color: var(--c-buy); }
.ep-doc-consent small { display: block; margin-top: 2px; color: var(--c-muted); }
.ep-doc-consent.is-missing { border-color: var(--c-alert); background: #fdeeec; }

/* Après le contrôle : commander le produit du format */
.ep-doc-order { border: 2px solid var(--c-buy); }
.ep-doc-order__list { display: flex; flex-direction: column; gap: 8px; margin: 0 0 10px !important; padding: 0 !important; list-style: none; }
.ep-doc-order__list li { margin: 0 !important; }
.ep-doc-order__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 12px; color: var(--c-text) !important; text-decoration: none !important; }
.ep-doc-order__list a:hover { border-color: var(--c-buy); background: #f3fbf5; }
.ep-doc-order__list a span:first-child { display: flex; flex-direction: column; }
.ep-doc-order__list small { color: var(--c-buy); font-weight: 700; }
.ep-doc-order__go { flex: none; padding: 6px 12px; border-radius: 10px; background: var(--c-accent-bg); color: var(--c-dark); font-size: 13px; font-weight: 800; }
.ep-doc-order__list a.is-first .ep-doc-order__go { background: var(--c-buy); color: #fff; }

/* ==========================================================
   Assistant de commande (accueil)
   ========================================================== */
.ep-assist { margin-top: 28px; }
.ep-assist__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ep-assist__head h2 { margin: 0 !important; }
.ep-assist__head p { margin: 4px 0 0 !important; color: #4a4d44; }
.ep-assist__tag { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: var(--c-buy); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ep-as { padding: 22px 24px; border: 2px solid var(--c-dark); border-radius: 22px; background: #fff; scroll-margin-top: 100px; }
.ep-as-steps { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 18px !important; padding: 0 0 14px !important; border-bottom: 1px solid var(--c-line); list-style: none; }
.ep-as-steps li { display: flex; align-items: center; gap: 8px; margin: 0 !important; color: var(--c-muted); font-size: 14px; font-weight: 700; }
.ep-as-steps li span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-accent-bg); font-size: 13px; }
.ep-as-steps li.is-on { color: var(--c-dark); }
.ep-as-steps li.is-on span { background: var(--c-dark); color: #fff; }
.ep-as-steps li.is-done span { background: var(--c-buy); color: #fff; }
.ep-as-lead { margin: 0 0 14px !important; font-size: 20px; font-weight: 700; }
.ep-as-back { margin-bottom: 10px; padding: 0; border: 0; background: none; color: var(--c-dark); font-weight: 700; cursor: pointer; }
.ep-as-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ep-as-choice { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 2px solid var(--c-line); border-radius: 18px; background: var(--c-sand); cursor: pointer; transition: border-color .15s, transform .15s; }
.ep-as-choice:hover, .ep-as-choice.is-over { border-color: var(--c-buy); transform: translateY(-2px); }
.ep-as-choice__ico { color: var(--c-dark); }
.ep-as-choice strong { font-size: 20px; }
.ep-as-choice span { color: #4a4d44; }
.ep-as-choice em { align-self: flex-start; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--c-dark); font-size: 12px; font-style: normal; font-weight: 800; }
.ep-as-choice--soon { cursor: default; opacity: .75; }
.ep-as-choice--soon:hover { transform: none; border-color: var(--c-line); }
.ep-as-file, .ep-as-sum { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start; margin-bottom: 14px; }
.ep-as-file__pv { padding: 10px; border-radius: 14px; background: #eceae4; cursor: zoom-in; }
.ep-as-file__pv img { display: block; width: 100%; box-shadow: 0 3px 12px rgba(0, 0, 0, .18); }
.ep-as-file__pv figure { margin: 0; }
.ep-as-file__pv figcaption { margin-top: 6px; color: var(--c-muted); font-size: 12px; text-align: center; }
.ep-as-file__pv.is-rv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ep-as-file:has(.is-rv), .ep-as-sum:has(.is-rv) { grid-template-columns: 320px 1fr; }
@media (max-width: 700px) {
  .ep-as-file:has(.is-rv), .ep-as-sum:has(.is-rv) { grid-template-columns: 1fr; }
  .ep-as-file__pv.is-rv { max-width: none; }
}
.ep-as-file__t { font-size: 20px; }
.ep-as-checks li { padding: 8px 12px; }
.ep-as-checks p { display: none; }
.ep-as-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.ep-as-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px; border: 2px solid var(--c-line); border-radius: 16px; background: #fff; text-align: left; cursor: pointer; }
.ep-as-card:hover { border-color: var(--c-buy); }
.ep-as-card em { color: var(--c-buy); font-size: 12px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.ep-as-card strong { font-size: 17px; }
.ep-as-card span { color: var(--c-buy); font-weight: 700; }
.ep-as-usages { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 16px; }
.ep-as-usage { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; border: 2px solid var(--c-line); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; }
.ep-as-usage:hover { border-color: var(--c-accent); }
.ep-as-usage.is-on { border-color: var(--c-dark); background: var(--c-dark); color: #fff; }
.ep-as-usage span { color: var(--c-muted); font-size: 13px; }
.ep-as-usage.is-on span { color: rgba(255, 255, 255, .8); }
.ep-as-reco { padding: 18px 20px; border-radius: 16px; background: var(--c-accent-bg); }
.ep-as-reco__t { margin: 0 0 4px !important; color: var(--c-buy); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.ep-as-select { height: 48px; }
.ep-as-qtys { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.ep-as-qty { display: flex; flex-direction: column; gap: 1px; padding: 12px; border: 2px solid var(--c-line); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; font-variant-numeric: tabular-nums; }
.ep-as-qty strong { font-size: 18px; }
.ep-as-qty span { color: var(--c-buy); font-weight: 800; }
.ep-as-qty small { color: var(--c-muted); font-size: 11px; }
.ep-as-qty.is-on, .ep-as-delai.is-on { border-color: var(--c-buy); background: #f3fbf5; box-shadow: 0 0 0 2px rgba(42, 175, 82, .25); }
.ep-as-delais { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ep-as-delai { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border: 2px solid var(--c-line); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; }
.ep-as-delai span { color: var(--c-muted); font-size: 12px; }
.ep-as-delai em { font-style: normal; font-weight: 800; color: var(--c-dark); }
.ep-as-sum ul { margin: 0 !important; padding: 0 !important; list-style: none; }
.ep-as-sum li { display: flex; justify-content: space-between; gap: 10px; margin: 0 !important; padding: 8px 0; border-bottom: 1px solid var(--c-line); }
.ep-as-sum li span { color: var(--c-muted); }
.ep-as-sum li.is-total { border-bottom: 0; font-size: 20px; }
.ep-as-sum li.is-total b { color: var(--c-buy); }
.ep-as-bat { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; padding: 14px 16px; border: 2px solid var(--c-line); border-radius: 14px; cursor: pointer; }
.ep-as-bat input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--c-buy); }
.ep-as-bat.is-missing { border-color: var(--c-alert); background: #fdeeec; }
.ep-as-add { min-height: 56px; font-size: 18px !important; }
/* Visiteur non connecté : l'assistant présenté, avec l'invitation à se connecter */
.ep-assist-teaser { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px 30px; border-radius: 22px; background: var(--c-dark); color: #fff; }
.ep-assist-teaser h2 { color: #fff !important; }
.ep-assist-teaser p { color: rgba(255, 255, 255, .88); }
.ep-assist-teaser ol { display: flex; flex-direction: column; gap: 8px; margin: 0 !important; padding: 0 !important; list-style: none; counter-reset: s; }
.ep-assist-teaser li { display: flex; gap: 10px; align-items: center; margin: 0 !important; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); counter-increment: s; }
.ep-assist-teaser li::before { content: counter(s); display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--c-buy); font-weight: 800; }
@media (max-width: 760px) {
  .ep-as { padding: 16px 14px; }
  .ep-as-choices, .ep-as-file, .ep-as-sum, .ep-assist-teaser, .ep-as-delais { grid-template-columns: 1fr; }
  .ep-as-file__pv { max-width: 200px; }
  .ep-as-steps { gap: 6px 10px; }
  .ep-as-steps li { font-size: 0; }
  .ep-as-steps li.is-on { font-size: 13px; }
}

.ep-assist-lock { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px !important; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff !important; font-size: 15px; }
.ep-assist-lock svg { flex: none; margin-top: 2px; color: #cfe7a8; }
.ep-assist-lock strong { color: #cfe7a8; }

/* « Je n'ai pas de fichier » : création d'un visuel */
.ep-cr-formats { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.ep-cr-formats .ep-as-card { align-items: center; text-align: center; }
.ep-cr-formats .ep-as-card span:last-child { color: var(--c-muted); font-weight: 400; font-size: 13px; }
.ep-as-card.is-on { border-color: var(--c-dark); }
.ep-cr-shape { display: block; width: auto; height: 56px; max-width: 90px; margin-bottom: 6px; border: 2px solid var(--c-dark); border-radius: 3px; background: linear-gradient(135deg, #f3efe6, #e3ebd9); }
.ep-cr-swatch { display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; margin-right: 6px; border: 1px solid rgba(0, 0, 0, .2); border-radius: 50%; vertical-align: -3px; }
.ep-cr-texts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 16px; }
.ep-cr-texts textarea.ep-lt-txt { height: auto; min-height: 64px; resize: vertical; font: inherit; line-height: 1.4; }
.ep-lt-chip:has(.ep-cr-swatch) { display: inline-flex; flex-direction: row; align-items: center; }
/* Aperçu d'une proposition : proportions du format fini (le bord rogné à la coupe est masqué). */
.ep-cr-visu { display: block; overflow: hidden; width: 100%; border-radius: 4px; background: #eee; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.ep-cr-visu img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Aperçu fidèle d'une face (format fini) : mentions et QR code aux cotes du PDF. */
.ep-cr-face { position: relative; container-type: inline-size; }
.ep-cr-legal { position: absolute; z-index: 1; writing-mode: vertical-rl; transform: rotate(180deg); color: #fff; line-height: 1; white-space: nowrap; text-shadow: 0 0 2px rgba(0, 0, 0, .6); }
.ep-cr-qr { position: absolute; z-index: 1; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; border-radius: 6%; background: #fff; color: #141414; }
.ep-cr-qr > span, .ep-cr-qr svg { display: block; width: 100%; aspect-ratio: 1; }
.ep-cr-qr b { margin-top: 4%; font-size: 1em; line-height: 1; white-space: nowrap; }
.ep-cr-toggles { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 4px 0 14px; }
.ep-cr-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.ep-cr-toggle small { color: var(--c-muted); }
.ep-cr-logo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.ep-cr-logo > img { width: 120px; height: 80px; object-fit: contain; padding: 6px; border: 1px solid var(--c-line); border-radius: 10px; background: repeating-conic-gradient(#f2f2f2 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.ep-cr-logo > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ep-cr-logo__cols { display: inline-flex; align-items: center; gap: 4px; color: var(--c-muted); font-size: 14px; }
.ep-cr-colors { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 10px; }
.ep-cr-colors label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.ep-cr-colors input[type=color] { width: 44px; height: 36px; padding: 0; border: 1px solid var(--c-line); border-radius: 8px; background: none; cursor: pointer; }
.ep-cr-fix ul { margin: 6px 0 0; padding-left: 18px; }
.ep-lt-chip small { font-weight: 400; }
.ep-cr-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ep-cr-pick { padding: 6px; border: 3px solid transparent; border-radius: 14px; background: none; cursor: pointer; }
.ep-cr-pick:hover { border-color: var(--c-line); }
.ep-cr-steps { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 4px; padding: 0; list-style: none; font-size: 14px; color: var(--c-muted); }
.ep-cr-steps li { display: flex; align-items: center; gap: 6px; }
.ep-cr-steps span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c-sand); font-size: 12px; font-weight: 700; }
.ep-cr-steps .is-on { color: var(--c-text); font-weight: 700; }
.ep-cr-steps .is-on span { background: var(--c-dark); color: #fff; }
.ep-cr-steps .is-done span { background: var(--c-buy); color: #fff; }
.ep-cr-rvnote { margin: -4px 0 12px; }
.ep-cr-pick--recto { margin: 0; cursor: default; opacity: .85; }
.ep-cr-pick figcaption, .ep-cr-pick > small { display: block; margin-top: 6px; color: var(--c-muted); font-size: 13px; text-align: center; }
.ep-cr-pick.is-on { border-color: var(--c-buy); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
@media (max-width: 700px) {
  /* Mobile : les propositions défilent en grand, pour pouvoir relire les textes. */
  .ep-cr-picks { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .ep-cr-pick { flex: 0 0 80%; padding: 3px; border-width: 2px; scroll-snap-align: center; }
}
