/* Tappo — styles réservés à : publier.html, publier-lot.html, importer.html */
/* ============================================================
   PAGE PUBLIER UNE ANNONCE
   ============================================================ */
.publish { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; padding: 26px 0 80px; }
.pub-head h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.pub-head p { color: var(--slate); margin-top: 6px; }
/* Zone photos */
.photo-zone { border: 2px dashed var(--line); border-radius: var(--r); padding: 30px; text-align: center; cursor: pointer; transition: .2s; background: var(--cloud); }
.photo-zone:hover, .photo-zone.drag { border-color: var(--green); background: rgba(22,145,92,.04); }
.photo-zone .pz-ico { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--green); box-shadow: var(--sh-sm); }
.photo-zone .pz-ico svg { width: 26px; height: 26px; }
.photo-zone b { color: var(--green); }
.photo-zone p { color: var(--slate); font-size: .88rem; margin-top: 4px; }
.photo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
/* Aperçu live */
.pub-side { position: sticky; top: calc(var(--header-h) + 14px); }
.pub-preview { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh); }
.pub-preview > .pp-h { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: 12px; text-align: center; }
.pp-tip { margin-top: 14px; font-size: .82rem; color: var(--slate); text-align: center; line-height: 1.5; }
/* Succès */
.pub-success { text-align: center; padding: 60px 20px; max-width: 520px; margin: 0 auto; }
.pub-success h2 { font-size: 1.8rem; margin-bottom: 10px; }
.pub-success p { color: var(--slate); margin-bottom: 24px; }
@media (max-width: 900px) {
  .publish { grid-template-columns: 1fr; }
  .pub-side { position: static; order: -1; }
  .photo-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .pub-head h1 { font-size: 1.5rem; }
}
/* ---- Aide au prix (publier) ---- */
.price-hint { margin-top: 8px; font-size: .85rem; color: var(--green-deep); background: var(--green-pale, #EAF6F0); border-radius: 10px; padding: 8px 12px; }
.price-hint b { color: var(--green-deep); }
/* ============================================================
   PUBLIER EN 3 ÉTAPES (13/09/2026)
   ============================================================ */
.pub-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.pub-steps .ps-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--cloud, #F4F6F9); color: var(--slate); font-weight: 800; font-size: .8rem; }
.pub-steps .ps-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.publish[data-step="1"] [data-step]:not([data-step="1"]),
.publish[data-step="2"] [data-step]:not([data-step="2"]),
.publish[data-step="3"] [data-step]:not([data-step="3"]) { display: none !important; }
.step-nav, .step-submit { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.step-nav .step-msg { margin: 0; }
.step-back { color: var(--slate); }
@media (max-width: 900px) {
  .publish[data-step="1"] .pub-side, .publish[data-step="2"] .pub-side { display: none; }
  .publish[data-step="3"] .pub-side { order: 1; }
}
@media (max-width: 480px) {
  .pub-steps { gap: 6px; }
  .pub-steps .ps-l { white-space: normal; }
}
.lot-count { margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--slate); font-family: var(--font-body, inherit); }
.lot-prep { font-size: .88rem; color: var(--slate); margin-top: 8px; min-height: 1.2em; }
.lot-empty { color: var(--slate); font-size: .9rem; margin: 0; }
.lot-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 14px; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r, 12px); background: #fff; }
.lot-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; align-content: start; }
.lot-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lot-photos .lp-rm { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(20,24,31,.72); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; }
.lot-photos .lp-add { aspect-ratio: 1; border: 1.5px dashed var(--line); border-radius: 10px; background: #fff; color: var(--green); font-size: 1.4rem; cursor: pointer; }
.lot-photos .lp-add:only-child { grid-column: 1 / -1; }
.lot-fields { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lot-num { font-size: .75rem; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .04em; }
.lot-line { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lot-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.lot-status { font-size: .85rem; color: var(--slate); line-height: 1.4; }
.lot-status a { color: var(--green); font-weight: 700; }
.lot-bar { position: sticky; bottom: 0; z-index: 20; margin-top: 20px; padding: 12px 0 10px; background: var(--bg, #fff); border-top: 1px solid var(--line); }
.lot-summary { font-size: .9rem; margin-bottom: 8px; }
.lot-summary a { color: var(--green); font-weight: 700; }
@media (max-width: 640px) {
  .lot-row { grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; }
  .lot-line { grid-template-columns: 1fr; }
  .lot-bar { bottom: 62px; }
}
/* Amélioration automatique des photos (publication simple et multiple) */
.enh-opt { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--green-pale, #EAF6F0); cursor: pointer; font-size: .9rem; }
.enh-opt input { margin-top: 3px; flex: none; }
.enh-opt small { display: block; color: var(--slate); font-size: .8rem; margin-top: 2px; }
.photo-quality .photo-busy { margin: 10px 0 0; color: var(--slate); font-size: .88rem; display: flex; align-items: center; gap: 8px; }
.photo-warn, .lot-warn { margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: #FFF4D6; color: #7A5600; font-size: .85rem; line-height: 1.5; }
.lot-warn { margin-top: 0; }
/* Publication par la voix */
.ai-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.voice-pub { font-size: .86rem; border-color: var(--green); color: var(--green-deep, #0E6B43); font-weight: 700; }
.voice-live { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: var(--cloud, #F4F6F9); color: var(--ink); font-size: .9rem; font-style: italic; }
.pub-steps .ps-n { transition: background .3s, color .3s; }
.comp-full #comp-bar { box-shadow: 0 0 12px rgba(22,145,92,.5); }
.pub-busy-note { text-align: center; color: var(--slate); font-size: .86rem; margin: 2px 0 0; }
.tk-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 1001; overflow: hidden; }
.tk-confetti i { position: absolute; top: -16px; width: 8px; height: 14px; border-radius: 2px; animation: tk-confetti var(--d, 2.4s) cubic-bezier(.2,.6,.4,1) forwards; }
@media (prefers-reduced-motion: no-preference) {
  .publish .tk-enter { animation: tk-stepin .4s cubic-bezier(.2,.7,.3,1) both; }
  .tk-shake { animation: tk-shake .45s ease both; }
  #comp-emoji.tk-bump { animation: tk-heart .5s cubic-bezier(.2,1.6,.4,1); }
  .pub-success > * { animation: tk-fadeup .5s cubic-bezier(.2,.7,.3,1) both; }
  .pub-success > :nth-child(2) { animation-delay: .15s; }
  .pub-success > :nth-child(3) { animation-delay: .25s; }
  .pub-success > :nth-child(4) { animation-delay: .35s; }
  .pub-success > :nth-child(5) { animation-delay: .45s; }
}
/* ---- Import de catalogue ---- */
.imp-step h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.imp-num { width: 30px; height: 30px; border-radius: 50%; background: var(--green, #16915C); color: #fff; display: grid; place-items: center; font-size: .95rem; flex: none; }
.imp-opt { font-size: .78rem; font-weight: 600; color: var(--slate); background: var(--cloud, #F4F6F9); padding: 3px 9px; border-radius: 999px; }
.imp-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 2px dashed rgba(22,145,92,.4); border-radius: 18px; padding: 26px 16px; cursor: pointer; background: #F7FBF9; text-align: center; transition: background .2s, border-color .2s; }
.imp-drop-ic { font-size: 2.2rem; }
.imp-drop small { color: var(--slate); }
.imp-help { margin-top: 14px; }
.imp-help p { margin: 0 0 8px; }
.imp-cols { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.imp-cols span { background: var(--cloud, #F4F6F9); border-radius: 8px; padding: 5px 9px; font-size: .84rem; }
.imp-cols small { color: var(--slate); }
.imp-photos-btn { display: inline-flex; cursor: pointer; }
.imp-photos-count { margin-left: 10px; color: var(--slate); font-size: .88rem; }
.imp-enh { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: .9rem; }
.imp-common { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 12px; align-items: end; }
.imp-deliv { display: flex; gap: 8px; align-items: center; margin-bottom: 18px; }
.imp-summary { margin: 4px 0 10px; font-size: .92rem; }
.imp-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.imp-row { display: grid; grid-template-columns: auto 64px 1fr; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; background: #fff; }
.imp-row.is-bad { border-color: #FCA5A5; background: #FFFBFB; }
.imp-row.is-done { border-color: #86EFAC; background: #F6FDF8; }
.imp-inc { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .76rem; color: var(--slate); padding-top: 8px; cursor: pointer; }
.imp-ph { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--cloud, #F4F6F9); display: grid; place-items: center; position: relative; font-size: 1.4rem; }
.imp-ph img { width: 100%; height: 100%; object-fit: cover; }
.imp-ph small { position: absolute; right: 3px; bottom: 3px; background: rgba(0,0,0,.65); color: #fff; font-size: .7rem; border-radius: 6px; padding: 0 5px; }
.imp-fields { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.imp-line { display: grid; grid-template-columns: minmax(110px, 160px) 1fr; gap: 6px; }
.imp-meta { font-size: .8rem; color: var(--slate); }
.imp-err { font-size: .82rem; color: #B91C1C; font-weight: 600; }
.imp-warn { font-size: .8rem; color: #92400E; }
.imp-st { font-size: .85rem; font-weight: 700; }
.imp-st a { color: inherit; }
.imp-progress { height: 8px; border-radius: 8px; background: var(--cloud, #F4F6F9); overflow: hidden; margin-bottom: 12px; }
.imp-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #16915C, #FFC23C); transition: width .4s ease; }
@media (max-width: 560px) {
  .imp-row { grid-template-columns: auto 52px 1fr; gap: 8px; }
  .imp-ph { width: 52px; height: 52px; }
  .imp-line { grid-template-columns: 1fr; }
}
/* Guide photo */
.pg-tips { margin-top: 10px; font-size: .86rem; color: var(--ink-soft, #334155); background: var(--green-pale, #EAF6F0); border-radius: 12px; padding: 9px 12px; }
.pg-open { margin-top: 10px; }
.pg-ov { position: fixed; inset: 0; z-index: 9999; background: #000; display: flex; flex-direction: column; color: #fff; }
.pg-top, .pg-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; }
.pg-bottom { padding: 14px 24px calc(18px + env(safe-area-inset-bottom)); }
.pg-x, .pg-flip { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 1.15rem; cursor: pointer; }
.pg-done { border: 0; background: #16915C; color: #fff; font-weight: 800; border-radius: 999px; padding: 10px 16px; cursor: pointer; font-family: inherit; }
.pg-count { font-weight: 700; font-size: .92rem; }
.pg-stage { position: relative; flex: 1; overflow: hidden; }
.pg-video { width: 100%; height: 100%; object-fit: cover; background: #111; }
.pg-frame { position: absolute; inset: 12% 8%; border: 2px solid rgba(255,255,255,.55); border-radius: 18px; pointer-events: none; }
.pg-frame i { position: absolute; background: rgba(255,255,255,.28); }
.pg-frame i:nth-child(1) { left: 33.3%; top: 0; bottom: 0; width: 1px; }
.pg-frame i:nth-child(2) { left: 66.6%; top: 0; bottom: 0; width: 1px; }
.pg-frame i:nth-child(3) { top: 33.3%; left: 0; right: 0; height: 1px; }
.pg-frame i:nth-child(4) { top: 66.6%; left: 0; right: 0; height: 1px; }
.pg-tip { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.6); border-radius: 999px; padding: 8px 14px; font-size: .88rem; font-weight: 600; white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
.pg-meters { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pg-m { background: rgba(0,0,0,.6); border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 700; }
.pg-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.pg-err { position: absolute; left: 20px; right: 20px; top: 40%; text-align: center; background: rgba(0,0,0,.75); padding: 14px; border-radius: 14px; }
.pg-shot { width: 76px; height: 76px; border-radius: 50%; border: 4px solid #fff; background: transparent; padding: 5px; cursor: pointer; }
.pg-shot span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; }
.pg-shot:active span { transform: scale(.9); }
.pg-thumb { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.12) center / cover no-repeat; border: 2px solid rgba(255,255,255,.4); }
/* ---- Reconnaissance de la photo (lot z) ---- */
.photo-detect { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; padding: 11px 14px; border-radius: 14px; background: #EAF6F0; border: 1px solid #CDEBDC; font-size: .92rem; line-height: 1.4; }
.photo-detect[hidden] { display: none; }
.photo-detect > span:nth-child(2) { flex: 1; min-width: 0; }
.photo-detect small { color: var(--slate); }
.photo-detect .pd-ok { font-size: 1.2rem; flex: none; }
.photo-detect .pd-change, .photo-detect .pd-yes { flex: none; border: 1.5px solid var(--green); background: #fff; color: var(--green); font: inherit; font-weight: 700; font-size: .84rem; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.photo-detect .pd-yes { background: var(--green); color: #fff; }
/* Page Publier sur mobile : la colonne ne s'élargit plus quand on ajoute des photos (lot z) */
.publish > * { min-width: 0; }
@media (max-width: 900px) {
  .publish { grid-template-columns: minmax(0, 1fr); }
}
.photo-detect { flex-wrap: wrap; }
/* ---- Estimation du prix à la publication ---- */
.pg-head { line-height: 1.45; }
.pg-head small { color: var(--slate); }
.pg-track { position: relative; height: 10px; border-radius: 99px; margin: 30px 10px 8px; background: linear-gradient(90deg, #FDE68A, #E5E7EB 28%, #E5E7EB 72%, #FECACA); }
.pg-zone { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: #86EFAC; }
.pg-med { position: absolute; top: -4px; width: 2px; height: 18px; background: #15803D; transform: translateX(-1px); }
.pg-you { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--ink, #10231B); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35);
  transform: translate(-50%, -50%); transition: left .4s cubic-bezier(.2,.8,.2,1); }
.pg-you b { position: absolute; bottom: 21px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .72rem; background: var(--ink, #10231B); color: #fff; padding: 2px 7px; border-radius: 6px; }
.pg-txt { margin: 4px 0 0; font-weight: 700; font-size: .88rem; line-height: 1.4; }
.pg-ok .pg-txt { color: #15803D; }
.pg-good .pg-txt { color: #0E7490; }
.pg-mid .pg-txt { color: #B45309; }
.pg-high .pg-txt, .pg-warn .pg-txt { color: #B91C1C; }
.pg-note { display: block; color: var(--slate); margin-top: 6px; }
.quality-final{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;border:1px solid var(--line);background:#fff;margin:4px 0 8px;min-width:0}
.quality-final:empty{display:none}
.qf-ring{--c:#16915C;flex:none;width:58px;height:58px;border-radius:50%;display:grid;place-content:center;text-align:center;line-height:1;
  background:radial-gradient(closest-side,#fff 78%,transparent 80% 100%),conic-gradient(var(--c) calc(var(--p) * 1%),#E6EAEE 0)}
.qf-ring b{font-size:1.1rem}
.qf-ring small{font-size:.62rem;color:var(--slate)}
.qf-txt{min-width:0}
.qf-txt b{display:block}
.qf-txt span{display:block;font-size:.84rem;color:var(--ink-soft,#3a4a44)}
.quality-final.q-good .qf-ring{--c:#2F9E62}
.quality-final.q-mid .qf-ring{--c:#E0A100}
.quality-final.q-low{border-color:#F5B7B1;background:#FFF7F6}
.quality-final.q-low .qf-ring{--c:#D92D20}
.quality-final.q-shake{animation:qshake .5s ease}
@media (prefers-reduced-motion:reduce){
  .quality-final.q-shake{animation:none}
}
/* Lot 17c : photo et annonce qui ne correspondent pas */
.pt-warn{margin-top:8px;padding:10px 12px;border-radius:12px;background:#FFF7E6;border:1px solid #F2C94C;color:#6B4700;font-size:.86rem;line-height:1.4}
.pt-warn b{display:block;margin-bottom:2px;color:#8A5A00}
.pt-warn span{display:block}
.pt-warn[hidden]{display:none}
.pt-warn.q-shake{animation:qshake .5s ease}
.shop-pick{margin-bottom:14px;border-color:var(--green)}
/* ===== Lot 17d : publication plus simple et plus jolie ===== */
.pub-head { background: linear-gradient(135deg, #EAF6F0, #fff 70%); border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 14px; margin: 6px 0 14px; }
.pub-head h1 { margin: 0; }
.pub-head p { margin: 6px 0 0; }
.pub-shop-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .84rem; color: var(--green); text-decoration: none; }
.photo-zone .pz-title b { font-size: 1.05rem; color: var(--ink); }
.photo-zone .pz-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 12px 0 8px; }
.photo-zone .pz-btn { min-width: 0; }
.photo-zone .pz-note { font-size: .78rem; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 4px 0 12px; }
.cat-tiles .ct-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--cloud, #F4F6F9); color: var(--green); }
.cat-tiles .ct-ic svg { width: 20px; height: 20px; }
.cat-tiles .ct-n { overflow-wrap: anywhere; }
.cat-other { font-size: .8rem; color: var(--slate); margin: 0 0 4px; }
.vid-busy { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: var(--cloud, #F4F6F9); }
.vid-busy b, .vid-busy small { display: block; }
.vid-busy small { color: var(--slate); }
@media (max-width: 640px) {
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .publish .step-nav { position: sticky; bottom: 74px; z-index: 6; padding: 16px 0 6px; background: linear-gradient(180deg, rgba(250,251,252,0), #FAFBFC 38%); }
}
.vid-item { margin-top: 10px; }
.vid-item video { width: 100%; max-height: 260px; border-radius: 12px; background: #000; display: block; }
.vid-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.vid-line small { color: var(--muted); }
/* ==========================================================================
   Publication assistée : photo → analyse → titre → prix → annonce prête
   ========================================================================== */
.ia-steps { display: flex; align-items: center; gap: 4px; margin: 12px 0 4px; padding: 10px; border-radius: 16px;
  background: linear-gradient(120deg, var(--green-pale, #EAF6F0), #fff); border: 1px solid rgba(22,145,92,.25); overflow-x: auto; scrollbar-width: none; }
.ia-steps::-webkit-scrollbar { display: none; }
.ps-step { flex: 1 1 0; min-width: 74px; display: flex; flex-direction: column; align-items: center; gap: 3px; position: relative; opacity: .45; transition: opacity .35s ease, transform .35s ease; }
.ps-step + .ps-step::before { content: ""; position: absolute; left: -52%; top: 16px; width: 100%; height: 2px; background: #D7E2DC; }
.ps-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid #D7E2DC; font-size: .95rem; position: relative; z-index: 1; }
.ps-l { font-size: .72rem; font-weight: 700; color: var(--slate); white-space: nowrap; }
/* Guide « Où ranger mon annonce ? » */
.cat-guide { display: flex; gap: 10px; margin-top: 10px; padding: 12px 13px; border-radius: 14px; background: linear-gradient(135deg, #FFF7ED, #F0FDF4); border: 1.5px solid #FDBA74;
  animation: cgIn .5s cubic-bezier(.2,.9,.3,1.3) both; }
.cat-guide .cg-ico { font-size: 1.5rem; animation: cgSpin 2.4s ease-in-out infinite; transform-origin: 50% 55%; }
.cat-guide b { font-size: .92rem; }
.cat-guide p { margin: 3px 0 8px; font-size: .84rem; color: var(--slate, #475569); line-height: 1.4; }
.cat-guide .cg-act { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-guide button { border: 0; border-radius: 999px; padding: 8px 12px; font: 700 .8rem/1 var(--font-body, inherit); cursor: pointer; transition: transform .2s; }
.cat-guide .cg-yes { background: var(--green, #16915C); color: #fff; box-shadow: 0 8px 18px -10px rgba(22,145,92,.8); }
.cat-guide .cg-no { background: #fff; color: var(--ink, #10231B); border: 1px solid var(--line, #E3E8EE); }
.cat-guide button:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
  .cat-guide, .cat-guide .cg-ico { animation: none; }
}
/* Visuel Tappo + fenêtre « pas de photo » */
.pz-auto { display: block; width: 100%; margin-top: 10px; padding: 10px 12px; border: 1.5px dashed #F59E0B; border-radius: 12px; background: linear-gradient(135deg, #FFFBEB, #FFF7ED);
  color: #92400E; font: 600 .84rem/1.35 var(--font-body, inherit); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.pz-auto:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -14px rgba(217,119,6,.8); }
.pz-auto:disabled { opacity: .6; }
.np-cam { font-size: 2.6rem; display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #FFF7ED; animation: npBob 1.8s ease-in-out infinite; }
.np-btns { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.np-b { border: 1.5px solid var(--line, #E3E8EE); background: #fff; border-radius: 14px; padding: 12px 8px; font: 700 .88rem/1.2 var(--font-body, inherit); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.np-b:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(15,23,42,.5); }
.np-main { background: var(--orange, #F97316); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -12px rgba(249,115,22,.9); }
.np-auto { display: flex; gap: 12px; align-items: center; text-align: left; margin: 14px 0 6px; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, #F0FDF4, #ECFEFF); border: 1px solid #BBF7D0; }
.np-auto small { display: block; color: var(--slate, #475569); font-size: .78rem; margin: 3px 0 8px; line-height: 1.35; }
.np-prev { flex: 0 0 112px; height: 84px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #E2E8F0; box-shadow: 0 10px 20px -12px rgba(15,23,42,.5); }
.np-prev img { width: 100%; height: 100%; object-fit: cover; animation: npIn .5s ease both; }
.np-vis { background: var(--green, #16915C); color: #fff; border-color: transparent; padding: 9px 12px; }
@media (max-width: 380px) {
  .np-btns { grid-template-columns: 1fr 1fr; }
  .np-main { grid-column: 1 / -1; }
  .np-prev { flex-basis: 90px; height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .np-cam, .np-prev img { animation: none; }
}
/* Publication : note vocale (un seul bouton) et prix minimum (replié) */
.voice-rec { margin-top: 4px; }
.vr-box { display: flex; align-items: center; gap: 10px; }
.vr-btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px dashed #16915C; background: #F0FDF4; color: #0E6B43; border-radius: 999px; padding: 9px 14px; font: 700 .86rem var(--font-body, inherit); cursor: pointer; transition: all .2s; }
.vr-btn:hover { background: #DCFCE7; }
.vr-dot { width: 9px; height: 9px; border-radius: 50%; background: #16915C; display: none; }
.voice-rec.is-rec .vr-btn { border-style: solid; border-color: #DC2626; background: #FEF2F2; color: #B91C1C; }
.voice-rec.is-rec .vr-dot { display: inline-block; background: #DC2626; animation: vrBlink 1s ease-in-out infinite; }
.vr-time { font-variant-numeric: tabular-nums; font-weight: 800; color: #B91C1C; }
.vr-prev { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.vr-prev audio { height: 36px; max-width: 100%; }
.vr-del { border: 0; background: none; color: #B91C1C; font-weight: 700; cursor: pointer; }
.floor-opt { margin-top: 8px; font-size: .86rem; }
.floor-opt summary { cursor: pointer; color: #0E6B43; font-weight: 700; }
/* Score de qualité */
.qual-box { margin: 10px 0 4px; }
/* ---- Invitation à la vérification, juste après la publication ---- */
.pub-verif { display: flex; align-items: center; gap: 14px; text-align: left; margin: 18px 0 4px; padding: 16px;
  border: 1.5px solid #CDE7DA; border-radius: 18px; background: linear-gradient(140deg, #F4FBF7, #FFFFFF);
  animation: pv-in .5s cubic-bezier(.2,.8,.3,1) both .25s; }
.pub-verif .pv-ic { font-size: 1.7rem; flex: none; }
.pub-verif .pv-txt { flex: 1; min-width: 0; }
.pub-verif .pv-txt b { display: block; font-size: .98rem; }
.pub-verif .pv-txt small { display: block; color: var(--slate); font-size: .84rem; line-height: 1.5; margin-top: 3px; }
@media (max-width: 560px) {
  .pub-verif { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .pub-verif { animation: none; }
}
