/* ══════════════════════════════════════════════════════════════
   Planning V2 — styles. Sélecteurs .pv2- UNIQUEMENT, aucun global.
   Cibles ≥ 48 px (≥ 56 px critiques), texte ≥ 16 px sur l'essentiel,
   pas d'emoji. Contraste AA (blanc sur #b45309, jamais sur #f59e0b).
   Fusionné le 2026-10-02 (BUG-111 : un seul bloc, plus de doublons).
   ══════════════════════════════════════════════════════════════ */

/* Phrase du jour */
.pv2-phrase { font-size: 17px; font-weight: 600; color: #0f172a; margin: 4px 0 10px; line-height: 1.4; }
.pv2-phrase-sub { font-size: 14px; color: #64748b; margin: 0 0 8px; }

/* L1 — bandeau « Léa a rempli votre semaine » */
.pv2-lea-band { display: flex; align-items: center; gap: 10px; background: #fff7ed; border: 2px solid #f59e0b; border-radius: 14px; padding: 10px 12px; margin: 0 0 10px; }
.pv2-lea-band-txt { flex: 1; font-size: 16px; font-weight: 700; color: #7c2d12; }
.pv2-lea-band-txt small { display: block; font-weight: 500; color: #9a3412; font-size: 14px; }

/* C8 — carte proposition Léa épinglée */
.pv2-lea-card { background: #fffbeb; border: 2px solid #f59e0b; border-radius: 16px; padding: 14px; margin: 0 0 12px; box-shadow: 0 2px 8px rgba(245,158,11,.15); }
.pv2-tag-lea { display: inline-block; background: #b45309; color: #fff; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.pv2-lea-sub { font-size: 16px; color: #92400e; margin-bottom: 2px; }
.pv2-lea-who { font-size: 19px; font-weight: 800; color: #0f172a; margin: 2px 0; }
.pv2-lea-when { font-size: 16px; color: #334155; margin-bottom: 10px; }
.pv2-row { display: flex; gap: 8px; margin-top: 10px; }
.pv2-row .pv2-btn { flex: 1; }

/* Boutons V2 */
.pv2-btn { min-height: 56px; border-radius: 14px; border: none; font-size: 16px; font-weight: 700; padding: 0 16px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pv2-btn-primary { background: var(--laiton); color: var(--navy-950); border: none; } /* FIX 2026-10-07 16h55 : laiton, jamais bleu */
.pv2-btn-warn { background: var(--ambre-email); color: #fff; } /* FIX 2026-10-07 : ambre émail (charte) */
.pv2-btn-ghost { background: #f1f5f9; color: #334155; min-height: 48px; }
.pv2-btn-danger { background: #fef2f2; color: #b91c1c; min-height: 56px; } /* destructif : 56 px */
.pv2-btn-block { width: 100%; margin-top: 8px; }
.pv2-btn:active { transform: scale(.98); }

/* C1 — carte héros (prochain VALIDÉ, jamais swipable) */
.pv2-hero { background: #fff; border: 2px solid #0f172a; border-radius: 18px; padding: 18px; margin: 0 0 14px; position: relative; }
.pv2-hero-type { display: inline-block; background: #0f172a; color: #fff; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.pv2-hero-hour { font-size: 44px; font-weight: 800; color: #0f172a; line-height: 1; }
.pv2-hero-who { font-size: 22px; font-weight: 700; margin: 6px 0 2px; }
.pv2-hero-where { font-size: 16px; color: #64748b; margin-bottom: 12px; }
.pv2-swipe-hint { font-size: 12px; color: #64748b; font-weight: 600; }

/* C3 — trous */
.pv2-trou { display: block; width: 100%; min-height: 56px; border: 2px dashed #cbd5e1; background: #f8fafc; border-radius: 14px; color: #475569; font-size: 16px; font-weight: 600; margin: 0 0 12px; padding: 10px; cursor: pointer; }
.pv2-trou small { display: block; font-weight: 400; font-size: 14px; color: #94a3b8; }
.pv2-trou-passe { cursor: default; border-style: solid; }

/* C7 — terminés repliés (vraie cible tactile) */
.pv2-replie { display: block; width: 100%; min-height: 48px; background: #f8fafc; border: 1px solid #e2e8f0; color: #475569; font-size: 16px; font-weight: 600; text-align: center; padding: 8px; border-radius: 12px; margin: 8px 0; cursor: pointer; }

/* F1 — filtres */
.pv2-filtres { display: flex; gap: 8px; margin: 0 0 10px; overflow-x: auto; padding-bottom: 4px; }
.pv2-chip { flex: 0 0 auto; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 2px solid #e2e8f0; background: #fff; font-size: 16px; font-weight: 600; color: #334155; cursor: pointer; }
.pv2-chip[aria-pressed="true"] { background: #0f172a; color: #fff; border-color: #0f172a; }

/* C5 — pastille Aujourd'hui */
.pv2-today-pill { position: fixed; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; background: #0f172a; color: #fff; border: none; border-radius: 999px; min-height: 48px; padding: 0 20px; font-size: 16px; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.25); }

/* N3 — barre Undo */
.pv2-undo { position: fixed; left: 16px; right: 16px; bottom: 96px; z-index: 60; background: #1e293b; color: #fff; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; font-size: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.pv2-undo span { flex: 1; }
.pv2-undo button { background: none; border: none; color: #fbbf24; font-weight: 800; font-size: 16px; min-height: 48px; padding: 0 8px; }

/* Bottom sheets V2 */
.pv2-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 40; /* 07/10 : sous la barre de navigation (z-50), jamais bloquante */ }
.pv2-sheet { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + 8px); z-index: 41; /* 07/10 : flotte au-dessus de la nav (z-50), jamais bloquant */ background: var(--papier); border-radius: 20px 20px 0 0; padding: 10px 18px calc(20px + env(safe-area-inset-bottom)); max-height: 88vh; overflow-y: auto; }
.pv2-sheet h2 { font-size: 20px; margin: 8px 0; }
.pv2-grab { width: 44px; height: 5px; background: #cbd5e1; border-radius: 99px; margin: 2px auto 8px; }
.pv2-kv { margin: 10px 0; padding-bottom: 10px; border-bottom: 1px solid #f1f5f9; font-size: 16px; }
.pv2-k { font-size: 13px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.pv2-v { font-size: 17px; color: #0f172a; }
.pv2-v a { color: #0ea5e9; font-weight: 700; }
.pv2-edit { background: none; border: none; color: #0ea5e9; font-size: 16px; font-weight: 700; min-height: 48px; padding: 4px 8px; text-decoration: underline; cursor: pointer; }
.pv2-input { width: 100%; min-height: 52px; border: 2px solid #0f172a; border-radius: 12px; font-size: 17px; padding: 8px 12px; margin: 4px 0 8px; background: #fff; color: #0f172a; }
.pv2-check { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; margin: 12px 0; min-height: 48px; }
.pv2-check input { width: 26px; height: 26px; accent-color: #0f172a; flex: none; }
.pv2-smsbox { background: #f1f5f9; border-radius: 12px; padding: 14px; font-size: 16px; line-height: 1.5; color: #334155; margin: 10px 0; }
.pv2-muted { color: #64748b; font-size: 15px; }
.pv2-degraded { background: #fef3c7; border-radius: 10px; padding: 8px 12px; font-size: 14px; color: #92400e; margin: 10px 0; }
.pv2-suggest { border: 2px dashed #f59e0b !important; background: #fffbeb !important; font-weight: 700 !important; }
.pv2-tap { cursor: pointer; }

/* Recherche (R1 : micro prioritaire) */
.pv2-mic { width: 88px; height: 88px; border-radius: 50%; background: #1e40af; color: #fff; font-size: 16px; font-weight: 700; border: none; display: block; margin: 16px auto; cursor: pointer; }
.pv2-res { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; font-size: 16px; color: #0f172a; margin: 8px 0; min-height: 56px; cursor: pointer; }
.pv2-demain-row { border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px; margin: 0 0 10px; background: #fff; }
.pv2-demain-row .pv2-row { margin-top: 8px; }

/* Mois (C6) */
.pv2-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 8px 0 12px; }
.pv2-cal-h { text-align: center; font-size: 13px; font-weight: 700; color: #94a3b8; padding: 6px 0; }
.pv2-cal-d { position: relative; min-height: 48px; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; font-size: 16px; font-weight: 600; color: #0f172a; display: flex; align-items: center; justify-content: center; flex-direction: column; cursor: pointer; }
.pv2-cal-d.today { background: #0f172a; color: #fff; }
.pv2-cal-d.sel { border: 2px solid #0ea5e9; }
.pv2-cal-d i { width: 7px; height: 7px; border-radius: 50%; margin-top: 2px; }
.pv2-cal-d i.j { background: #0ea5e9; }
.pv2-cal-d i.u { background: #f59e0b; }
.pv2-dot-j, .pv2-dot-u { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.pv2-dot-j { background: #0ea5e9; }
.pv2-dot-u { background: #f59e0b; }

/* Divers */
.pv2-banner-abs { background: #fef3c7; border: 1px solid #f59e0b; border-radius: 12px; padding: 12px; font-size: 15px; margin: 8px 0; }
.pv2-slot { display: block; width: 100%; text-align: left; }
.pv2-empty-cta { margin-top: 12px; }
.pv2-dayline { display: flex; gap: 8px; align-items: center; font-size: 16px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.pv2-dayline .pv2-h { font-weight: 800; min-width: 56px; }
.pv2-wd-urg { display: block; }

@media (prefers-reduced-motion: reduce) {
  .pv2-btn:active { transform: none; }
  .pv2-sheet, .pv2-undo { animation: none; }
}
/* B12 — surlignage de la file Léa quand on tape « Voir » */
.pv2-flash { outline: 3px solid #b45309; outline-offset: 3px; border-radius: 12px; }
/* §B-2 n°3 — la barre de navigation fixe du bas (72px) recouvrait les derniers
   boutons : espaceur en fin de liste du jour (100% .pv2-, layout legacy intact). */
.pv2-bottom-spacer { height: calc(96px + env(safe-area-inset-bottom)); }
/* FIX-PASS J2 (P2 bonus) : la pastille « Aujourd'hui » est appendée au body —
   elle ne doit jamais recouvrir le FAB hors de la vue planning. */
body:has(#planning-view.hidden) #pv2-today { display: none !important; }

/* ── Vague A : Planning — charte plaque (2026-10-07, corrigé 16h35) ──
   Vrais sélecteurs : .job-card et .pv2-btn-*. */
#planning-view { background: var(--papier); }
#planning-view .job-card, #plan-list .job-card {
  background: var(--card);
  border: 1px solid var(--laiton-line);
  border-radius: 16px;
}
#planning-view .pv2-btn-primary {
  background: var(--laiton);
  color: var(--navy-950);
  border: none;
}
/* FIX 2026-10-07 16h40 : la carte héros (.pv2-hero) a une bordure marine
   plus spécifique — on la passe en laiton */
#planning-view .pv2-hero { border-color: var(--laiton-line); }

/* ══════════════════════════════════════════════════════════════
   Planning V3 — Design Daniel (copie carbone mockup validé 07/10)
   Préfixe .pl3- — tokens : creme #F7F2EA, marine #162032, ocre #B07B37
   ══════════════════════════════════════════════════════════════ */

/* En-tête */
.pl3-head-kicker {
  font-family: 'Chivo', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
  font-weight: 700;
  color: #8E692D;
}
.pl3-head-title {
  font-family: 'Chivo', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin: 0;
}
.pl3-dicter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #D5C6AF;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  color: #1e293b;
  font-family: 'Chivo', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.025em;
  min-height: 44px;
  cursor: pointer;
}
.pl3-dicter:active { transform: scale(0.95); }
.pl3-dicter .pl3-mic-badge {
  width: 1.25rem; height: 1.25rem;
  border-radius: 9999px;
  background: #FAF3E8;
  color: #B07B37;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

/* Bandeau 7 jours */
.pl3-strip {
  background: #fff;
  border-radius: 1rem;
  padding: 0.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: 1px solid #E4D8C4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}
.pl3-strip-arrow {
  width: 1.75rem; height: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  color: #94a3b8;
  background: none; border: none; cursor: pointer;
  font-size: 20px;
}
.pl3-days {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  text-align: center;
}
.pl3-day {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.375rem 0;
  border-radius: 0.75rem;
  background: none; border: none; cursor: pointer;
  min-height: 52px;
}
.pl3-day .pl3-day-name { font-size: 11px; font-weight: 500; color: #64748b; }
.pl3-day .pl3-day-num {
  font-family: 'Chivo', sans-serif;
  font-weight: 800; font-size: 0.875rem; color: #1e293b;
}
.pl3-day.active { background: #B07B37; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.pl3-day.active .pl3-day-name { font-weight: 700; color: #fef3c7; }
.pl3-day.active .pl3-day-num { font-weight: 900; color: #fff; }
.pl3-day-dot { width: 0.25rem; height: 0.25rem; border-radius: 9999px; margin-top: 0.125rem; }
.pl3-day-dot.on { background: #B07B37; }
.pl3-day-dot.slate { background: #94a3b8; }
.pl3-day.active .pl3-day-dot.on { width: 0.375rem; height: 0.375rem; background: #fff; }

/* Ligne "Aujourd'hui" + badge */
.pl3-dayline {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0.25rem;
}
.pl3-dayline-title {
  font-family: 'Chivo', sans-serif;
  font-weight: 900; font-size: 0.875rem;
  letter-spacing: 0.025em; color: #0f172a;
}
.pl3-dayline-badge {
  font-size: 11px; font-weight: 700;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  background: #ECE2D2; color: #475569;
  border: 1px solid #DECFB8;
}

/* Carte CHANTIER EN COURS */
.pl3-hero {
  background: rgba(250,244,236,0.95);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid #E4D8C4;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; gap: 0.875rem;
  margin-bottom: 0.75rem;
}
.pl3-hero-top { display: flex; align-items: center; justify-content: space-between; }
.pl3-hero-kicker {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-family: 'Chivo', sans-serif;
  text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 0.75rem; font-weight: 900; color: #8E692D;
}
.pl3-hero-kicker::before {
  content: ''; width: 0.5rem; height: 0.5rem;
  border-radius: 9999px; background: #B07B37;
}
.pl3-ping { position: relative; display: inline-flex; width: 0.625rem; height: 0.625rem; }
.pl3-ping::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 9999px; background: #B07B37; opacity: 0.75;
  animation: pl3-ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}
.pl3-ping::after {
  content: ''; position: relative;
  border-radius: 9999px; width: 0.625rem; height: 0.625rem; background: #B07B37;
}
@keyframes pl3-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.pl3-hero-time {
  font-family: 'Chivo', sans-serif;
  font-size: 2.25rem; font-weight: 800;
  color: #0f172a; letter-spacing: -0.025em; line-height: 1;
}
.pl3-hero-who { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 700; color: #0f172a; }
.pl3-hero-where {
  display: flex; align-items: center; gap: 0.25rem;
  font-size: 0.75rem; color: #475569; margin-top: 0.125rem;
}
.pl3-hero-where .pl3-pin { color: #B07B37; font-size: 15px; flex-shrink: 0; }
.pl3-tag {
  font-size: 11px; font-weight: 600; color: #475569;
  background: #EFE6D7; padding: 0.25rem 0.625rem;
  border-radius: 0.375rem; border: 1px solid rgba(222,207,184,0.6);
  white-space: nowrap;
}
.pl3-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; padding-top: 0.25rem; }
.pl3-hero-actions-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.pl3-btn {
  width: 100%; padding: 0.75rem;
  border-radius: 0.75rem;
  font-family: 'Chivo', sans-serif;
  font-weight: 800; font-size: 0.875rem; letter-spacing: 0.025em;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  color: #fff; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem;
  min-height: 52px;
  text-decoration: none;
}
.pl3-btn:active { transform: scale(0.98); }
.pl3-btn-ocre { background: #B07B37; }
.pl3-btn-marine { background: #162032; }
.pl3-btn-ghost {
  background: #fff; color: #1e293b;
  border: 1px solid #D5C6AF;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.75rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.75rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem;
  min-height: 44px; cursor: pointer; text-decoration: none;
  width: 100%;
}
.pl3-btn-ghost:active { transform: scale(0.95); }

/* Bandeau Léa */
.pl3-lea-band {
  background: #fff; border-radius: 1rem;
  padding: 0.875rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: 1px solid #E4D8C4;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.pl3-lea-band-left { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.pl3-lea-avatar {
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px; background: #FAF3E8;
  border: 1px solid #E8DFC9;
  display: inline-flex; align-items: center; justify-content: center;
  color: #B07B37; flex-shrink: 0; font-size: 20px;
}
.pl3-lea-band-title {
  font-family: 'Chivo', sans-serif;
  font-weight: 800; font-size: 0.75rem; color: #0f172a;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pl3-lea-band-sub { font-size: 11px; color: #475569; margin-top: 0.125rem; }
.pl3-voir {
  padding: 0.5rem 1rem;
  background: #162032; color: #fff;
  border-radius: 0.75rem;
  font-family: 'Chivo', sans-serif; font-weight: 800; font-size: 0.75rem;
  letter-spacing: 0.025em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: none; cursor: pointer; flex-shrink: 0;
  min-height: 44px;
}
.pl3-voir:active { transform: scale(0.95); }

/* Carte PROPOSÉ PAR LÉA */
.pl3-lea-card {
  background: #fff; border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: 1px solid #E4D8C4;
  position: relative; overflow: hidden;
  margin-bottom: 0.75rem;
}
.pl3-lea-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 0.375rem; background: #B07B37;
}
.pl3-lea-card-inner { padding-left: 0.25rem; }
.pl3-lea-card-head { display: flex; align-items: center; justify-content: space-between; }
.pl3-lea-tag {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  background: #FAF3E8; color: #B07B37;
  border: 1px solid #EADFCB;
  padding: 0.125rem 0.5rem; border-radius: 9999px;
}
.pl3-lea-card-meta { font-size: 11px; font-weight: 500; color: #64748b; }
.pl3-lea-card-title {
  font-family: 'Chivo', sans-serif;
  font-weight: 800; font-size: 0.875rem; color: #0f172a;
  margin-top: 0.5rem;
}
.pl3-lea-card-sub { font-size: 0.75rem; color: #475569; margin-top: 0.125rem; }
.pl3-lea-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; padding-top: 0.5rem; }

/* Filtres */
.pl3-filtres {
  display: flex; align-items: center; gap: 0.375rem;
  overflow-x: auto; padding-bottom: 0.25rem;
}
.pl3-chip {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: #fff; border: 1px solid #D5C6AF;
  color: #475569; font-weight: 700; font-size: 0.75rem;
  flex-shrink: 0; cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  min-height: 40px;
  display: inline-flex; align-items: center; gap: 0.375rem;
}
.pl3-chip:active { transform: scale(0.95); }
.pl3-chip.active {
  background: #162032; color: #fff;
  font-family: 'Chivo', sans-serif; font-weight: 800;
  letter-spacing: 0.025em; border-color: #162032;
}
.pl3-chip .pl3-dot { width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: #B07B37; }

/* Recherche */
.pl3-search-wrap { position: relative; }
.pl3-search-icon {
  position: absolute; left: 0.75rem; top: 0.625rem;
  color: #94a3b8; font-size: 18px;
}
.pl3-search {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  border-radius: 0.75rem;
  background: #fff; color: #0f172a; font-size: 0.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: 1px solid #E4D8C4;
  min-height: 44px;
}
.pl3-search::placeholder { color: #94a3b8; }

/* Carte chantier (liste) */
.pl3-job {
  background: rgba(250,244,236,0.9);
  border-radius: 1rem; padding: 1rem;
  border: 1px solid #E4D8C4;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  margin-bottom: 0.75rem;
}
.pl3-job-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem; }
.pl3-job-slot {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-family: 'Chivo', sans-serif;
  text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 0.75rem; font-weight: 900; color: #8E692D;
}
.pl3-job-slot::before {
  content: ''; width: 0.5rem; height: 0.5rem;
  border-radius: 9999px; background: #B07B37;
}
.pl3-job-status {
  font-size: 11px; font-weight: 700; color: #b45309;
  background: #fef3c7; padding: 0.125rem 0.5rem;
  border-radius: 9999px; border: 1px solid #fde68a;
}
.pl3-job-body { display: flex; align-items: baseline; justify-content: space-between; margin-top: 0.5rem; }
.pl3-job-time {
  font-family: 'Chivo', sans-serif;
  font-size: 2.25rem; font-weight: 800;
  color: #0f172a; letter-spacing: -0.025em; line-height: 1;
}
.pl3-job-who { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 700; color: #0f172a; }
.pl3-job-where { font-size: 0.75rem; color: #475569; }
.pl3-job-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; margin-top: 1rem; }
.pl3-job-foot {
  margin-top: 0.625rem; padding-top: 0.5rem;
  border-top: 1px solid #E8DEC7;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: #475569;
}
.pl3-job-confirmed { display: inline-flex; align-items: center; gap: 0.25rem; color: #047857; font-weight: 500; }
.pl3-job-call { font-weight: 700; color: #475569; text-decoration: none; display: inline-flex; align-items: center; gap: 0.25rem; }

/* Trou (créneau libre) */
.pl3-trou {
  display: block; width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.7);
  border: 1px dashed #D5C6AF;
  text-align: center;
  font-family: 'Chivo', sans-serif; font-weight: 700; font-size: 0.75rem; color: #475569;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  margin-bottom: 0.75rem;
  min-height: 52px;
}
.pl3-trou:active { transform: scale(0.98); }
.pl3-trou .pl3-trou-ico { color: #B07B37; font-size: 18px; vertical-align: -4px; margin-right: 0.25rem; }

/* Terminés repliés */
.pl3-replie {
  display: block; width: 100%;
  background: #fff; border: 1px solid #E4D8C4;
  border-radius: 1rem; padding: 0.875rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  font-family: 'Chivo', sans-serif; font-weight: 800; font-size: 0.75rem; color: #1e293b;
  cursor: pointer; margin-bottom: 0.75rem;
  min-height: 52px;
}

/* Boutons bas de page */
.pl3-bottom-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; padding-top: 0.25rem; }
.pl3-bottom-btn {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: #fff; border: 1px solid #D5C6AF;
  color: #1e293b;
  font-family: 'Chivo', sans-serif; font-weight: 800; font-size: 0.75rem; letter-spacing: 0.025em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem;
  cursor: pointer; min-height: 52px;
}
.pl3-bottom-btn:active { transform: scale(0.95); }
.pl3-bottom-btn .pl3-ico { color: #B07B37; font-size: 17px; }

/* Espaceur bas */
.pl3-bottom-spacer { height: calc(96px + env(safe-area-inset-bottom)); }
