/* ARDÈVE Ovronnaz — App ménage — palette qui fait foi (01-marque/PALETTE-QUI-FAIT-FOI.md) :
   vert sapin #1B2A20, sable #F6D8A9, or #A88D5D, eau thermale #2F6873, lin #E4DCCF, pierre #6E6A62 */
:root {
  --violet: #24382C;        /* ancien « violet » : ton moyen du vert sapin */
  --violet-d: #1B2A20;      /* vert sapin — fond sombre, encre */
  --violet-card: #203327;
  --gold: #A88D5D;          /* or */
  --gold-soft: #F6D8A9;     /* sable */
  --ink: #F6F2EA;           /* neige chaude */
  --bg: #14201A;
  --card: #1B2A20;
  --line: #2F4438;
  --muted: #B9B0A0;
  --ok: #4CBF8B;
  --warn: #E0A458;
  --bad: #E06565;
  --eau: #2F6873;           /* eau thermale — liens */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
/* Pas de zoom au double-tap (pavé PIN, boutons) — le pinch reste possible */
button, a, input, select, textarea, .pinpad, #bottomnav, .helpers { touch-action: manipulation; }
html { touch-action: manipulation; }
html { -webkit-text-size-adjust: 100%; }
html { font-size: 17px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg); color: var(--ink);
  min-height: 100dvh;
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
}
h1, h2, h3, .brand { font-family: 'Cormorant Garamond', Georgia, serif; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

#topbar {
  background: linear-gradient(180deg, var(--violet-d), var(--violet));
  color: #fff; border-bottom: 1px solid var(--gold);
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; position: sticky; top: 0; z-index: 10;
}
.brand { font-size: 1.05rem; }
.brand span { color: var(--gold); }
.brand em { font-style: normal; font-size: .85rem; opacity: .8; }
.hdr-right { display: flex; gap: 8px; }
button.ghost {
  background: rgba(168,141,93,.12); color: var(--gold-soft); border: 1px solid var(--gold);
  border-radius: 8px; padding: 6px 12px; font-family: 'Inter'; font-weight: 600; font-size: .85rem;
}

main { max-width: 560px; margin: 0 auto; padding: 16px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px; margin-bottom: 14px;
}
.card h2 { font-size: 1.05rem; color: var(--gold); margin-bottom: 10px; }
.muted { color: var(--muted); font-size: .88rem; }

/* Barre de navigation basse — style app native */
#bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  display: grid; grid-auto-flow: column; gap: 4px;
  /* fond opaque + translateZ : évite le bug iOS de barre fixe qui se détache au scroll */
  background: #14201A;
  border-top: 1px solid var(--gold);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  transform: translateZ(0);
  will-change: transform;
}
#bottomnav button {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-family: 'Inter'; font-weight: 600;
  padding: 6px 4px; border-radius: 12px; min-height: 54px;
}
#bottomnav button i { font-style: normal; font-size: 1.45rem; line-height: 1.2; }
#bottomnav button span { font-size: .68rem; letter-spacing: .02em; }
#bottomnav button.on { color: var(--gold); background: rgba(168,141,93,.12); }
#bottomnav[hidden] { display: none; }

.btn.big-photo { font-size: 1.15rem; padding: 20px; margin-top: 12px; }

/* Boutons */
.btn {
  display: block; width: 100%; text-align: center; border: none; border-radius: 12px;
  padding: 15px; font-family: 'Inter'; font-size: 1rem; font-weight: 600; cursor: pointer;
  background: var(--violet); color: #fff; margin-top: 10px; border: 1px solid transparent;
}
.btn.gold { background: var(--gold); color: var(--violet-d); }
.btn.outline { background: transparent; color: var(--gold-soft); border: 1.5px solid var(--gold); }
.btn.danger { background: var(--bad); color: #fff; }
.btn:disabled { opacity: .4; }
.btn.small { padding: 9px; font-size: .88rem; margin-top: 6px; }

/* Login */
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.pinpad button {
  font-size: 1.5rem; padding: 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--violet-card); color: var(--ink); font-family: 'Inter'; font-weight: 600;
}
.pin-dots { text-align: center; font-size: 1.8rem; letter-spacing: .4em; min-height: 44px; color: var(--gold); }

/* Arrivées */
.arr {
  border-left: 4px solid var(--gold); background: var(--violet-card); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 10px;
  border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.arr { padding: 13px 14px; }
/* Consigne lit extra / berço : bloc pleine largeur, impossible à rater */
.task-do {
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px; padding: 12px 14px; border-radius: 12px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
}
.task-do.warn { background: rgba(224,164,88,.16); color: var(--warn); border: 1.5px solid var(--warn); }
.task-do.alert { background: rgba(224,101,101,.16); color: var(--bad); border: 1.5px solid var(--bad); }
.task-do.pet { background: rgba(122,171,224,.14); color: #8FBBE8; border: 1.5px solid #5E8FBF; }
.badge.pet { background: rgba(122,171,224,.14); color: #8FBBE8; border-color: #5E8FBF; }
/* Réservation entrée dans les 24 h : elle n'était pas au planning de la veille */
.task-do.newres {
  background: rgba(168,141,93,.18); color: var(--gold); border: 1.5px solid var(--gold);
  animation: newres-pulse 2s ease-in-out infinite;
}
.badge.newres { background: rgba(168,141,93,.2); color: var(--gold); border-color: var(--gold); }
@keyframes newres-pulse { 0%, 100% { opacity: 1 } 50% { opacity: .62 } }
@media (prefers-reduced-motion: reduce) { .task-do.newres { animation: none } }

/* Limpeza en cours dans cette maison */
.running {
  margin-top: 10px; padding: 9px 12px; border-radius: 10px; text-align: center;
  background: rgba(76,191,139,.14); border: 1.5px solid var(--ok); color: var(--ok);
  font-weight: 700; font-size: .82rem; letter-spacing: .03em;
}
.abtn.resume { background: linear-gradient(180deg, #6FD4A4, var(--ok)); color: #06231a; box-shadow: 0 4px 16px rgba(76,191,139,.28); }

/* Priorité du jour (carte maison) */
.priority {
  display: flex; align-items: center; gap: 8px; margin-top: 10px;
  padding: 11px 14px; border-radius: 12px; font-weight: 700; font-size: .92rem;
  background: rgba(224,164,88,.16); color: var(--warn); border: 1.5px solid var(--warn);
}
.priority.hot {
  background: rgba(224,101,101,.18); color: var(--bad); border-color: var(--bad);
  animation: pulse 1.6s ease-in-out infinite;
}
.today-line { margin-top: 8px; font-size: .88rem; color: var(--gold-soft); font-weight: 600; }

.task-do.bf-task {
  background: rgba(168,141,93,.16); color: var(--gold-soft); border: 1.5px solid var(--gold);
  cursor: pointer; justify-content: space-between;
}
.bf-caret {
  flex-shrink: 0; margin-left: 8px; align-self: center;
  background: var(--gold); color: var(--violet-d); border-radius: 999px;
  padding: 7px 13px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
}
.bf-panel { margin-top: 6px; padding: 4px 12px 10px; background: var(--violet-card); border: 1px solid var(--line); border-radius: 12px; }
.bf-panel[hidden] { display: none; }
.bf-panel .chk li { padding: 9px 4px; font-size: .92rem; }
.bf-total {
  margin: 8px 0 2px; padding: 9px 12px; border-radius: 10px;
  background: rgba(168,141,93,.14); border: 1px solid rgba(168,141,93,.4);
  color: var(--gold-soft); font-size: .82rem; font-weight: 700; text-align: center; line-height: 1.4;
}

/* Réponses alimentaires du client (messagerie Beds24) */
.guest-note {
  margin-top: 10px; padding: 11px 13px; border-radius: 12px;
  background: rgba(122,171,224,.13); border: 1.5px solid #5E8FBF;
}
.gn-head { font-size: .76rem; font-weight: 700; letter-spacing: .03em; color: #8FBBE8; margin-bottom: 5px; }
.gn-text { font-size: .95rem; line-height: 1.45; color: var(--ink); }
.gn-text + .gn-text { margin-top: 6px; padding-top: 6px; border-top: 1px dashed rgba(122,171,224,.35); }

/* Remarques staff */
.rm {
  margin-top: 10px; padding: 12px 14px; border-radius: 12px;
  background: rgba(224,164,88,.12); border: 1.5px solid var(--warn);
}
.rm.alert { background: rgba(224,101,101,.14); border-color: var(--bad); }
.rm-head { font-weight: 700; font-size: .82rem; letter-spacing: .04em; color: var(--warn); }
.rm.alert .rm-head { color: var(--bad); }
.rm-text { margin: 5px 0 4px; font-size: .98rem; line-height: 1.45; }
.rm .btn { width: auto; padding: 8px 16px; margin-top: 8px; }

/* Mémos petit-déjeuner */
.bf {
  border-left: 4px solid var(--gold); background: var(--violet-card); border-radius: 10px;
  padding: 13px 14px; margin-bottom: 12px;
  border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.bf .d { font-weight: 700; color: var(--gold-soft); font-size: 1rem; }
.bf .people { margin-top: 5px; font-size: 1rem; }
.bf .bf-list { margin-top: 8px; }
.bf .bf-list li { padding: 9px 4px; font-size: .92rem; }

/* 12 derniers mois */
.month-select { margin-top: 4px; }
.m12-row {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 10px; align-items: center;
  padding: 7px 0; border-bottom: 1px solid var(--line); cursor: pointer;
}
.m12-row:last-child { border-bottom: none; }
.m12-label { font-size: .82rem; color: var(--muted); text-transform: capitalize; }
.m12-bar { height: 10px; background: var(--violet-card); border-radius: 999px; overflow: hidden; }
.m12-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); border-radius: 999px; }
.m12-val { font-size: .85rem; font-weight: 600; color: var(--gold-soft); white-space: nowrap; }
.m12-block { padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
.m12-block:last-child { border-bottom: none; }
.m12-block .m12-row { border-bottom: none; }
.m12-split { font-size: .8rem; padding-left: 86px; }
.m12-staff { font-size: .85rem; padding: 3px 0 0 86px; color: var(--ink); }

/* Chips pièces (suggestion photos) */
.room-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; justify-content: center; }
.rchip {
  padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--violet-card); color: var(--muted); font-family: 'Inter'; font-weight: 600; font-size: .85rem;
}
.rchip.done { border-color: var(--ok); color: var(--ok); background: rgba(76,191,139,.12); }

/* Chips falta material */
.supply-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.supply-chips button {
  padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--violet-card); color: var(--ink); font-family: 'Inter'; font-weight: 600; font-size: .85rem;
}
.supply-chips button.on { border-color: var(--gold); background: var(--gold); color: var(--violet-d); }

/* Mini-résumé de préparation (carte maison, accueil) */
.prep { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.prep-date { font-size: .85rem; font-weight: 600; color: var(--gold-soft); margin-right: 2px; }

.maps-link { color: var(--gold); text-decoration: underline; }

/* Termos e Condições */
.terms-link {
  background: none; border: none; color: var(--muted); font-family: 'Inter';
  font-size: .8rem; text-decoration: underline; cursor: pointer; padding: 6px; margin-top: 4px;
}
.terms h3 { font-family: 'Inter'; font-weight: 700; font-size: .95rem; color: var(--gold-soft); margin: 14px 0 4px; text-transform: none; letter-spacing: 0; }
.terms p { font-size: .88rem; line-height: 1.55; color: var(--ink); margin-bottom: 6px; }
.terms p.muted { color: var(--muted); margin-top: 12px; }

/* Sous-lignes du rapport par personne */
.rep-sub { color: var(--muted); font-size: .85rem; padding: 3px 0 0 14px; }
.no-extra { margin-top: 8px; font-size: .82rem; color: var(--ok); }
.cmt-list { margin-top: 8px; border-top: 1px dashed var(--line); padding-top: 8px; }
.cmt { color: var(--muted); font-size: .85rem; padding: 2px 0; }
.cmt::before { content: '— '; color: var(--gold); }
.arr .d { font-weight: 700; color: var(--gold-soft); font-size: 1rem; }
.arr .people { margin-top: 5px; font-size: 1rem; }
.arr .badges { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 7px; }
.badge {
  font-size: .8rem; font-weight: 600; border-radius: 999px; padding: 5px 12px;
  background: rgba(168,141,93,.15); color: var(--gold-soft); border: 1px solid rgba(168,141,93,.35);
}
.badge.warn { background: rgba(224,164,88,.15); color: var(--warn); border-color: rgba(224,164,88,.45); }
.badge.alert { background: rgba(224,101,101,.15); color: var(--bad); border-color: rgba(224,101,101,.45); }
.badge.ok { background: rgba(76,191,139,.15); color: var(--ok); border-color: rgba(76,191,139,.45); }
.badge.tappable { cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }

/* Cartes maison (accueil) */
.house-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.house-head h2 { margin-bottom: 0; color: var(--gold); }
.btn.play {
  font-size: 1.25rem; padding: 20px; background: var(--gold); color: var(--violet-d);
  letter-spacing: .02em; box-shadow: 0 3px 14px rgba(168,141,93,.25);
}

/* Boutons "vraie app" : grosses tuiles icône + libellé */
.app-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 12px; }
.abtn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 18px 10px; border-radius: 18px; border: none; cursor: pointer;
  font-family: 'Inter'; font-weight: 700; font-size: .95rem;
  transition: transform .08s ease;
}
.abtn:active { transform: scale(.96); }
.abtn i { font-style: normal; font-size: 1.9rem; line-height: 1; }
.abtn.play {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--violet-d); box-shadow: 0 4px 16px rgba(168,141,93,.3);
}
.abtn.photo {
  background: var(--violet); color: #fff; border: 1.5px solid var(--line);
  box-shadow: 0 4px 16px rgba(59,18,97,.35);
}
.btn.stop {
  font-size: 1.25rem; padding: 20px; background: var(--bad); color: #fff;
  box-shadow: 0 3px 14px rgba(224,101,101,.25);
}

/* Rappel photos finales */
.reminder {
  background: rgba(224,164,88,.12); border: 1.5px solid var(--warn); color: var(--warn);
  border-radius: 12px; padding: 12px 14px; margin-top: 10px; font-weight: 600; text-align: center;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.02); } }

/* Actions rapides en session */
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qbtn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 8px; border-radius: 12px; border: 1.5px solid var(--gold);
  background: var(--violet-card); color: var(--gold-soft); font-family: 'Inter'; font-weight: 600; font-size: 1.4rem;
}
.qbtn span { font-size: .78rem; }
.qbtn b { font-size: .85rem; background: var(--gold); color: var(--violet-d); border-radius: 999px; padding: 1px 9px; }
.qbtn.alert { border-color: var(--warn); color: var(--warn); }
.qbtn.alert b { background: var(--warn); color: #fff; }

/* Sélecteur nombre de personnes */
.helpers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 4px; }
.helpers button {
  padding: 14px; font-size: 1.2rem; font-weight: 700; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--violet-card); color: var(--ink); font-family: 'Inter';
}
.helpers button.on { border-color: var(--gold); background: var(--gold); color: var(--violet-d); }

/* Checklist */
.chk { list-style: none; }
.chk li {
  display: flex; align-items: center; gap: 14px; padding: 14px 4px;
  border-bottom: 1px solid var(--line); font-size: 1rem;
}
.chk li:last-child { border-bottom: none; }
.chk input { width: 28px; height: 28px; accent-color: var(--gold); flex-shrink: 0; }
.chk li.done { color: #6d6383; text-decoration: line-through; }

/* Photos */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.phase-tag { font-size: .7rem; text-align: center; margin-top: 2px; }

/* Timer */
.timer { font-family: 'Cormorant Garamond'; font-size: 2.6rem; text-align: center; color: var(--gold); margin: 6px 0; }
.timer.paused { color: var(--warn); animation: pulse 1.6s ease-in-out infinite; }
.pause-label { color: var(--warn); font-weight: 700; font-size: .82rem; margin-bottom: 4px; }
.pause-btn { width: auto; margin: 6px auto 10px; padding: 9px 26px; display: block; }
.geo-status { text-align: center; font-size: .8rem; font-weight: 600; }
.geo-status.in { color: var(--ok); }
.geo-status.out { color: var(--bad); }

/* Admin */
.sess-row { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.sess-row b { color: var(--gold-soft); }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tabs button {
  flex: 1; padding: 10px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-family: 'Inter'; font-weight: 600; font-size: .85rem;
}
.tabs button.on { background: var(--gold); color: var(--violet-d); border-color: var(--gold); }

select, input[type=text], input[type=number], textarea {
  width: 100%; padding: 11px; border: 1px solid var(--line); border-radius: 10px;
  font-family: 'Inter'; font-size: .95rem; background: var(--violet-card); color: var(--ink); margin-top: 6px;
}

#toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--violet-d); padding: 12px 20px; border-radius: 10px;
  font-size: .9rem; font-weight: 600; z-index: 100; max-width: 90%; text-align: center;
}
.center { text-align: center; }
.mt { margin-top: 12px; }

/* Icônes SVG inline */
svg.ic { vertical-align: -0.18em; flex-shrink: 0; }
h2 svg.ic { color: var(--gold); margin-right: 2px; }
.badge svg.ic { vertical-align: -0.22em; }
#bottomnav button i { display: flex; }
.done-ic { color: var(--ok); margin: 10px 0; }
.btn svg.ic { vertical-align: -0.22em; }

/* Rapport mensuel */
.report-head h2 { font-size: 1.25rem; }
.rep-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rep-grid div {
  background: var(--violet-card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 10px; text-align: center; display: flex; flex-direction: column; gap: 3px;
}
.rep-grid b { font-family: 'Cormorant Garamond'; font-size: 1.5rem; color: var(--gold); font-weight: 400; }
.rep-grid span { font-size: .78rem; color: var(--muted); }

/* Coche blanchisserie (panneau de fin) */
.laundry-row {
  display: flex; align-items: center; gap: 12px; margin-top: 14px;
  padding: 12px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--violet-card); font-size: .92rem; font-weight: 600; cursor: pointer;
}
.laundry-row input { width: 26px; height: 26px; accent-color: var(--gold); flex-shrink: 0; }

/* Comparaison temps réel vs standard hôtel (panneau de fin) */
.std-time { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.std-time div {
  background: var(--violet-card); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px;
}
.std-time b { font-family: 'Cormorant Garamond'; font-size: 1.5rem; color: var(--gold); font-weight: 400; }
.std-time span { font-size: .72rem; color: var(--muted); }

/* Minutes recommandées (standards hôtellerie) sur la checklist */
.chk-min { margin-left: auto; font-style: normal; font-size: .8rem; color: var(--gold); white-space: nowrap; }
.chk li.done .chk-min { color: #6d6383; }

/* ---- Marque PARADIZZ : habillage premium (vert profond + champagne) ---- */
.card.house.brand-paradizz {
  background: linear-gradient(160deg, #10241d, #0a1512);
  border-color: #2C4A3E;
}
.card.house.brand-paradizz h2 { color: #E4D3AC; letter-spacing: .12em; }
.card.house.brand-paradizz .abtn.play {
  background: linear-gradient(180deg, #EBDDBC, #D8C29D); color: #10241d;
  box-shadow: 0 4px 16px rgba(216,194,157,.25);
}
.card.house.brand-paradizz .abtn.photo {
  background: #1B3A2F; color: #E4D3AC; border-color: #2C4A3E;
  box-shadow: 0 4px 16px rgba(16,36,29,.5);
}
body.brand-paradizz { background: #0A1512; }
body.brand-paradizz #topbar {
  background: linear-gradient(180deg, #10241d, #1B3A2F); border-bottom-color: #D8C29D;
}
body.brand-paradizz .brand span { color: #D8C29D; }
body.brand-paradizz .card { background: #10241D; border-color: #2C4A3E; }
body.brand-paradizz .card h2, body.brand-paradizz .timer, body.brand-paradizz .chk-min { color: #E4D3AC; }
body.brand-paradizz .qbtn { background: #0d1e18; border-color: #D8C29D; color: #E4D3AC; }
body.brand-paradizz .qbtn b { background: #D8C29D; color: #10241d; }
body.brand-paradizz .btn.gold, body.brand-paradizz #bottomnav button.on {
  background: #D8C29D; color: #10241d;
}
body.brand-paradizz #bottomnav { background: rgba(10,21,18,.96); border-top-color: #D8C29D; }
body.brand-paradizz #bottomnav button.on { background: rgba(216,194,157,.14); color: #E4D3AC; }
body.brand-paradizz .chk input { accent-color: #D8C29D; }

/* Carte GPS + gestion PIN */
.gps-line { font-weight: 600; font-size: .92rem; }
.gps-line.ok { color: var(--ok); margin: 2px 2px 10px; }
.gps-line.bad { color: var(--bad); }
.staff-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.staff-actions .btn { width: auto; flex: 1; margin-top: 0; padding: 9px 6px; font-size: .8rem; }
.share-row { display: flex; gap: 6px; margin-top: 8px; }
.share-row .btn { width: auto; flex: 1; margin-top: 0; text-decoration: none; text-align: center; }
.pin-panel input { margin-bottom: 4px; }

/* Dossier de preuve */
.ev-photo img {
  width: 100%; border-radius: 12px; border: 1px solid var(--line); margin: 8px 0;
}

/* Impression : fond blanc, texte noir, sans navigation */
@media print {
  body { background: #fff; color: #111; padding-bottom: 0; }
  #topbar, #bottomnav, .no-print, #toast { display: none !important; }
  .card { background: #fff; border-color: #ccc; box-shadow: none; break-inside: avoid; }
  .card h2, .rep-grid b, .arr .d, .sess-row b { color: #1B2A20; }
  .muted, .rep-grid span { color: #555; }
  .rep-grid div { background: #f7f4fb; border-color: #ddd; }
  .sess-row { border-color: #ddd; }
  .ev-photo { break-inside: avoid; }
  .ev-photo img { border-color: #ccc; max-height: 16cm; object-fit: contain; }
}

/* Visionneuse photo plein écran */
#lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(6, 3, 10, .97);
  display: flex; align-items: center; justify-content: center;
}
#lightbox[hidden] { display: none; }
#lightbox img { max-width: 100vw; max-height: 100vh; object-fit: contain; }
#lightbox #lb-close {
  position: absolute; top: calc(12px + env(safe-area-inset-top)); left: 12px;
  background: var(--gold); color: var(--violet-d); border: none; border-radius: 10px;
  padding: 12px 20px; font-family: 'Inter'; font-weight: 700; font-size: .95rem; z-index: 51;
}
.photo-grid img.zoomable, img.zoomable { cursor: zoom-in; }

/* --- Trajets (ARDÈVE) --- */
.card.trip.on { border-color: var(--gold); }
.trip-stats { grid-template-columns: repeat(4, 1fr); }
.trip-stats b { font-size: 1.15rem; }
.trip-stats span { font-size: .62rem; }
.card.trip input[type=number] { width: 100%; margin: 8px 0; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--violet-card); color: var(--ink); font-size: 1rem; }
.file-btn { display: block; text-align: center; cursor: pointer; }
.card label { display: block; margin-top: 8px; font-size: .85rem; color: var(--muted); }
.card label input { display: block; width: 100%; margin-top: 4px; padding: 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--violet-card); color: var(--ink); font-size: 1rem; }
