:root { --brand: #117c40; --brand-dark: #0b5e30; --brand-soft: #eaf6ee; --ink: #1d1d1f; --muted: #5f6368; --bg: #f6f4f1; --card: #fff; --line: #e5e1dc; --ok: #1f8a4c; --warn: #b26a00; --bad: #c62828; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px; background: #fff; color: var(--ink); border-bottom: 3px solid var(--brand); position: sticky; top: 0; z-index: 1000; }
header.top .logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--brand-dark); text-decoration: none; min-width: 0; }
header.top .logo img { height: 40px; width: auto; display: block; }
header.top .right { display: flex; align-items: center; gap: 8px; }
.lang-select { width: auto; margin: 0; padding: 6px 8px; border-radius: 999px; font-size: 14px; }
header.top button { background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; }
main { max-width: 720px; margin: 0 auto; padding: 16px; }
/* Bas de page toujours au même niveau, tout en bas de l'écran, même sur une page courte (Admin, Prix, suivi…). */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { width: 100%; flex: 1 0 auto; }
body > footer.site-footer { flex-shrink: 0; }
main.wide { max-width: 1100px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 0 0 14px; }
h1 { font-size: 24px; margin: 4px 0 12px; } h2 { font-size: 19px; margin: 0 0 10px; } h3 { font-size: 16px; margin: 12px 0 6px; }
label { display: block; font-weight: 600; font-size: 14px; margin: 10px 0; }
input, select, textarea { display: block; width: 100%; margin-top: 4px; padding: 11px 12px; border: 1px solid #cfc9c2; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
textarea { min-height: 70px; resize: vertical; }
button { font: inherit; cursor: pointer; }
button.primary, a.primary { display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; padding: 10px 16px; margin-top: 8px; text-decoration: none; }
button.primary:hover { background: var(--brand-dark); }
button.secondary { min-height: 44px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 12px; padding: 8px 14px; font-weight: 600; }
button.danger { min-height: 44px; border: 0; background: #fdecea; color: var(--bad); border-radius: 12px; padding: 8px 14px; font-weight: 700; }
button.link { background: none; border: 0; color: var(--brand-dark); text-decoration: underline; padding: 8px 0; }
button:disabled { opacity: .6; cursor: wait; }
.row { display: flex; gap: 10px; flex-wrap: wrap; } .row > * { flex: 1 1 160px; }
.hidden { display: none !important; }
.hint { color: var(--muted); font-size: 13px; margin: 4px 0; }
.map { height: 320px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #e9e5df; margin: 8px 0; }
.map.tall { height: 420px; }
.map-off { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.pin span { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); color: #fff; font-weight: 800; font-size: 13px; border: 2px solid #fff; box-shadow: 0 1px 4px #0006; }
.pin span::after { content: ''; }
.steps { display: flex; gap: 6px; margin: 8px 0 12px; } .steps button { flex: 1; }
.steps button.active { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }
.quote { border: 1px dashed var(--brand); border-radius: 12px; padding: 10px 12px; background: var(--brand-soft); }
.quote .total { font-size: 22px; font-weight: 800; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #eee; }
.badge.searching { background: #fff4e0; color: var(--warn); } .badge.assigned, .badge.picked_up { background: #e8f1ff; color: #1a56b0; }
.badge.delivered, .badge.approved { background: #e6f4ea; color: var(--ok); } .badge.cancelled, .badge.failed, .badge.rejected, .badge.suspended { background: #fdecea; color: var(--bad); } .badge.pending { background: #fff4e0; color: var(--warn); }
.code { font-size: 34px; font-weight: 800; letter-spacing: 8px; text-align: center; padding: 8px; background: var(--brand-soft); border-radius: 12px; color: var(--brand-dark); }
.list .item { border-top: 1px solid var(--line); padding: 10px 0; } .list .item:first-child { border-top: 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; } .kv dt { color: var(--muted); } .kv dd { margin: 0; }
.big-toggle { width: 100%; min-height: 64px; font-size: 20px; font-weight: 800; border-radius: 16px; border: 0; color: #fff; background: #8a8f98; }
.big-toggle.on { background: var(--ok); }
.offer { border: 3px solid var(--brand); animation: pulse 1.2s infinite alternate; }
@keyframes pulse { from { box-shadow: 0 0 0 0 #117c4055; } to { box-shadow: 0 0 0 10px #117c4000; } }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; } .stat b { display: block; font-size: 22px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; } .tabs button { white-space: nowrap; }
.tabs button.active { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }
table { width: 100%; border-collapse: collapse; font-size: 14px; } th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.docs img { max-width: 100%; max-height: 260px; border-radius: 8px; border: 1px solid var(--line); margin: 4px 0; }
#toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(120px); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; max-width: calc(100% - 32px); transition: transform .25s; z-index: 2000; }
#toast.show { transform: translateX(-50%) translateY(0); } #toast.error { background: var(--bad); }
.hero { background: linear-gradient(135deg, #0b5e30, #117c40); color: #fff; border-radius: 16px; padding: 20px 16px; margin-bottom: 14px; }
.hero h1 { margin: 0 0 6px; } .hero p { margin: 0; color: #e3f3e8; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.services div, .services button { background: #ffffff14; border: 0; color: #fff; border-radius: 12px; padding: 10px 8px; text-align: center; font-size: 13px; font: inherit; font-size: 13px; }
.services button { cursor: pointer; min-height: 44px; } .services button:hover { background: #ffffff2e; }
.services div.soon { opacity: .6; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 20px 16px 40px; }
footer a { color: var(--muted); }
.merchant { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.merchant .logo-box { flex: 0 0 56px; height: 56px; border-radius: 12px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 26px; overflow: hidden; }
.merchant.closed { opacity: .55; }
.product { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding: 10px 0; }
.product:first-child { border-top: 0; }
.product img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: 0 0 64px; }
.product .info { flex: 1; min-width: 0; }
.qty { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; font-weight: 700; }
.qty button.add { background: var(--brand); color: #fff; border: 0; }
.cart-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 12px; width: calc(100% - 24px); max-width: 696px; display: flex; gap: 10px; align-items: center; background: var(--ink); color: #fff; border-radius: 16px; padding: 8px 8px 8px 16px; z-index: 1500; box-shadow: 0 6px 20px #0005; }
.cart-bar span { flex: 1; font-weight: 700; } .cart-bar button { width: auto; margin: 0; }
.section-title { margin: 14px 0 4px; font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.options-panel fieldset { border: 0; padding: 0; margin: 0 0 10px; }
.options-panel legend { padding: 0; margin-bottom: 4px; }
label.choice { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 6px 0; }
label.choice input { width: auto; margin: 0; }

[dir=rtl] .kv { direction: rtl; } [dir=rtl] .cart-bar { padding: 8px 16px 8px 8px; }
.eta { font-weight: 700; color: #1a56b0; background: #e8f1ff; border-radius: 10px; padding: 8px 10px; margin: 6px 0; }
@media (max-width: 440px) { header.top { padding: 6px 10px; gap: 6px; } header.top .logo img { height: 34px; } header.top .logo span { display: none; } .lang-select { padding: 4px 6px; font-size: 13px; } header.top button { padding: 5px 10px; font-size: 13px; white-space: nowrap; } }
fieldset.momo { border: 2px solid var(--brand); border-radius: 12px; padding: 4px 12px 8px; margin: 12px 0; background: var(--brand-soft); }
fieldset.momo legend { font-weight: 800; padding: 0 6px; color: var(--brand-dark); }
.badge.awaiting_payment { background: #fff4e0; color: var(--warn); }
/* Scanner de documents (public/scanner.js) */
.scanner { position: fixed; inset: 0; z-index: 3000; background: #000; color: #fff; display: flex; flex-direction: column; }
.scanner-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; }
.scanner-close { background: none; border: 0; color: #fff; font-size: 24px; padding: 4px 8px; }
.scanner-view { position: relative; flex: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.scanner-view video, .scanner-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.scanner-view video { object-fit: cover; }
.scanner-stage { position: relative; }
.scanner-photo { display: block; }
.scanner-quad { position: absolute; inset: 0; touch-action: none; cursor: grab; }
.scanner-preview { max-width: 92%; max-height: 100%; background: #fff; border-radius: 4px; box-shadow: 0 4px 20px #0008; }
.scanner-hint { text-align: center; margin: 8px 16px; font-size: 14px; color: #e5e7eb; min-height: 20px; }
.scanner-actions { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 10px 16px 24px; }
.scanner-two { grid-template-columns: 1fr 1fr; }
.scanner-two button { margin: 0; }
.scanner-shot { width: 72px; height: 72px; border-radius: 50%; border: 5px solid #fff; background: var(--brand); font-size: 28px; }
.scanner-shot:disabled { opacity: .35; }
.scanner-file { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; border: 1px solid #ffffff66; border-radius: 12px; padding: 6px 10px; font-size: 13px; font-weight: 600; cursor: pointer; text-align: center; margin: 0; }
.scanner-auto { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: 0; font-size: 14px; }
.scanner-auto input { width: auto; margin: 0; }
.scan-row { display: flex; align-items: center; gap: 10px; margin: 6px 0; flex-wrap: wrap; }
.scan-thumb { width: 52px; height: 72px; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.earning { background: #e6f4ea; color: #14532d; border-radius: 10px; padding: 10px 12px; margin: 6px 0 10px; font-size: 17px; }
.earning b { font-size: 20px; }
.conditions { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.conditions .badge { background: #fff4e0; color: #7c4a03; }
fieldset.conditions-choice { border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px; margin: 10px 0; }
.film-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.film-row .ok { color: var(--ok); font-weight: 700; }
.proof-media { display: block; max-width: 100%; max-height: 320px; border-radius: 10px; margin: 6px 0; background: #000; }
.recorder .replay, .recorder .live { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.recorder .live { object-fit: cover; }
.rec-badge { position: absolute; top: 12px; right: 12px; background: #dc2626; color: #fff; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.rec-shot { background: #dc2626; }
.conditions-box { background: var(--brand-soft); border: 1px solid #cfe7d6; border-radius: 12px; padding: 10px 12px; margin: 12px 0; }
.conditions-box ul { margin: 6px 0 0; padding-left: 20px; font-size: 14px; }
.renew-form { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 6px; }
/* Avis et pourboires */
.review-form { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 6px; }
.stars { display: flex; gap: 4px; margin: -4px 0 6px; }
.stars .star { width: 44px; height: 44px; border: 0; background: transparent; font-size: 32px; line-height: 1; color: #d6d0c8; padding: 0; }
.stars .star.on { color: #f2a900; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.chip { min-height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; color: var(--ink); }
.chip.active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); }
.review-done { background: var(--brand-soft); border-radius: 12px; padding: 10px 14px; margin-top: 14px; }
.item.muted { opacity: .6; }

/* Bas de page (modèle Yezan Beauté), fond café au lait */
footer.site-footer { --foot-bg: #ecdcc4; --foot-ink: #3d2b1f; --foot-soft: #6b5442; --foot-line: #d4bf9f; margin-top: 40px; padding: 0; text-align: left; background: var(--foot-bg); color: var(--foot-ink); border-top: 4px solid var(--brand); font-size: 14px; }
footer.site-footer a { color: var(--foot-ink); text-decoration: none; } footer.site-footer a:hover { text-decoration: underline; color: var(--brand-dark); }
.foot-in { max-width: 1100px; margin: 0 auto; padding: 32px 20px 24px; }
.foot-note { margin: 0 0 20px; padding: 10px 14px; background: #fff8ec; border: 1px solid var(--foot-line); border-radius: 10px; color: var(--foot-ink); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand img { height: 46px; width: auto; background: #fff; border-radius: 10px; padding: 4px 8px; }
.foot-brand p { margin: 10px 0 0; color: var(--foot-soft); line-height: 1.5; max-width: 360px; }
footer.site-footer h3 { margin: 18px 0 10px; font-size: 12px; letter-spacing: .8px; text-transform: uppercase; color: #2a1d14; }
.foot-col h3 { margin-top: 0; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-social { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #111; box-shadow: 0 1px 3px #3d2b1f33; transition: transform .15s; }
.foot-social a:hover, .foot-social a:focus-visible { transform: scale(1.08); outline: 2px solid var(--brand); outline-offset: 2px; text-decoration: none; }
.foot-social svg { width: 18px; height: 18px; fill: currentColor; }
.foot-social .s-facebook { background: #1877f2; color: #fff; } .foot-social .s-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); color: #fff; } .foot-social .s-whatsapp { background: #25d366; color: #fff; } .foot-social .s-youtube { background: #ff0000; color: #fff; } .foot-social .s-linkedin { background: #0a66c2; color: #fff; } .foot-social .s-tiktok, .foot-social .s-x { background: #111; color: #fff; }
.foot-legal { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--foot-line); color: var(--foot-soft); font-size: 12px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; } .foot-brand { grid-column: auto; } .foot-in { padding: 40px 32px 26px; } }
/* Ordinateur : bas de page bien rangé (marque, 4 colonnes : Commander, Travailler avec Yezan, Aide, Service client,
   puis la ligne légale), environ 300 px de haut, aéré pour être lisible. */
@media (min-width: 760px) {
  footer.site-footer { margin-top: 32px; font-size: 14px; }
  .foot-in { padding: 58px 32px 32px; }
  .foot-grid { grid-template-columns: 1.25fr .95fr 1.1fr 1.15fr 1.15fr; gap: 10px 24px; align-items: start; }
  .foot-brand img { height: 42px; padding: 4px 8px; border-radius: 10px; }
  .foot-brand p { margin: 10px 0 0; font-size: 13px; line-height: 1.5; max-width: 240px; }
  footer.site-footer h3 { margin: 0 0 10px; font-size: 11.5px; }
  .foot-col ul { gap: 7px; } .foot-col a { font-size: 13.5px; line-height: 1.45; white-space: nowrap; }
  .foot-legal { margin-top: 30px; padding-top: 16px; font-size: 12px; }
  .foot-note { margin-bottom: 14px; padding: 10px 14px; }
}
/* Téléphone et application installée : pas de bas de page (comme Uber ou DoorDash). L'aide reste sur l'accueil
   (« ❓ Une question ? ») et dans la page des questions fréquentes. */
@media (max-width: 759px) { footer.site-footer { display: none; } }
@media (display-mode: standalone), (display-mode: fullscreen) { footer.site-footer { display: none; } }
body:has(.cart-bar:not(.hidden)) footer.site-footer { padding-bottom: 80px; }
/* Téléphone : bas de page compact (logo et phrase sur une ligne, 3 colonnes de liens serrées). */
@media (max-width: 759px) {
  footer.site-footer { margin-top: 24px; font-size: 13px; }
  .foot-in { padding: 14px 14px 10px; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); gap: 4px 10px; }
  .foot-brand { display: flex; align-items: center; gap: 10px; }
  .foot-brand img { height: 30px; padding: 2px 6px; border-radius: 8px; flex: 0 0 auto; }
  .foot-brand p { margin: 0; font-size: 12px; line-height: 1.35; }
  .foot-brand h3 { display: none; }
  .foot-brand .foot-social { margin-left: auto; gap: 6px; } .foot-social a { width: 30px; height: 30px; } .foot-social svg { width: 14px; height: 14px; }
  footer.site-footer h3 { margin: 8px 0 4px; font-size: 10.5px; letter-spacing: .4px; }
  .foot-col ul { gap: 3px; } .foot-col a { font-size: 12.5px; line-height: 1.3; }
  .foot-legal { margin-top: 10px; padding-top: 8px; font-size: 11px; }
  .foot-note { margin-bottom: 10px; padding: 8px 10px; }
}
.social-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 12px; }

/* Ordinateur : cadre plus large, onglets sur une ou deux lignes (sans barre de défilement), listes en colonnes */
@media (min-width: 900px) {
  main { max-width: 1100px; padding: 24px 32px; }
  header.top { padding: 10px max(32px, calc((100% - 1100px) / 2 + 32px)); }
  .hero { padding: 32px 36px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px 32px; align-items: center; }
  .hero h1 { font-size: 34px; } .hero p { font-size: 17px; }
  .hero .services { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .services button { font-size: 15px; min-height: 56px; }
  .tabs { flex-wrap: wrap; overflow: visible; gap: 8px; }
  .tabs button { flex: 0 0 auto; }
  .merchant-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .merchant-list > .card { margin: 0; }
  .merchant-list > .card:only-child { grid-column: 1 / -1; }
  #login { max-width: 520px; margin: 0 auto; }
  .cart-bar { max-width: 1036px; }
}
@media (min-width: 1280px) { .merchant-list { grid-template-columns: repeat(3, 1fr); } }
/* Petit déménagement */
.move-form { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 12px 0; }
.move-form legend { padding: 0 6px; }
.move-items { display: grid; gap: 4px 18px; }
.move-group .section-title { margin-top: 10px; }
.move-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0; font-weight: 500; }
.move-item input { width: 84px; flex: 0 0 84px; margin: 0; text-align: center; }
.move-elevator { align-self: end; margin-bottom: 18px; }
.move-box { background: #f8f3ea; border: 1px solid #e6d8c2; border-radius: 12px; padding: 4px 12px 10px; margin: 10px 0; }
.move-box h3 { margin-top: 8px; }
.move-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.move-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
@media (min-width: 900px) { .move-items { grid-template-columns: repeat(3, 1fr); } }
.quote-lines { margin: 6px 0; font-size: 14px; }
.quote-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px dashed #cfe3d6; }
.quote-lines div:last-child { border-bottom: 0; } .quote-lines b { white-space: nowrap; } .quote-lines i { color: var(--muted); font-style: normal; }
/* Inscription des commerces en étapes */
.wizard-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 12px 0 16px; counter-reset: step; overflow-x: auto; }
.wizard-steps li { flex: 1 1 0; min-width: 72px; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; counter-increment: step; }
.wizard-steps li::before { content: counter(step); display: block; width: 30px; height: 30px; line-height: 30px; margin: 0 auto 4px; border-radius: 50%; background: #e9e5df; color: var(--muted); }
.wizard-steps li.active { color: var(--brand-dark); } .wizard-steps li.active::before { background: var(--brand); color: #fff; }
.wizard-steps li.done::before { content: '✓'; background: var(--brand-soft); color: var(--brand-dark); }
.wizard-step { border: 0; padding: 0; margin: 0; } .wizard-step legend { font-size: 18px; font-weight: 800; padding: 0; margin-bottom: 6px; }
.wizard-nav { margin-top: 16px; } .wizard-nav button { flex: 1 1 0; } .invisible { visibility: hidden; }
.week { display: grid; gap: 6px; }
.week-day { display: grid; grid-template-columns: minmax(96px, 1.1fr) minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; }
.week-day label.choice { margin: 0; } .week-day input[type=time] { margin: 0; width: 100%; min-width: 0; } .week-day input:disabled { opacity: .45; }
.charter { padding-left: 20px; } .charter li { margin: 4px 0; }
.checklist { border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; margin: 8px 0; }
.table-scroll { overflow-x: auto; } .bulk-table input { margin: 0; min-width: 70px; } .bulk-table td { padding: 4px; } .bulk-table input[type=checkbox] { width: auto; min-width: 0; }
.week-view summary { cursor: pointer; }
@media (max-width: 440px) { .week-day { grid-template-columns: minmax(84px, 1fr) minmax(0, 1fr) auto minmax(0, 1fr); gap: 4px; } .week-day input[type=time] { padding: 8px 4px; font-size: 14px; } }
.bulk-table [data-k=name] { min-width: 170px; } .bulk-table [data-k=price] { min-width: 96px; } .bulk-table [data-k=section] { min-width: 120px; } .bulk-table [data-k=stock] { min-width: 72px; }
.bulk-table th { white-space: nowrap; font-size: 13px; }
/* Espace livreur : SOS, contrôle du visage, attente, messages, objectif, zones */
.sos-button { width: 100%; min-height: 48px; margin: 8px 0; border: 2px solid var(--bad); border-radius: 12px; background: #fff; color: var(--bad); font-weight: 800; font-size: 16px; }
.sos-button:active { background: #fdecea; }
.face-banner { border: 2px solid var(--warn); background: #fff8ec; }
.face-due, .wait-box { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: #fff8ec; border: 1px solid #f3d9a8; }
.wait-box p { margin: 4px 0; }
.chat { margin: 12px 0; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf8; }
.chat h3 { margin: 0 0 8px; }
.chat-list { max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.bubble { align-self: flex-start; max-width: 85%; padding: 6px 10px; border-radius: 12px 12px 12px 4px; background: #fff; border: 1px solid var(--line); overflow-wrap: anywhere; }
.bubble.mine { align-self: flex-end; background: var(--brand-soft); border-color: #cfe8d7; border-radius: 12px 12px 4px 12px; }
.bubble .who { display: block; font-size: 11px; color: var(--muted); }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; min-height: 36px; font-size: 14px; color: var(--ink); }
.chip.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
.chat-form { display: flex; gap: 8px; align-items: stretch; }
.chat-form input { flex: 1; min-width: 0; margin: 0; }
.chat-form button { flex: 0 0 auto; margin: 0; }
.tabs-inline { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.progress { height: 12px; border-radius: 999px; background: #eee; overflow: hidden; margin: 8px 0; }
.progress span { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.modal { position: fixed; inset: 0; z-index: 3000; background: rgba(0, 0, 0, .45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-card { background: #fff; border-radius: 16px; padding: 16px; width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto; }
.item.alert { border-left: 4px solid var(--bad); background: #fff5f5; }
[data-panel="safety"] video, [data-panel="safety"] .docs img { max-width: 220px; max-height: 220px; border-radius: 8px; background: #000; }
/* Qualité : indicateurs des livreurs et des commerces */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 10px 0; }
.metric { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; background: #fff; display: flex; flex-direction: column; gap: 2px; }
.metric b { font-size: 20px; }
.metric small { color: var(--muted); font-size: 12px; }
.metric.good { border-color: #cfe8d7; background: var(--brand-soft); }
.metric.bad { border-color: #f5c2c0; background: #fff5f5; }
.metric.bad b { color: var(--bad); }
.quality-line { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; }
.bad-text, .bad-text b { color: var(--bad); }
.issue-box { margin-top: 10px; }
/* Espace hôtel : calendrier des chambres libres, photos des chambres */
.cal { border-collapse: collapse; font-size: 13px; } .cal th, .cal td { padding: 6px; text-align: center; border: 1px solid var(--line); white-space: nowrap; }
.cal tbody th { text-align: left; } .cal td.free { background: var(--brand-soft); } .cal td.some { background: #fff4d6; } .cal td.full { background: #fde2e1; color: #b42318; font-weight: 700; }
.photo-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; } .photo-row .photo { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.photo-row img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
img.thumb { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; float: left; margin-right: 10px; }
.danger-text, .link.danger-text { color: #b42318; }
/* Hôtels côté client : liste, photos, code d'arrivée */
.hotel-card { display: flex; gap: 12px; width: 100%; text-align: left; align-items: flex-start; cursor: pointer; font: inherit; color: inherit; }
.hotel-card img { width: 110px; height: 90px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; } .hotel-card h3 { margin: 0 0 4px; } .hotel-card p { margin: 2px 0; }
.stars { color: #e0a100; font-size: .9em; letter-spacing: 1px; }
.photo-strip { display: flex; gap: 8px; overflow-x: auto; margin: 8px 0; } .photo-strip img { height: 150px; width: 200px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }
.arrival-code { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--brand-soft); border-radius: 14px; padding: 10px; margin: 8px 0; }
.arrival-code b { font-size: 30px; letter-spacing: 6px; color: var(--brand-dark); } .arrival-code small { color: var(--muted); text-align: center; }
.quote-total { display: flex; justify-content: space-between; font-size: 18px; margin: 12px 0; }
.booking-actions { display: grid; gap: 6px; margin-top: 8px; } .booking-actions .row { align-items: flex-end; }
/* Alcool : contrôle de l'âge (client à la commande, livreur à la remise) */
.age-check { border: 1px solid #f0c36d; background: #fff8e6; border-radius: 12px; padding: 10px 12px; margin: 10px 0; }
.ok-text { color: var(--ok); }
/* Accueil : tuiles des catégories ; page de catégorie : rangée « Top » */
.services.cat-tiles { grid-template-columns: repeat(4, 1fr); }
.cat-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 78px; padding: 8px 4px !important; font-size: 12px !important; line-height: 1.2; }
.cat-tile .cat-icon { font-size: 26px; line-height: 1; }
.top-row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; }
.top-card { flex: 0 0 132px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; cursor: pointer; font: inherit; color: var(--ink); text-align: center; }
.top-card .logo-box { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; font-size: 28px; border-radius: 12px; background: var(--brand-soft); overflow: hidden; }
@media (min-width: 900px) { .cat-tile { min-height: 92px; font-size: 14px !important; } .cat-tile .cat-icon { font-size: 30px; } }
.services.cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat-tile { font-size: 11px !important; padding: 8px 2px !important; } .cat-tile span:last-child { overflow-wrap: normal; word-break: normal; }
@media (min-width: 900px) { .cat-tile { font-size: 14px !important; } }
#b-filters .chip { width: auto; flex: 0 0 auto; margin: 0; font-size: 13px; padding: 6px 10px; }
/* Courses (comme Instacart) : badges des produits, articles photographiés, validation par le client */
.badges { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0; }
.pbadge { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; background: #eef2f6; color: var(--ink); }
.pbadge.best { background: #fff1e6; color: #c2410c; } .pbadge.recommended { background: var(--brand-soft); color: var(--brand-dark); } .pbadge.promo { background: #fde2e1; color: #b42318; } .pbadge.new { background: #e8f0fe; color: #1a56b0; }
.product .price { color: var(--ink); } .product s { margin-left: 4px; }
.picking { margin: 10px 0; } .pick-line { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.pick-media { flex: 0 0 96px; } .pick-media img, .pick-media video { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; background: #000; }
.pick-wait { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 12px; background: #f1efe9; font-size: 30px; opacity: .5; }
.pick-info { flex: 1; min-width: 0; } .pick-actions button { flex: 1 1 0; margin-top: 6px; min-height: 40px; padding: 6px; font-size: 14px; }
.pick-line.refused, .pick-line.missing { opacity: .6; }
.file-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 14px; font-weight: 700; cursor: pointer; }
.subst { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin: 10px 0; }
.file-button input[type=file] { display: none !important; }
/* Photo du livreur montrée au client */
.courier-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; vertical-align: middle; margin-right: 8px; border: 2px solid var(--brand); }
.call-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; } .call-row button { flex: 1 1 180px; }
.withdraw { margin: 10px 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fffbea; }
.hold { margin: 8px 0; padding: 10px 12px; border-radius: 12px; background: #fdecec; border: 1px solid #f3b4b4; } .hold.soft { background: #fff7e0; border-color: #f3dc9a; } .hold p { margin: 4px 0; }
.entry summary { list-style: none; cursor: pointer; } .entry summary::-webkit-details-marker { display: none; }
.entry-money { flex: 0 0 auto; text-align: right; } .entry-money .tip { color: #15803d; font-size: 14px; font-weight: 600; }
h3.day { margin: 18px 4px 6px; text-transform: capitalize; font-size: 15px; color: #475569; }
a.button-link { display: block; margin: 6px 0 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: inherit; font-weight: 600; text-align: center; text-decoration: none; }
/* Barre Retour / Avancer / Actualiser sous l'en-tête (nav.js) */
.page-nav { display: flex; gap: 6px; padding: 6px 16px; background: #f4f7f5; border-bottom: 1px solid var(--line); }
.page-nav button { flex: 0 0 auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.page-nav button[data-nav="reload"] { margin-left: auto; }
.page-nav button:active { background: var(--line); }
@media (min-width: 900px) { .page-nav { padding: 6px max(32px, calc((100% - 1100px) / 2 + 32px)); } }
/* Vidéos de présentation (videos.js) : vignettes verticales, lecteur plein écran façon TikTok. */
.videos h2 { margin-bottom: 4px; }
.video-row { display: grid; grid-template-columns: repeat(3, minmax(0, 190px)); gap: 12px; margin-top: 10px; }
.video-card { padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink); font: inherit; text-align: center; display: grid; gap: 6px; align-content: start; }
.video-card .thumb { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 9 / 16; background: #0f7a43; }
.video-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #000a; color: #fff; display: grid; place-items: center; font-size: 17px; }
.video-card b { font-size: 13px; line-height: 1.25; }
body.video-open { overflow: hidden; }
.video-viewer { position: fixed; inset: 0; z-index: 3000; background: #000; }
.video-feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; }
.video-slide { height: 100%; scroll-snap-align: start; display: grid; place-items: center; }
.video-slide video { max-width: 100%; max-height: 100%; height: 100%; aspect-ratio: 9 / 16; background: #000; }
.video-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #ffffff2e; color: #fff; font-size: 20px; cursor: pointer; }
.store-logo { float: right; width: 64px; height: 64px; object-fit: cover; border-radius: 14px; margin: 0 0 8px 12px; }
[dir=rtl] .store-logo { float: left; margin: 0 12px 8px 0; }
/* Fiches des commerces façon DoorDash (client-shop.js) */
.m-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .m-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .m-grid { grid-template-columns: repeat(3, 1fr); } }
.m-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; cursor: pointer; transition: box-shadow .15s; }
.m-card:hover, .m-card:focus-visible { box-shadow: 0 6px 18px #0002; outline: none; }
.m-cover { position: relative; aspect-ratio: 16 / 7; background: linear-gradient(135deg, #1fa463, #0a5530); }
.m-cover > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-cover-icon { position: absolute; inset: 0; display: grid; place-items: center; font-size: 46px; }
.m-logo { position: absolute; left: 12px; bottom: -18px; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 3px solid #fff; box-shadow: 0 2px 6px #0003; overflow: hidden; display: grid; place-items: center; font-size: 24px; }
.m-logo img { width: 100%; height: 100%; object-fit: cover; }
[dir=rtl] .m-logo { left: auto; right: 12px; }
.m-closed { position: absolute; inset: 0; display: grid; place-items: center; background: #000a; color: #fff; font-weight: 700; }
.m-body { padding: 24px 14px 12px; display: grid; gap: 4px; }
.m-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.m-title b { font-size: 16.5px; }
.m-stars { white-space: nowrap; font-weight: 700; color: #b26b00; }
.m-new { white-space: nowrap; font-size: 13px; color: var(--brand-dark); font-weight: 700; }
.m-facts { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 14px; color: var(--ink); }
.m-card.closed .m-body { opacity: .7; }
.merchant-list > .m-grid { grid-column: 1 / -1; }
/* Boutique façon Instacart (client-shop.js, renderMarket) */
.market-head .m-facts { margin: 6px 0; }
.market-promise { display: grid; gap: 4px; margin: 8px 0; font-size: 13px; color: var(--brand-dark); background: #eef8f1; border-radius: 12px; padding: 8px 12px; }
#market-search input { width: 100%; border-radius: 999px; padding: 12px 16px; font-size: 15px; }
.aisle-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.aisle-chips .chip { flex: 0 0 auto; }
.aisle { margin: 16px 0; }
.aisle-title { margin: 0 0 8px; font-size: 18px; scroll-margin-top: 120px; }
.tile-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 600px) { .tile-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .tile-row { grid-template-columns: repeat(5, 1fr); } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; display: grid; gap: 3px; align-content: start; }
.tile-img { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #f3f5f3; display: grid; place-items: center; font-size: 36px; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile-add { position: absolute; right: 6px; bottom: 6px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: inherit; font-weight: 700; font-size: 13px; padding: 7px 12px; box-shadow: 0 2px 6px #0003; cursor: pointer; }
.tile-qty { position: absolute; right: 6px; bottom: 6px; display: flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; border-radius: 999px; padding: 3px 6px; box-shadow: 0 2px 6px #0003; }
.tile-qty button { border: 0; background: #ffffff33; color: #fff; width: 28px; height: 28px; border-radius: 50%; font-size: 17px; cursor: pointer; }
.tile-price { font-weight: 800; font-size: 15.5px; } .tile-price s { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.tile-name { font-size: 13.5px; line-height: 1.3; }
.tile .badges { display: flex; flex-wrap: wrap; gap: 4px; }
[dir=rtl] .tile-add, [dir=rtl] .tile-qty { right: auto; left: 6px; }
.tile-qty b { font-size: 15px; min-width: 14px; text-align: center; }
.tile-row.scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: thin; }
.tile-row.scroll .tile { flex: 0 0 42%; scroll-snap-align: start; }
@media (min-width: 600px) { .tile-row.scroll .tile { flex-basis: 30%; } }
@media (min-width: 900px) { .tile-row.scroll .tile { flex-basis: calc(20% - 10px); } }
/* Bandeau cookies (cookies.js) */
.cookie-box { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 2500; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px #0003; padding: 14px 16px; font-size: 14px; }
.cookie-box p { margin: 0 0 8px; }
.cookie-list { margin: 0 0 10px; padding-left: 18px; font-size: 13px; line-height: 1.45; display: grid; gap: 4px; }
body:has(.cart-bar:not(.hidden)) .cookie-box { bottom: 84px; }
/* Déménagements sur devis : offres des déménageurs et médias filmés par le client */
.move-quote h3 { font-size: 15px; margin: 12px 0 6px; }
.mover-offer { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 8px 0; background: #fff; }
.mover-head { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; }
.mover-photo { width: 48px; height: 48px; border-radius: 50%; background: #eef6ef; display: grid; place-items: center; font-size: 22px; overflow: hidden; }
.mover-photo img { width: 100%; height: 100%; object-fit: cover; }
.mover-price { grid-column: 2; font-weight: 800; font-size: 18px; white-space: nowrap; }
.move-quote > .row .mover-price { grid-column: auto; text-align: right; }
.mover-price .ok-text, .mover-price .hint { font-size: 12px; font-weight: 600; }
.move-media { display: flex; gap: 8px; overflow-x: auto; margin: 8px 0; }
.move-media img, .move-media video { width: 120px; height: 160px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); flex: none; background: #000; }
/* Pièces auto et bricolage : fiche technique, compatibilité, calculateur ; sécurité du transport pour le livreur */
.spec-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.spec-chips .spec { font-size: 12px; background: #f1f4f2; border-radius: 999px; padding: 2px 8px; }
.spec-chips .fit { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
.spec-chips .fit.ok { background: #e3f4e8; color: #126b35; }
.spec-chips .fit.no { background: #fff3dc; color: #8a5300; }
.spec-sheet { margin-top: 4px; }
.spec-sheet .kv { margin: 6px 0; }
.fit-list { margin: 4px 0 0; padding-left: 18px; font-size: 13px; }
.vehicle-bar form.row { align-items: end; }
.calc-result { margin-top: 8px; }
.hazard-boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2px 12px; margin: 4px 0 8px; }
.safety-box { border: 2px solid #f0b429; background: #fffaf0; border-radius: 12px; padding: 10px 12px; margin: 10px 0; }
.safety-box .kv { margin: 6px 0; }
.safety-box .hazard { border-top: 1px dashed #f0b429; padding-top: 6px; margin-top: 6px; }
.safety-box ul { margin: 6px 0 0; padding-left: 18px; }
/* Électronique façon DigiKey : comparaison des revendeurs, paliers de prix */
.elec-list { display: grid; gap: 8px; margin-top: 6px; }
.elec-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.elec-price { text-align: right; display: grid; gap: 2px; justify-items: end; }
.elec-price b { font-size: 17px; }
.elec-price button { padding: 6px 14px; margin-top: 4px; }
.spec-chips .spec.mpn { font-weight: 800; background: #e8eefc; color: #1d3a8a; }
.spec-chips .spec.deal { background: #fff3dc; color: #8a5300; font-weight: 700; }
.spec-chips a.spec { text-decoration: none; }
.tiers { width: 100%; border-collapse: collapse; margin: 6px 0; font-size: 14px; }
.tiers th, .tiers td { text-align: left; padding: 4px 8px; border-bottom: 1px solid var(--line); }
/* Boulangerie : créneau de livraison, message sur le gâteau, allergènes */
.slot-box { margin: 10px 0; }
.slot-line { background: #e8f5ec; border-radius: 10px; padding: 6px 10px; }
.custom-text { color: #7a4b00; font-style: italic; }
.spec-chips .spec.allergen { background: #fdecec; color: #8a1c1c; }
/* Ordinateur : la vidéo s'ouvre au centre, à taille de téléphone (pas sur toute la hauteur de l'écran) */
@media (min-width: 700px) {
  .video-viewer { background: rgba(0, 0, 0, .78); display: grid; place-items: center; }
  .video-feed { height: min(78vh, 680px); width: calc(min(78vh, 680px) * 9 / 16); border-radius: 18px; background: #000; box-shadow: 0 20px 60px #0008; }
  .video-slide video { width: 100%; height: 100%; }
  .video-close { top: 20px; right: 24px; }
}
/* Anti-gaspi (façon FoodHero) */
.ag-line { font-size: 12px; font-weight: 700; color: #1b6b3a; margin-top: 2px; }
.ag-pct { background: #1b6b3a; color: #fff; border-radius: 6px; padding: 0 5px; }
.ag-promise { margin: 2px 0 8px; }
.ag-saved { font-weight: 700; color: #1b6b3a; margin-top: 8px; }
button.ag-tile { border: 0; background: none; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.pbadge.antigaspi { background: #e3f4e8; color: #1b6b3a; }
/* Épiceries fines : origine, accords, cadeau */
.origin-line { font-size: 12px; font-weight: 700; color: #6b4a1b; margin-top: 2px; }
.pair-line { font-size: 12px; }
.gift-box { margin: 10px 0; }
.gift-line { background: #fdf1e3; border-radius: 10px; padding: 6px 10px; margin: 6px 0; }
/* Course « livreur-acheteur » */
.errand-box { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 10px 0; background: #fbfdfb; }
.errand-box h3, .errand-box h4 { margin: 4px 0 6px; }
.errand-list { margin: 4px 0; padding-left: 18px; }
.errand-purchases { display: grid; gap: 8px; margin: 8px 0; }
.errand-purchase, .errand-invoice { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: start; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #fff; }
.errand-purchase.approved { border-color: #1f8a4c; }
.errand-purchase.refused, .errand-purchase.expired { opacity: .7; }
.errand-photo { width: 64px; height: 64px; border-radius: 8px; background: #eef3ef; display: grid; place-items: center; overflow: hidden; font-size: 22px; }
.errand-photo.big { height: 84px; }
.errand-photo img { width: 100%; height: 100%; object-fit: cover; }
.errand-form { border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 8px; }
.errand-row { display: grid; grid-template-columns: 1fr 64px 110px 28px; gap: 6px; margin-bottom: 6px; }
.errand-head { display: grid; grid-template-columns: 1fr 64px 110px 28px; gap: 6px; font-size: 12px; font-weight: 700; margin-bottom: 2px; }
/* Petit bricolage (client-jobs.js, artisan.js) */
.job-card > .row { justify-content: space-between; align-items: flex-start; }
.job-file { width: 120px; height: 160px; border-radius: 10px; background: #eef3ef; display: grid; place-items: center; font-size: 24px; flex: none; overflow: hidden; }
.job-file a, .job-file img, .job-file video { width: 100%; height: 100%; display: block; }
.errand-photo a, .errand-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.job-offer, .job-sub { border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 8px; }
.job-sub h4 { margin: 4px 0; }
.trade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 12px; margin-bottom: 8px; }
/* Sécurité du personnel à domicile : animaux tenus à l'écart (common.js) */
.home-safety { border: 1px solid #f0d58a; background: #fff9e8; border-radius: 12px; padding: 10px 12px; margin: 10px 0; display: grid; gap: 4px; }
.hs-alert { border: 1px solid #f0b35a; background: #fff3df; border-radius: 10px; padding: 8px 10px; margin: 6px 0; }
.safety-banner { border-left: 4px solid #e2a21a; }
/* Questions fréquentes (aide.html) */
.faq-title { font-size: 22px; margin: 0 0 4px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary { cursor: pointer; padding: 10px 0; font-weight: 700; line-height: 1.4; }
.faq-item p { margin: 0 0 10px; line-height: 1.5; }
.faq-item .link { display: inline-block; margin: 0 0 10px; }
.faq-mails { margin: 6px 0 0 18px; padding: 0; line-height: 1.9; }
.site-footer .foot-contact { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; font-size: 14px; }
/* Carte des sauvegardes (Admin → Prix) */
.ok-box { background: #e9f6ee; border-left: 4px solid #1f8a4c; padding: 8px 12px; border-radius: 8px; margin: 6px 0; }
.error-box { background: #fdecec; border-left: 4px solid #c0392b; padding: 8px 12px; border-radius: 8px; margin: 6px 0; }

/* Accueil : lien bien visible vers les Questions fréquentes (réponses immédiates). */
.faq-banner { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); border: 2px solid var(--brand); background: #f1faf4; }
.faq-banner:hover { background: #e3f4e9; }
.faq-banner .faq-icon { font-size: 28px; line-height: 1; }
.faq-banner b { display: block; color: var(--brand-dark); font-size: 17px; }
.faq-banner .hint { display: block; margin: 2px 0 0; }
.faq-banner > span:nth-child(2) { flex: 1; min-width: 0; }
.faq-banner .faq-go { font-size: 28px; color: var(--brand-dark); font-weight: 700; }
