/* Feedbacks des chauffeurs et des admins (owner, 2026-11-28) : icône au-dessus de la bulle de chat, fenêtre « Un bug, une idée ? »,
   éditeur de flèches plein écran. Mêmes tuiles, pastilles et champs que la fenêtre « course manuelle » (.mr-d, app.css). */

/* Icône : plus petite que la bulle, claire, centrée au-dessus d'elle (position posée par userfb.js) */
.ufb-fab { position: fixed; z-index: 1100; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--gold);   /* ampoule dorée au trait, rond blanc : version A (owner, 2026-11-28) */ display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 22px -8px rgba(15, 31, 61, .45); transition: background-color .3s, color .3s, border-color .3s; }
.ufb-fab[hidden] { display: none; }
.ufb-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .ufb-fab:hover { background: var(--text); color: var(--bg); border-color: var(--text); } }
body:has(.overlay) .ufb-fab, body:has(.ufb-ed) .ufb-fab, html.pq-menu-open .ufb-fab, body.napp-cl-on .ufb-fab { display: none; }
/* Ordinateur : l'icône reste visible sous le voile d'une fenêtre, grisée et non cliquable, comme la bulle de chat (owner, 2026-11-28) */
@media (min-width: 1000px) { html:not(.pq-menu-open) body:has(.overlay):not(:has(.ufb-ed)):not(.napp-cl-on) .ufb-fab:not([hidden]) { display: grid; z-index: 1050; pointer-events: none; } }

/* Fenêtre */
.ufb-d { --ufb-bg: var(--bg); }
.ufb-d .sub { margin: 0 0 4px; color: var(--muted); }
.ufb-d .sub a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
@media (hover: hover) { .ufb-d .sub a:hover { color: var(--text); } }
.ufb-l { margin: 22px 0 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.ufb-l em { font-style: normal; font-weight: 500; opacity: .8; }
.ufb-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ufb-tile { display: grid; gap: 4px; align-content: start; padding: 12px; border: 0; border-radius: 14px; background: var(--panel-2); color: var(--text); font: inherit; text-align: start; cursor: pointer; transition: background-color .3s, color .3s; }
.ufb-tile svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 2px; }
.ufb-tile b { font-size: 14.5px; }
.ufb-tile small { font-size: 12px; color: var(--muted); line-height: 1.3; }
.ufb-tile[aria-checked="true"] { background: var(--gold); color: #fff; }
.ufb-tile[aria-checked="true"] small { color: #fff; opacity: .9; }
@media (hover: hover) { .ufb-tile:not([aria-checked="true"]):hover { background: var(--text); color: var(--bg); } .ufb-tile:not([aria-checked="true"]):hover small { color: var(--bg); } }

.ufb-prios { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 6px; }
.ufb-chip { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; padding: 8px 13px; border-radius: 99px; background: var(--panel-2); color: var(--text); font: inherit; font-size: 13.5px; cursor: pointer; transition: background-color .3s, color .3s; }
.ufb-chip[aria-checked="true"] { background: var(--gold); color: #fff; }
@media (hover: hover) { .ufb-chip:not([aria-checked="true"]):hover { background: var(--text); color: var(--bg); } }
.ufb-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ufb-dot.urgent { background: #d32f2f; } .ufb-dot.high { background: #e8590c; } .ufb-dot.normal { background: #8a94a6; } .ufb-dot.low { background: transparent; box-shadow: inset 0 0 0 1.5px #8a94a6; }
.ufb-chip[aria-checked="true"] .ufb-dot { background: #fff; box-shadow: none; }
.ufb-chip[aria-checked="true"] .ufb-dot.low { box-shadow: inset 0 0 0 1.5px #fff; }
.ufb-pd { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); min-height: 1.3em; }

.ufb-d label.f { position: relative; display: block; margin-top: 22px; }
.ufb-d label.f > span:first-child { position: absolute; top: -8px; left: 12px; z-index: 2; padding: 0 6px; background: var(--ufb-bg); font-size: 12px; line-height: 16px; font-weight: 700; color: var(--muted); transition: color .3s; pointer-events: none; }
.ufb-d label.f > textarea { width: 100%; display: block; min-height: 104px; resize: vertical; border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 16px 13px; font: inherit; font-size: 16px; background: transparent; box-shadow: none; color: var(--text); }
.ufb-d label.f > textarea:focus { border-color: var(--gold); outline: 0; }
.ufb-d label.f:focus-within > span:first-child { color: var(--gold); }

/* Capture : zone en pointillés avec deux boutons, puis l'aperçu */
.ufb-zone { border: 1.5px dashed var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 12px; }
.ufb-zone p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.ufb-zone.busy { display: flex; align-items: center; justify-content: center; min-height: 84px; color: var(--muted); font-size: 14px; }
.ufb-zb, .ufb-pa { display: flex; flex-wrap: wrap; gap: 8px; }
.ufb-zb .btn, .ufb-pa .btn { flex: 1 1 150px; min-height: 44px; padding: 9px 14px; font-size: 14px; }
.ufb-zb .btn svg, .ufb-pa .btn svg, .ufb-ed-bar .btn svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ufb-prev { display: grid; gap: 10px; }
.ufb-thumb { display: block; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel-2); cursor: zoom-in; max-height: 260px; }
.ufb-thumb img { display: block; width: 100%; height: 100%; max-height: 260px; object-fit: contain; }
.ufb-pa .btn.danger { flex: 0 0 auto; }

.ufb-btns { display: flex; gap: 10px; margin-top: 24px; }
.ufb-btns .btn { flex: 1 1 0; justify-content: center; }
.ufb-d .msg.err:empty { display: none; }

@media (hover: hover) {
  .ufb-zb .btn:hover, .ufb-pa .btn:not(.danger):hover, .ufb-btns .btn:not(.primary):hover, .ufb-ed-bar .btn:not(.primary):hover { background: var(--text); color: var(--bg); border-color: var(--text); }
  .ufb-pa .btn.danger:hover { background: var(--red, #d32f2f); color: #fff; border-color: var(--red, #d32f2f); }
  .ufb-btns .btn.primary:hover, .ufb-ed-bar .btn.primary:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
}
.ufb-zb .btn, .ufb-pa .btn, .ufb-btns .btn, .ufb-ed-bar .btn { transition: background-color .3s, color .3s, border-color .3s; }

/* Éditeur de flèches : plein écran, fond sombre pour faire ressortir la capture */
.ufb-ed { position: fixed; inset: 0; z-index: 1300; background: #0c111c; color: #fff; }
.ufb-ed-in { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: max(12px, env(safe-area-inset-top)) 16px max(14px, env(safe-area-inset-bottom)); gap: 12px; }
.ufb-ed-top { display: flex; align-items: flex-start; gap: 12px; max-width: 900px; width: 100%; margin: 0 auto; }
.ufb-ed-top > div { flex: 1; display: grid; gap: 2px; }
.ufb-ed-top b { font-size: 17px; font-weight: 700; }
.ufb-ed-top small { font-size: 13.5px; color: rgba(255, 255, 255, .72); line-height: 1.35; }
.ufb-ed-top .icon-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; flex: none; }
.ufb-ed-top .icon-btn svg { stroke: #fff; }
@media (hover: hover) { .ufb-ed-top .icon-btn:hover { background: #fff; border-color: #fff; } .ufb-ed-top .icon-btn:hover svg { stroke: #0c111c; } }
.ufb-stage { min-height: 0; display: grid; place-items: center; overflow: hidden; }
.ufb-stage canvas { display: block; touch-action: none; cursor: crosshair; border-radius: 10px; box-shadow: 0 18px 50px -16px rgba(0, 0, 0, .7); }
.ufb-ed-bar { display: flex; gap: 8px; max-width: 900px; width: 100%; margin: 0 auto; }
.ufb-ed-bar .btn { flex: 1 1 0; justify-content: center; min-height: 46px; padding: 9px 12px; font-size: 14px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
html .ufb-ed .ufb-ed-bar .btn.primary { background: var(--gold); border-color: var(--gold); color: #fff; }
.ufb-ed-bar .btn:disabled { opacity: .4; pointer-events: none; }
@media (hover: hover) { .ufb-ed-bar .btn:not(.primary):hover { background: #fff; color: #0c111c; border-color: #fff; } html .ufb-ed .ufb-ed-bar .btn.primary:hover { background: #fff; color: #0c111c; border-color: #fff; } }
@media (max-width: 420px) { .ufb-ed-bar .btn span { font-size: 13px; } .ufb-ed-bar [data-undo] span { display: none; } .ufb-ed-bar [data-undo] { flex: 0 0 52px; } }

/* Conversation sur un feedback (owner, 2026-11-28) : nombre rouge sur l'ampoule, « Vos feedbacks », bulles comme la messagerie */
.ufb-fab[data-n]::after { content: attr(data-n); position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: #d32f2f; color: #fff; font: 700 11px/19px Manrope, system-ui, sans-serif; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.ufb-link { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 14px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: transparent; color: var(--text); font: inherit; font-size: 14.5px; font-weight: 600; text-align: start; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.ufb-link > svg:first-child { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ufb-link span { flex: 1; }
.ufb-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #d32f2f; color: #fff; font-size: 11.5px; line-height: 20px; text-align: center; }
.ufb-chev { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
@media (hover: hover) { .ufb-link:hover { background: var(--text); color: var(--bg); border-color: var(--text); } .ufb-link:hover > svg:first-child { stroke: var(--bg); } }

.ufb-th h2 { gap: 8px; }
.ufb-th h2 .ufb-tt { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ufb-back svg, .ufb-th h2 .icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ufb-list { display: grid; gap: 8px; margin-top: 16px; }
.ufb-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: transparent; color: var(--text); font: inherit; text-align: start; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.ufb-row.new { border-color: var(--gold); }
.ufb-ri svg { width: 22px; height: 22px; display: block; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ufb-rt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ufb-rt b { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ufb-rt small { font-size: 12.5px; color: var(--muted); }
.ufb-chipn { flex: none; padding: 4px 9px; border-radius: 99px; background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; }
@media (hover: hover) { .ufb-row:hover { background: var(--text); color: var(--bg); border-color: var(--text); } .ufb-row:hover small { color: var(--bg); } .ufb-row:hover .ufb-ri svg { stroke: var(--bg); } }

.ufb-orig { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; font-size: 14.5px; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; }
.ufb-msgs { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; max-height: min(46vh, 420px); overflow-y: auto; }
.ufb-msgs .msg-b { white-space: normal; }
.ufb-who { display: block; font-size: 11.5px; font-weight: 700; opacity: .75; margin-bottom: 2px; }
.ufb-none { margin: 0; font-size: 13.5px; color: var(--muted); }
.ufb-reply { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 6px; }
.ufb-reply label.f > textarea { min-height: 56px; }
.ufb-sendb { min-height: 50px; padding: 10px 16px; }
.ufb-sendb svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 420px) { .ufb-sendb span { display: none; } .ufb-sendb { width: 50px; padding: 0; } }
@media (hover: hover) { .ufb-th .btn.primary:hover { background: var(--text); color: var(--bg); border-color: var(--text); } }

/* Capture fléchée jointe à un message de la conversation (owner, 2026-11-28) */
.ufb-rshot { margin-top: 14px; }
.ufb-rsb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; }
.ufb-mini { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.ufb-mini svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ufb-mini.danger { color: var(--red, #d32f2f); }
@media (hover: hover) { .ufb-mini:hover { background: var(--text); color: var(--bg); border-color: var(--text); } .ufb-mini.danger:hover { background: var(--red, #d32f2f); color: #fff; border-color: var(--red, #d32f2f); } }
.ufb-rsp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ufb-rst { padding: 0; width: 96px; height: 64px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel-2); cursor: zoom-in; flex: none; }
.ufb-rst img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ufb-mimg { display: block; margin: 2px 0 6px; border-radius: 10px; overflow: hidden; max-width: 220px; }
.ufb-mimg img { display: block; width: 100%; height: auto; max-height: 260px; object-fit: contain; background: rgba(255, 255, 255, .6); }
@media (max-width: 420px) { .ufb-rsb:has(.ufb-mini) { display: grid; grid-template-columns: 1fr 1fr; } .ufb-rsb .ufb-mini { justify-content: center; padding: 7px 8px; font-size: 13px; text-align: center; line-height: 1.2; } }

/* Aide : écrire au support (owner, 2026-11-28, design 1) */
.hp { max-width: 680px; margin: 0 auto; padding: 8px 0 40px; --ufb-bg: var(--bg); }
.hp-h { font-family: Archivo, Manrope, system-ui, sans-serif; font-weight: 800; font-size: clamp(24px, 4vw, 30px); letter-spacing: -.01em; line-height: 1.15; margin: 8px 0 6px; text-wrap: balance; }
.hp-lead { margin: 0 0 6px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.hp-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.hp .hp-chip { padding: 9px 15px; font-size: 14px; font-weight: 600; }
.hp label.f { margin-top: 22px; }
.hp label.f > textarea { min-height: 130px; }
.hp-shot { margin-top: 14px; }
.hp-zone { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 12px 14px; border: 1.5px dashed var(--line); border-radius: 14px; color: var(--muted); font-size: 14px; }
.hp-zone > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hp-zl { flex: 1 1 180px; } .hp-zl em { font-style: normal; opacity: .8; }
.hp-zb { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-send { width: 100%; margin-top: 22px; min-height: 50px; }
.hp-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hp .msg.err:empty { display: none; }
.hp-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.hp-h2 { font-size: 17px; font-weight: 800; margin: 40px 0 12px; }
.hp-hist { display: grid; gap: 8px; }
.hp-none { margin: 0; color: var(--muted); font-size: 14px; }
.hp-st { flex: none; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--panel-2); color: var(--muted); }
.hp-st.hp-new { background: var(--gold); color: #fff; }
.hp-st.hp-rep { background: color-mix(in srgb, #23944a 14%, transparent); color: #1d7a3d; }
@media (hover: hover) { .hp-row:hover .hp-st { background: var(--bg); color: var(--text); } }
@media (min-width: 1000px) { .hp { padding-top: 0; margin-left: 0; } .hp-h { margin-top: 6px; } }   /* calé en haut à gauche comme Réglages et Tarifs, pas centré */
/* Téléphone : ligne « Aide » en haut des Réglages (chauffeurs) */
.hp-link { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; min-height: 61px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 14px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .3s, color .3s, border-color .3s; }
.hp-link > svg:first-child { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hp-link span { flex: 1; }
.hp-row-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #d32f2f; color: #fff; font-size: 11.5px; font-style: normal; line-height: 20px; text-align: center; }
.hp-row-n[hidden] { display: none; }
@media (hover: hover) { .hp-link:hover { background: var(--text); color: var(--bg); border-color: var(--text); } .hp-link:hover > svg:first-child { stroke: var(--bg); } }
@media (min-width: 1000px) { .hp-link { display: none; } }
/* Colonne de gauche : « Aide » en bas, juste au-dessus de « Réglages » (c'est elle qui pousse le bas de la colonne) */
@media (min-width: 1000px) {
  .tabs.mode-tabs button.tab-help { margin-top: auto; flex: none; }
  .tabs.mode-tabs button.tab-help + button.tab-settings, .tabs.mode-tabs button.tab-help ~ button.tab-more + button.tab-settings { margin-top: 0; }
}
/* ---------- Page Aide, design 3 « Recherche d'abord » (owner, 2026-11-30) : recherche, questions du rôle, guide, support ---------- */
.hpx-search { display: flex; align-items: center; gap: 10px; min-height: 52px; margin: 18px 0 0; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--muted); transition: border-color .3s; }
.hpx-search:focus-within { border-color: var(--gold); }
.hpx-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hpx-search input { flex: 1; min-width: 0; height: 48px; border: 0; outline: none; background: transparent; color: var(--text); font: inherit; font-size: 16px; }
.hpx-search input::placeholder { color: var(--muted); opacity: 1; }
.hpx-search input::-webkit-search-cancel-button { cursor: pointer; }
.hpx-hits { margin-top: 18px; }
.hpx-hits[hidden], .hpx-rest[hidden] { display: none; }
.hpx-hk { margin: 14px 0 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.hpx-hk:first-child { margin-top: 0; }
.hpx-hits mark { background: var(--gold-soft); color: inherit; border-radius: 3px; padding: 0 1px; }
.hpx-none { margin: 4px 0 16px; color: var(--muted); font-size: 15px; }
.hpx-g { margin: 18px 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; color: var(--gold-ink, var(--gold)); }
.hpx-rest > .hp-h2:first-child { margin-top: 32px; }
.hpx-qs { display: grid; gap: 8px; }
.hpx-q { border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .3s; }
.hpx-q[open] { border-color: var(--text); }
.hpx-q > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px; font-weight: 700; font-size: 15px; line-height: 1.35; cursor: pointer; border-radius: 14px; }
.hpx-q > summary::-webkit-details-marker { display: none; }
.hpx-q > summary > span { flex: 1; }
.hpx-dn { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.hpx-q[open] .hpx-dn { transform: rotate(180deg); stroke: var(--gold); }
.hpx-q > p { margin: 0; padding: 0 14px 14px; color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 68ch; }
.hpx-chs { display: grid; gap: 8px; }
.hpx-ch { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: none; color: var(--text); font: inherit; font-size: 15px; text-align: start; cursor: pointer; transition: border-color .3s, background-color .3s, color .3s; }
.hpx-ch b { flex: 1; font-weight: 700; }
.hpx-ch > span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.hpx-ch small { color: var(--muted); font-size: 13px; }
.hpx-ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--gold-soft); color: var(--gold-ink, var(--gold)); }
.hpx-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hpx-ch .ufb-chev { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; }
.hpx-stuck { margin: 32px 0 0; padding: 18px; border-radius: 16px; background: var(--s-panel, var(--panel-2)); }
.hpx-stuck b { display: block; font-size: 16px; margin: 0 0 4px; }
.hpx-stuck p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.hpx-write { width: 100%; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.hpx-write svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
  .hpx-ch:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
  .hpx-ch:hover small, .hpx-ch:hover .ufb-chev { color: var(--bg); stroke: var(--bg); }
  .hpx-q:not([open]) > summary:hover { color: var(--gold-ink, var(--gold)); }
}
/* Formulaire du support dans une fenêtre (tiroir sur téléphone, au-dessus du bouton sur ordinateur) */
.hp-dlg { max-width: 560px; }
.hp-dlg .hp { max-width: none; margin: 0; padding: 0; }
.hp-dlg .hp-send { margin-top: 18px; }
@media (max-width: 999px) {
  .hp { padding: 4px 16px 120px; }   /* 16 px des bords ; rien caché sous la bulle et la barre du bas */
  .hp-dlg .hp { padding: 0; }
  .hp-zb { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hp-zb .ufb-mini { justify-content: center; padding: 7px 8px; font-size: 13px; text-align: center; line-height: 1.2; }
}

/* Page Aide, design 5 « Premiers pas, puis les questions » (viewHelp, owner 2026-11-30) : deux colonnes sur ordinateur
   (questions à gauche, recherche, support, guide et demandes à droite), une seule sur téléphone, la recherche en premier. */
.hp.hpx { max-width: 1100px; width: 100%; }
.hp5 { display: grid; gap: 22px; margin-top: 8px; }
.hp5-side { display: grid; gap: 18px; align-content: start; }
.hp5-side .hpx-search { margin-top: 0; }
.hp5-side .hpx-stuck { margin: 0; }
.hp5-blk .hp-h2 { margin-top: 0; }
.hp5-main > .hpx-hits { margin-top: 0; }
.hp5-main .hpx-rest > .hp-h2:first-child { margin-top: 0; }
.hp5-start { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px 6px; margin-bottom: 26px; }
.hp5-start h2 { margin: 0; font-size: 16px; }
.hp5-prog { height: 8px; border-radius: 9px; background: color-mix(in srgb, var(--text) 8%, var(--bg)); overflow: hidden; margin: 10px 0 6px; }
.hp5-prog i { display: block; height: 100%; background: #12703f; border-radius: 9px; }
.hp5-step { display: flex; align-items: center; gap: 12px; min-height: 52px; border-top: 1px solid var(--line); }
.hp5-step:first-of-type { border-top: 0; }
.hp5-step > i { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; color: var(--muted); }
.hp5-step > i svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hp5-step.done > i { background: #12703f; border-color: #12703f; }
.hp5-step b { flex: 1; font-size: 14px; }
.hp5-step.done b { color: var(--muted); text-decoration: line-through; font-weight: 600; }
.hp5-step .btn { flex: none; }
@media (min-width: 1000px) {
  .hp5 { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
  .hp5-side { grid-column: 2; grid-row: 1; position: sticky; top: 16px; }
  .hp5-main { grid-column: 1; grid-row: 1; min-width: 0; }
}
@media (max-width: 999px) { .hp5-side { display: contents; } .hp5-side > .hpx-search { order: 0; } .hp5-main { order: 1; } .hp5-side > :not(.hpx-search) { order: 2; } }   /* téléphone : recherche, Bien démarrer et questions, puis support, guide, demandes */
