/* ============================================================
   Sofilec Ticketing v2 — Style Pro
   Inspiré de Jira Service Management / Freshservice
   ============================================================ */

:root {
  --primary: #8f0e24;
  --primary-light: #fce4e8;
  --bg: #f5f0e8;              /* fond beige pâle chaud */
  --card-bg: #fdfaf4;         /* cartes crème doux */
  --gray-50: #f6f3ee; --gray-100: #efe9e0; --gray-200: #e0d8cc;
  --gray-300: #cbc0b2; --gray-400: #a0988a; --gray-500: #787062;
  --gray-600: #5f584c; --gray-700: #484236; --gray-800: #302b24;
  --green: #059669; --green-light: #dcf5e8;
  --yellow: #b45309; --yellow-light: #fef3e6;
  --red: #dc2626; --red-light: #fee9e9;
  --purple: #7c3aed; --purple-light: #ede9fe;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.04);
  --radius: 8px; --radius-lg: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.5;
  min-height: 100vh;
}

/* LOGIN */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6b0a1a 0%, #8f0e24 100%);
  padding: 20px;
}
.login-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.login-card .logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-card .logo h1 { font-size: 28px; color: var(--primary); }
.login-card .logo p { color: var(--gray-400); font-size: 13px; margin-top: 4px; }
.login-card h2 { font-size: 20px; margin-bottom: 4px; }
.login-card .sub { color: var(--gray-500); font-size: 13px; margin-bottom: 24px; }
.login-card label { font-size: 13px; font-weight: 500; color: var(--gray-700); display: block; margin-bottom: 6px; }
.login-card input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border .15s;
}
.login-card input[type="email"]:focus { outline: none; border-color: var(--primary); }
.login-card .btn {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.login-card .btn:hover { background: #1d4ed8; }
.login-card .btn:disabled { opacity: .6; cursor: default; }

/* APP LAYOUT */
.app-container { display: flex; min-height: 100vh; }

/* SIDEBAR */
.sidebar {
  width: 240px; background: var(--gray-800); color: white;
  display: flex; flex-direction: column; flex-shrink: 0;
}
.sidebar-header { padding: 20px; border-bottom: 1px solid var(--gray-700); }
.sidebar-header h1 { font-size: 16px; font-weight: 700; letter-spacing: -.5px; }
.sidebar-header .sub { font-size: 11px; color: var(--gray-400); margin-top: 2px; }
.sidebar-nav { flex: 1; padding: 8px 0; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; color: var(--gray-300); font-size: 13px;
  cursor: pointer; border: none; background: none; width: 100%;
  text-align: left; transition: all .12s; position: relative;
}
.nav-item:hover { background: var(--gray-700); color: white; }
.nav-item.active { background: var(--primary); color: white; font-weight: 600; }
.nav-item .badge-it {
  margin-left: auto; background: var(--red); color: white; font-size: 10px;
  font-weight: 700; padding: 2px 8px; border-radius: 10px; min-width: 22px;
  text-align: center; line-height: 1.4;
}
.sidebar-footer { padding: 16px 20px; border-top: 1px solid var(--gray-700); font-size: 12px; color: var(--gray-400); }
.sidebar-footer .email { color: var(--gray-200); font-weight: 500; word-break: break-all; }
.sidebar-footer .role-badge {
  display: inline-block; margin-top: 6px; padding: 2px 10px;
  border-radius: 10px; font-size: 10px; font-weight: 600; letter-spacing: .5px;
}
.role-it { background: var(--purple); color: white; }
.role-user { background: var(--gray-600); color: white; }
.btn-logout {
  margin-top: 10px; width: 100%; padding: 6px;
  background: none; border: 1px solid var(--gray-600); color: var(--gray-300);
  border-radius: 6px; font-size: 11px; cursor: pointer;
}
.btn-logout:hover { background: var(--gray-700); color: white; }
.btn-refresh {
  display: block; width: 100%; margin: 6px 0; padding: 6px 0;
  background: transparent; color: var(--gray-400); border: 1px solid var(--gray-600);
  border-radius: 6px; font-size: 12px; cursor: pointer; transition: all .15s;
}
.btn-refresh:hover { background: var(--gray-700); color: white; border-color: var(--gray-500); }

/* MAIN CONTENT */
.main-content { flex: 1; padding: 28px 36px; overflow-y: auto; background: var(--gray-50); }
.page-title { font-size: 22px; font-weight: 700; margin-bottom: 4px; color: var(--gray-900); }
.page-subtitle { font-size: 13px; color: var(--gray-500); margin-bottom: 24px; }

/* CARDS */
.card { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--gray-100); font-weight: 600; font-size: 14px; }
.card-body { padding: 20px; }

/* STAT CARDS */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card {
  background: var(--card-bg); border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); cursor: pointer;
  transition: all .12s;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.stat-card .count { font-size: 32px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.stat-card .label { font-size: 12px; color: var(--gray-500); font-weight: 500; }

/* CATEGORY GRID */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.cat-card {
  background: var(--card-bg); border: 2px solid var(--gray-200); border-radius: var(--radius);
  padding: 20px 16px; text-align: center; cursor: pointer; transition: all .15s;
}
.cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card.selected { border-color: var(--primary); background: var(--primary-light); }
.cat-card .icon { font-size: 32px; margin-bottom: 8px; }
.cat-card .name { font-size: 13px; font-weight: 600; color: var(--gray-700); }
.cat-card .desc { font-size: 11px; color: var(--gray-400); margin-top: 2px; }

/* TICKET LIST */
.ticket-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: var(--card-bg); border-bottom: 1px solid var(--gray-100);
  cursor: pointer; transition: background .1s;
}
.ticket-item:hover { background: var(--gray-50); }
.ticket-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.ticket-item:last-child { border-radius: 0 0 var(--radius) var(--radius); border-bottom: none; }
.ticket-item .tid { font-size: 12px; color: var(--gray-400); font-weight: 700; min-width: 50px; }
.ticket-item .info { flex: 1; min-width: 0; }
.ticket-item .subject { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket-item .meta { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.ticket-item .badges { display: flex; gap: 6px; flex-shrink: 0; }

/* BADGES */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600;
  white-space: nowrap;
}
.badge-prio { font-size: 10px; padding: 2px 8px; }
.badge-status { font-size: 11px; padding: 3px 10px; }

/* TICKET DETAIL */
.ticket-detail { max-width: 820px; }
.ticket-detail .header-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.ticket-detail .ticket-title { font-size: 20px; font-weight: 700; }
.ticket-detail .meta-row { display: flex; gap: 20px; color: var(--gray-500); font-size: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.ticket-detail .meta-row span { display: flex; align-items: center; gap: 4px; }

.solution-box {
  background: var(--green-light); border: 1px solid var(--green);
  border-radius: var(--radius); padding: 20px; margin: 16px 0;
}
.solution-box h4 { color: var(--green); margin-bottom: 8px; font-size: 14px; }
.solution-actions { display: flex; gap: 10px; margin-top: 14px; }

.message { padding: 12px 16px; border-left: 3px solid var(--gray-200); margin-bottom: 6px; background: var(--card-bg); border-radius: 0 var(--radius) var(--radius) 0; }
.message .sender { font-size: 12px; font-weight: 600; color: var(--gray-600); }
.message .date { font-size: 11px; color: var(--gray-400); margin-left: 8px; }
.message .text { margin-top: 4px; font-size: 14px; white-space: pre-wrap; word-break: break-word; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: var(--radius); font-size: 13px;
  font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: all .12s; font-family: inherit;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #1d4ed8; }
.btn-secondary { background: var(--card-bg); color: var(--gray-700); border-color: var(--gray-300); }
.btn-secondary:hover { background: var(--gray-50); }
.btn-success { background: var(--green); color: white; }
.btn-success:hover { background: #047857; }
.btn-danger { background: var(--red); color: white; }
.btn-danger:hover { background: #b91c1c; }
.btn-sm { padding: 6px 14px; font-size: 12px; }

/* FORMS */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--gray-700); margin-bottom: 5px; }
input[type="text"], input[type="email"], textarea, select {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-size: 14px; font-family: inherit;
  transition: border .15s; background: var(--card-bg);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
textarea { resize: vertical; min-height: 100px; }
.form-row { display: flex; gap: 14px; }
.form-row .form-group { flex: 1; }

/* FILTER BAR */
.filter-bar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.filter-bar input[type="text"] { width: 220px; padding: 8px 14px; font-size: 13px; }
.filter-bar select { width: auto; padding: 8px 14px; font-size: 13px; }
.filter-bar .badge-filter {
  padding: 6px 14px; border: 1.5px solid var(--gray-200); border-radius: 20px;
  background: var(--card-bg); font-size: 12px; cursor: pointer; white-space: nowrap;
}
.filter-bar .badge-filter:hover { border-color: var(--primary); color: var(--primary); }
.filter-bar .badge-filter.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ALERTS / TOAST */
.alert {
  padding: 10px 16px; border-radius: var(--radius); font-size: 13px; margin-bottom: 12px;
  font-weight: 500;
}
.alert-error { background: var(--red-light); color: var(--red); border: 1px solid var(--red); }
.alert-success { background: var(--green-light); color: var(--green); border: 1px solid var(--green); }
.alert-info { background: var(--primary-light); color: var(--primary); border: 1px solid var(--primary); }

.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 12px 20px; border-radius: var(--radius); font-size: 13px; font-weight: 600;
  color: white; box-shadow: 0 10px 30px rgba(0,0,0,0.2); animation: slideIn .3s ease;
  max-width: 360px;
}
.toast-success { background: var(--green); }
.toast-info { background: var(--primary); }
.toast-warning { background: var(--yellow); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* EMPTY STATE */
.empty {
  text-align: center; padding: 60px 20px; color: var(--gray-400);
}
.empty .icon { font-size: 48px; margin-bottom: 12px; }
.empty h3 { color: var(--gray-600); font-size: 16px; margin-bottom: 4px; }
.empty p { font-size: 13px; }

/* PAGINATION */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 20px; }
.pagination button {
  padding: 6px 12px; border: 1px solid var(--gray-200); border-radius: 6px;
  background: var(--card-bg); cursor: pointer; font-size: 13px;
}
.pagination button:disabled { opacity: .4; cursor: default; }
.pagination button.active { background: var(--primary); color: white; border-color: var(--primary); }

/* LOADING — Spinner progressif */
.loader {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 48px 40px; color: var(--gray-400); font-size: 14px;
}
.loader::before {
  content: '';
  width: 36px; height: 36px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loader-sm {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid var(--gray-300);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* RESPONSIVE */
@media (max-width: 768px) {
  .sidebar { display: none; }
  .main-content { padding: 16px; }
  .form-row { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar input[type="text"] { width: 100%; }
}

/* HIDDEN */
.hidden { display: none !important; }

/* ===== DASHBOARD ===== */
.stat-card { background:var(--card-bg); border:2px solid var(--gray-200); border-radius:12px; padding:1.2rem; text-align:center; background:var(--card-bg); }
.stat-val { font-size:2rem; font-weight:700; color:#1e3a5f; }
.stat-lbl { font-size:0.85rem; color:var(--gray-500); margin-top:0.3rem; }
.dash-block { background:var(--card-bg); border:1px solid var(--gray-200); border-radius:12px; padding:1.2rem; }
.dash-block h3 { margin:0 0 1rem; font-size:0.95rem; color:var(--gray-700); }
.bar-row { display:flex; align-items:center; gap:0.5rem; margin-bottom:0.5rem; font-size:0.85rem; }
.bar-row > span:first-child { width:140px; flex-shrink:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bar-row > span:last-child { width:2rem; text-align:right; color:var(--gray-500); }
.bar-bg { flex:1; background:var(--gray-100); border-radius:4px; height:10px; }
.bar-fill { height:10px; border-radius:4px; background:#2563eb; transition:width 0.3s; }

/* ===== HISTORIQUE (AUDIT) ===== */
.stats-row { display:flex; gap:12px; margin-bottom:20px; flex-wrap:wrap; }
.stats-row .stat-card { flex:1; min-width:120px; background:var(--card-bg); border:2px solid var(--gray-200); border-radius:12px; padding:1rem; text-align:center; }
.stats-row .stat-number { display:block; font-size:1.8rem; font-weight:700; color:#1e3a5f; }
.stats-row .stat-label { font-size:0.8rem; color:var(--gray-500); margin-top:4px; }

.page-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; flex-wrap:wrap; gap:8px; }
.page-header h2 { margin:0; font-size:1.3rem; }
.header-actions { display:flex; gap:8px; }

.audit-filters { display:flex; gap:8px; margin-bottom:16px; flex-wrap:wrap; align-items:center; }
.audit-filters input, .audit-filters select { padding:6px 10px; border:1px solid var(--gray-300); border-radius:6px; font-size:0.85rem; background:var(--card-bg); }
.audit-filters input:focus, .audit-filters select:focus { outline:none; border-color:#7B1FA2; box-shadow:0 0 0 2px rgba(123,31,162,0.15); }

.audit-table-wrapper { overflow-x:auto; background:var(--card-bg); border-radius:12px; border:1px solid var(--gray-200); }
.audit-table { width:100%; border-collapse:collapse; font-size:0.85rem; }
.audit-table th { background:var(--gray-50); padding:10px 12px; text-align:left; font-weight:600; color:var(--gray-700); border-bottom:2px solid var(--gray-200); white-space:nowrap; }
.audit-table td { padding:8px 12px; border-bottom:1px solid var(--gray-100); }
.audit-table tr:hover { background:#faf5ff; }
.audit-table a { color:#7B1FA2; text-decoration:none; font-weight:600; }
.audit-table a:hover { text-decoration:underline; }
.audit-date { white-space:nowrap; color:var(--gray-500); font-size:0.8rem; }
.audit-subject { max-width:250px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--gray-700); }
.audit-old { color:#dc2626; font-size:0.8rem; max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.audit-new { color:#059669; font-weight:600; font-size:0.85rem; max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.audit-user { color:var(--gray-500); font-size:0.8rem; }

.audit-badge { display:inline-block; padding:2px 8px; border-radius:4px; font-size:0.78rem; white-space:nowrap; }
.audit-badge-created { background:#e0f2fe; color:#0369a1; }
.audit-badge-updated { background:#fef3c7; color:#92400e; }
.audit-badge-resolved { background:#d1fae5; color:#065f46; }
.audit-badge-closed { background:var(--gray-200); color:var(--gray-700); }
.audit-badge-reopened { background:#fce7f3; color:#9d174d; }
.audit-badge-assigned { background:#ede9fe; color:#5b21b6; }
.audit-badge-transferred { background:#dbeafe; color:#1e40af; }

.pagination { display:flex; justify-content:center; align-items:center; gap:8px; margin-top:16px; padding:12px; }
.pagination .page-info { font-size:0.85rem; color:var(--gray-500); padding:0 8px; }
.pagination button:disabled { opacity:0.4; cursor:default; }

.alert-info { background:#f0f9ff; border:1px solid #bae6fd; color:#0369a1; padding:10px 14px; border-radius:8px; font-size:0.9rem; }
.alert-info a { color:#0369a1; font-weight:600; }

/* ===== PIÈCES JOINTES ===== */
.files-section { margin-top:1.5rem; border-top:1px solid var(--gray-200); padding-top:1rem; }
.files-section h4 { margin:0 0 0.75rem; font-size:0.95rem; color:var(--gray-700); }
.files-grid { display:flex; flex-wrap:wrap; gap:0.75rem; }
.file-item { display:flex; flex-direction:column; align-items:center; gap:0.3rem; max-width:120px; }
.file-thumb { width:100px; height:80px; object-fit:cover; border-radius:8px; cursor:pointer; border:1px solid var(--gray-200); }
.file-thumb:hover { opacity:0.8; }
.file-name { font-size:0.75rem; color:var(--gray-700); text-align:center; word-break:break-all; max-width:110px; }
.file-size { font-size:0.7rem; color:var(--gray-400); }
.file-link { font-size:0.85rem; color:#2563eb; text-decoration:none; }
.file-link:hover { text-decoration:underline; }

/* Champ fichier personnalisé (remplace le "Choose Files" natif anglais) */
.file-input-wrapper { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.file-input-wrapper input[type="file"] {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}
.file-input-btn {
  display:inline-block; padding:8px 16px; background:var(--gray-100); color:var(--gray-700);
  border:1px solid var(--gray-300); border-radius:8px; cursor:pointer; font-size:0.85rem;
  font-weight:500; transition:background .15s, border-color .15s; white-space:nowrap;
}
.file-input-btn:hover { background:var(--gray-200); border-color:var(--gray-400); }
.file-input-names { font-size:0.8rem; color:var(--gray-500); }

/* Aperçus des captures d'écran */
.shots-preview { display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.shot-thumb { position:relative; width:140px; border:1px solid var(--gray-200); border-radius:8px; overflow:hidden; background:var(--gray-50); }
.shot-thumb img { width:100%; height:90px; object-fit:cover; display:block; }
.shot-remove {
  position:absolute; top:4px; right:4px; width:22px; height:22px; border-radius:50%;
  border:none; background:rgba(220,38,38,0.9); color:#fff; cursor:pointer;
  font-size:12px; line-height:1; display:flex; align-items:center; justify-content:center;
}
.shot-remove:hover { background:#b91c1c; }

/* Connexion Microsoft (login Azure) */
.login-sep { display:flex; align-items:center; text-align:center; color:var(--gray-400); margin:18px 0; font-size:0.85rem; }
.login-sep::before, .login-sep::after { content:""; flex:1; height:1px; background:var(--gray-200); }
.login-sep span { padding:0 12px; }
.btn-azure {
  display:flex; align-items:center; justify-content:center; gap:10px; width:100%;
  padding:11px 16px; background:var(--card-bg); color:#3c4043; border:1px solid #8c8c8c;
  border-radius:8px; cursor:pointer; font-size:0.95rem; font-weight:600;
  transition:background .15s, box-shadow .15s;
}
.btn-azure:hover { background:#f8f9fa; box-shadow:0 1px 4px rgba(0,0,0,0.12); }
.btn-azure svg { flex-shrink:0; }

/* ========== WORKSPACE TABS ========== */
.ws-tabs {
  display:flex; gap:2px; margin-bottom:20px;
  border-bottom:2px solid var(--gray-200); padding-bottom:0;
}
.ws-tab {
  padding:8px 18px; border:none; background:none; cursor:pointer;
  font-size:13px; font-weight:500; color:var(--gray-500);
  border-bottom:2px solid transparent; margin-bottom:-2px;
  transition:all .15s; border-radius:6px 6px 0 0;
}
.ws-tab:hover { color:var(--gray-700); background:var(--gray-100); }
.ws-tab.active {
  color:var(--primary); border-bottom-color:var(--primary);
  font-weight:600; background:var(--card-bg);
}


/* Lignes colorees par type d'action dans l'historique */
.audit-table tr.audit-row-created { background:#f0f9ff; }
.audit-table tr.audit-row-updated { background:#fffbeb; }
.audit-table tr.audit-row-resolved { background:#f0fdf4; }
.audit-table tr.audit-row-closed { background:var(--gray-50); }
.audit-table tr.audit-row-reopened { background:#fdf2f8; }
.audit-table tr.audit-row-assigned { background:#f5f3ff; }
.audit-table tr.audit-row-transferred { background:#eff6ff; }
.audit-table tr.audit-row-created:hover,
.audit-table tr.audit-row-updated:hover,
.audit-table tr.audit-row-resolved:hover,
.audit-table tr.audit-row-closed:hover,
.audit-table tr.audit-row-reopened:hover,
.audit-table tr.audit-row-assigned:hover,
.audit-table tr.audit-row-transferred:hover { filter:brightness(0.97); }
.audit-societe { white-space:nowrap; color:var(--gray-600); font-size:0.8rem; }
