/* Journal d'activité et sauvegardes */
/* Filtres sur une seule ligne : recherche large, puis listes compactes et nombre d'entrées */
.jr-filtres{display:flex;align-items:center;gap:var(--esp-2);margin:0 0 var(--esp-3)}
.jr-filtres #jrQ{flex:1 1 auto;min-width:0}
.jr-filtres select.inp{width:auto;flex:none}
.jr-nb{flex:none;white-space:nowrap}
.jr-quand{white-space:nowrap}
.jr-act{display:inline-flex;align-items:center;gap:var(--esp-2);white-space:nowrap}
.jr-ic{width:26px;height:26px;border-radius:var(--r-btn);display:inline-grid;place-items:center;flex:none}
.jr-ic::before{display:none}
.jr-ic.pill{padding:0}
.jr-detail{max-width:520px;color:var(--muted);overflow-wrap:anywhere}
/* Détail limité à deux lignes (texte complet au survol) */
.jr-detail span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.jr-pages{justify-content:flex-end;margin-top:var(--esp-3)}
.sv-carte{display:flex;flex-direction:column;gap:var(--esp-3)}
.sv-ligne{display:flex;align-items:center;gap:6px;color:var(--muted);border-top:1px solid var(--line);padding-top:var(--esp-3)}
.sv-ligne svg{width:15px;height:15px;vertical-align:-3px;margin-right:6px}
@media (max-width:900px){.jr-filtres{flex-wrap:wrap}.jr-filtres #jrQ{flex-basis:100%}}
@media (max-width:640px){.jr-act{white-space:normal}}
/* Téléphone : chaque action devient une carte compacte (règles communes « table.ct » dans gestion.css) ; PC inchangé */
@media (max-width:760px){
  .jr-filtres select.inp{flex:1 1 140px;min-width:0}
  .jr-filtres #jrQ{min-height:40px}
  .content table.jr-table>tbody>tr{grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:8px 11px}
  .content table.jr-table td[data-l]::before{display:none}
  .content table.jr-table td.ct-t{padding-bottom:2px;border-bottom:0}
  .content table.jr-table td.jr-detail:has(>span:empty){display:none}
  .content table.jr-table .jr-act{white-space:normal}
  .content table.jr-table td.jr-quand{grid-column:1;color:var(--muted)}
  .content table.jr-table td.jr-quand+td{grid-column:2;align-items:flex-end;color:var(--muted)}
  .content table.jr-table td.jr-detail{max-width:none}
  .content table.jr-table td.jr-lien{grid-column:1/-1}
  .content table.jr-table td.jr-lien .btn{min-height:38px}
  .jr-pages{justify-content:space-between}
  .jr-pages .btn{min-height:40px}
}
