/* =====================================================================
   finamux — Feuille de style
   Charte : bleu profond (#0C2A4D) + bleu vif (#2E7CD6) + blanc
   ===================================================================== */

:root {
  --bleu-profond: #0C2A4D;
  --bleu-vif:     #2E7CD6;
  --bleu-clair:   #6BA3E0;
  --bleu-pale:    #A9C5E6;
  --vert-croissance: #16C784;
  --gris-bg:      #F4F7FB;
  --gris-bord:    #E7EDF5;
  --gris-texte:   #7A8694;
  --gris-fonce:   #1F2A37;
  --blanc:        #FFFFFF;
  --radius:       12px;
  --ombre:        0 2px 14px rgba(12, 42, 77, 0.08);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--gris-fonce);
  background: var(--blanc);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--bleu-vif); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Sélecteur de langue ---- */
.lang-switch {
  position: absolute; top: 18px; right: 22px;
  display: flex; gap: 6px; align-items: center;
  font-size: 13px; z-index: 10;
}
.lang-switch a {
  padding: 4px 9px; border-radius: 20px; color: var(--gris-texte);
}
.lang-switch a.actif { background: var(--bleu-vif); color: #fff; }

/* ============ Page « bientôt disponible » ============ */
.soon-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
@media (max-width: 820px) {
  .soon-wrap { grid-template-columns: 1fr; }
  .soon-left { min-height: 42vh; }
}

.soon-left {
  background: linear-gradient(150deg, #0C2A4D 0%, #14386A 100%);
  color: #fff;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
}
.soon-brand { display: flex; align-items: center; gap: 12px; }
.soon-logo {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--bleu-vif);
  display: flex; align-items: center; justify-content: center;
}
.soon-logo svg { width: 26px; height: 26px; }
.soon-name { font-size: 22px; font-weight: 600; letter-spacing: 0.3px; }
.soon-tagline {
  font-size: 11px; color: var(--bleu-pale); letter-spacing: 2px;
  text-transform: uppercase; margin-top: 2px;
}
.soon-hero { margin: auto 0; padding: 30px 0; }
.soon-hero h1 { font-size: 30px; font-weight: 600; line-height: 1.3; }
.soon-hero p { font-size: 15px; color: var(--bleu-pale); margin-top: 16px; max-width: 360px; }
.soon-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.soon-badge {
  font-size: 12px; background: rgba(255,255,255,0.1);
  padding: 7px 13px; border-radius: 20px;
}
.soon-foot { font-size: 12px; color: #6E8DB0; }

.soon-right {
  padding: 48px 44px;
  display: flex; flex-direction: column; justify-content: center;
}
.soon-form-label { font-size: 17px; font-weight: 600; color: var(--bleu-profond); }
.soon-form { display: flex; gap: 10px; margin-top: 18px; max-width: 420px; }
@media (max-width: 460px) { .soon-form { flex-direction: column; } }

input[type="email"], input[type="password"], input[type="text"] {
  flex: 1; font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--gris-bord); border-radius: 9px;
  font-family: inherit; color: var(--gris-fonce);
}
input:focus {
  outline: none; border-color: var(--bleu-vif);
  box-shadow: 0 0 0 3px rgba(46,124,214,0.14);
}

.btn {
  font-family: inherit; font-size: 15px; font-weight: 500;
  padding: 12px 22px; border-radius: 9px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--bleu-profond); color: #fff; }
.btn-primary:hover { background: #16386a; }
.btn-block { width: 100%; }

.soon-msg { margin-top: 14px; font-size: 14px; min-height: 20px; }
.soon-msg.ok  { color: var(--vert-croissance); }
.soon-msg.err { color: #D85A30; }

/* ============ Module d'extraction (test) ============ */
.extract-page { max-width: 1040px; margin: 0 auto; padding: 30px 22px; }
.extract-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.extract-head .soon-logo { width: 38px; height: 38px; }
.extract-head h2 { font-size: 20px; color: var(--bleu-profond); }

.dropzone {
  border: 2px dashed var(--bleu-clair); border-radius: var(--radius);
  background: var(--gris-bg); padding: 40px; text-align: center;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.dropzone:hover, .dropzone.drag { background: #ECF3FB; border-color: var(--bleu-vif); }
.dropzone i { font-size: 38px; color: var(--bleu-vif); }
.dropzone p { color: var(--gris-texte); margin-top: 10px; font-size: 14px; }

.extract-result { display: none; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.extract-result.show { display: grid; }
@media (max-width: 760px) { .extract-result.show { grid-template-columns: 1fr; } }

.panel {
  border: 1px solid var(--gris-bord); border-radius: var(--radius);
  padding: 16px; background: #fff;
}
.panel h3 { font-size: 13px; color: var(--gris-texte); font-weight: 500; margin-bottom: 12px; }
.panel-original img, .panel-original embed { width: 100%; border-radius: 8px; border: 1px solid var(--gris-bord); }

.field { margin-bottom: 11px; }
.field label { font-size: 12px; color: var(--gris-texte); display: block; margin-bottom: 4px; }
.field .val {
  border: 1px solid var(--gris-bord); border-radius: 8px;
  padding: 9px 11px; font-size: 14px; background: #fff;
}
.field .val.ttc { background: #EAF2FB; border-color: var(--bleu-clair); color: var(--bleu-profond); font-weight: 600; }
.row2 { display: flex; gap: 10px; }
.row2 .field { flex: 1; }

.badge-conf {
  font-size: 12px; padding: 3px 10px; border-radius: 20px;
  background: #E6F7F0; color: #0B8C5E; margin-left: auto;
}
.panel-head { display: flex; align-items: center; }

.fne-ok  { display:flex; gap:8px; align-items:center; background:#E6F7F0; color:#0B8C5E; padding:8px 11px; border-radius:8px; font-size:13px; }
.fne-no  { display:flex; gap:8px; align-items:center; background:#FBEEE8; color:#B45309; padding:8px 11px; border-radius:8px; font-size:13px; }

.loader { display:none; text-align:center; padding:30px; color:var(--gris-texte); }
.loader.show { display:block; }
.spinner {
  width: 34px; height: 34px; border: 3px solid var(--gris-bord);
  border-top-color: var(--bleu-vif); border-radius: 50%;
  margin: 0 auto 12px; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; }
  * { transition: none !important; }
}

/* Champ signalé comme à vérifier (incohérence détectée) */
.val.warn, input.val.warn { border-color: #E0922F !important; background: #FDF6EC !important; box-shadow: 0 0 0 3px rgba(224,146,47,0.10); }
.warn-note { font-size: 12px; color: #B45309; margin-top: 4px; display: flex; align-items: center; gap: 5px; }

/* ============ Menu latéral ============ */
.fmx-layout { display: flex; min-height: calc(100vh - 58px); }
.fmx-sidebar {
  width: 210px; background: #fff; border-right: 1px solid var(--gris-bord);
  padding: 16px 10px; flex-shrink: 0;
}
.fmx-nav-item {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px;
  border-radius: 9px; color: var(--gris-fonce); text-decoration: none;
  font-size: 14px; margin-bottom: 3px; position: relative;
}
.fmx-nav-item:hover { background: var(--gris-bg); text-decoration: none; }
.fmx-nav-item.actif { background: #EAF2FB; color: var(--bleu-profond); font-weight: 500; }
.fmx-nav-item.actif i { color: var(--bleu-vif); }
.fmx-nav-item i { font-size: 19px; color: var(--gris-texte); }
.fmx-nav-item.soon { color: var(--bleu-pale); cursor: default; }
.fmx-nav-item.soon i { color: var(--bleu-pale); }
.fmx-nav-item .soon-tag {
  position: absolute; right: 8px; font-size: 9px; font-style: normal;
  background: var(--gris-bg); color: var(--gris-texte);
  padding: 2px 6px; border-radius: 10px;
}
.fmx-main { flex: 1; padding: 24px 26px; min-width: 0; }
@media (max-width: 720px) {
  .fmx-layout { flex-direction: column; }
  .fmx-sidebar { width: 100%; display: flex; flex-wrap: wrap; gap: 4px; border-right: none; border-bottom: 1px solid var(--gris-bord); }
  .fmx-nav-item { flex-direction: column; font-size: 11px; padding: 8px; gap: 4px; }
  .fmx-nav-item .soon-tag { display: none; }
}

/* =====================================================================
   APPLICATION — Refonte (sidebar verticale + en-tête unifié)
   Typo : Sora (titres) + Inter (corps). Charte bleu profond finamux.
   ===================================================================== */
.app-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #F1F5FA; color: var(--gris-fonce); margin: 0;
}
.app-shell { display: flex; min-height: 100vh; }

/* ---- Sidebar (relief moderne) ---- */
.app-sidebar {
  width: 210px;
  background: linear-gradient(160deg,#103257 0%,#0C2A4D 42%,#081C36 100%);
  color: #fff; display: flex; flex-direction: column; flex-shrink: 0;
  position: sticky; top: 0; height: 100vh;
  box-shadow: 3px 0 18px rgba(6,20,40,0.28), inset -1px 0 0 rgba(255,255,255,0.04);
}
.sb-brand { display: flex; align-items: center; gap: 10px; padding: 15px 16px 13px; text-decoration:none; }
.sb-logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg,#3E8BE6 0%,#2468BE 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(36,104,190,0.45), inset 0 1px 0 rgba(255,255,255,0.35);
}
.sb-logo svg { width: 20px; height: 20px; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2)); }
.sb-name { font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.3px;
  background: linear-gradient(180deg,#fff 30%,#CFE0F2 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.sb-nav { flex: 1; padding: 6px 10px; display: flex; flex-direction: column; gap: 1px; overflow-y: auto; }
.sb-item {
  display: flex; align-items: center; gap: 11px; padding: 8px 12px;
  border-radius: 9px; color: #AFC4DD; text-decoration: none; font-size: 13.5px;
  font-weight: 500; position: relative;
  transition: background .16s, color .16s, box-shadow .16s, transform .1s;
}
.sb-item:hover {
  background: rgba(255,255,255,0.08); color: #fff; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.sb-item:active { transform: translateY(1px); }
.sb-item.actif {
  background: linear-gradient(145deg,#3E8BE6 0%,#2468BE 100%); color: #fff;
  box-shadow: 0 5px 14px rgba(36,104,190,0.42), inset 0 1px 0 rgba(255,255,255,0.28);
}
.sb-item.actif i { color: #fff; }
.sb-item i { font-size: 18px; color: #7C99BC; transition: color .16s; }
.sb-item:hover i { color: #CFE0F2; }
.sb-item.actif i { color:#fff; }
.sb-item.soon { color: #566F8E; opacity: .6; cursor: default; }
.sb-item.soon:hover { background: transparent; box-shadow: none; }
.sb-item.soon:hover i { color: #566F8E; }
.sb-soon {
  position: absolute; right: 10px; font-style: normal; font-size: 9px;
  background: rgba(255,255,255,0.12); padding: 2px 7px; border-radius: 10px; color: #9FB6D4;
}
.sb-foot { padding: 11px 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.sb-tagline { font-size: 10px; color: #6E8BAE; letter-spacing: 1px; text-transform: uppercase; }

/* ---- Contenu ---- */
.app-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* En-tête unifié (relief moderne) */
.app-header {
  height: 66px;
  background: linear-gradient(180deg,#FFFFFF 0%,#FBFCFE 100%);
  border-bottom: 1px solid #E4EBF3;
  display: flex; align-items: center; gap: 16px; padding: 0 24px;
  position: sticky; top: 0; z-index: 20;
  box-shadow: 0 2px 10px rgba(12,42,77,0.05);
}
.hdr-burger { display: none; background: none; border: none; font-size: 22px; color: var(--bleu-profond); cursor: pointer; }
.hdr-search {
  flex: 1; max-width: 520px; display: flex; align-items: center; gap: 9px;
  background: #F3F7FB;
  border: 1px solid #E1E9F2; border-radius: 12px; padding: 10px 14px;
  box-shadow: inset 0 1px 2px rgba(12,42,77,0.05);
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.hdr-search:focus-within {
  background: #fff; border-color: #9EC2EC;
  box-shadow: 0 0 0 3px rgba(46,124,214,0.12), inset 0 1px 2px rgba(12,42,77,0.03);
}
.hdr-search i { color: #7E97B4; font-size: 18px; }
.hdr-search input { border: none; background: none; outline: none; flex: 1; font-size: 14px; font-family: inherit; color: var(--gris-fonce); }
.hdr-search-hint {
  font-size: 11px; color: #9DB0C7; background: #E9EFF6; border: 1px solid #DCE6F1;
  border-radius: 6px; padding: 1px 6px; font-family: inherit; line-height: 1.5;
}
.hdr-search:focus-within .hdr-search-hint { color: #2E7CD6; border-color: #BAD4EF; background: #EAF2FB; }
.hdr-search-spin {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid #C9DBF0; border-top-color: #2E7CD6; animation: hdrspin .7s linear infinite;
}
@keyframes hdrspin { to { transform: rotate(360deg); } }
.hdr-search-msg {
  position: absolute; top: 62px; left: 24px; max-width: 520px;
  font-size: 12.5px; color: var(--gris-texte);
  background: #fff; border: 1px solid #E4EBF3; border-radius: 9px;
  padding: 8px 12px; box-shadow: 0 8px 22px rgba(12,42,77,0.12); z-index: 25;
}
.hdr-search-msg.err { color: #C0556F; border-color: #F0D2DB; }
.hdr-search-msg.ok { color: #16A265; border-color: #C7EAD8; }
/* Historique de recherche (dropdown) */
.hdr-search { position: relative; }
.hdr-search-hist {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 1px solid #E4EBF3; border-radius: 12px;
  box-shadow: 0 12px 30px rgba(12,42,77,0.14); z-index: 30; padding: 6px; overflow: hidden;
}
.hdr-hist-titre { font-size: 11px; font-weight: 600; color: #9DB0C7; text-transform: uppercase; letter-spacing: .5px; padding: 8px 10px 6px; }
.hdr-hist-item {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  background: none; border: none; padding: 9px 10px; border-radius: 8px; cursor: pointer;
  font-size: 13.5px; color: var(--gris-fonce); font-family: inherit; transition: background .12s;
}
.hdr-hist-item:hover { background: #F3F7FB; }
.hdr-hist-item > span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr-hist-item > .ti-history { color: #9DB0C7; font-size: 16px; }
.hdr-hist-sup { color: #C3D0DF; font-size: 15px; padding: 2px; border-radius: 5px; }
.hdr-hist-sup:hover { color: #C0556F; background: #FBEEF2; }
.hdr-hist-clear {
  width: 100%; text-align: center; background: none; border: none; border-top: 1px solid #EEF2F7;
  margin-top: 4px; padding: 9px; font-size: 12.5px; color: #6B7A8D; cursor: pointer; font-family: inherit;
}
.hdr-hist-clear:hover { color: #C0556F; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.hdr-lang { display: flex; gap: 3px; font-size: 13px; background: #F3F7FB; padding: 3px; border-radius: 9px; border: 1px solid #E7EEF6; }
.hdr-lang a { color: var(--gris-texte); padding: 4px 9px; border-radius: 7px; text-decoration: none; transition: background .14s, color .14s; }
.hdr-lang a.on { background: #fff; color: var(--bleu-vif); font-weight: 600; box-shadow: 0 1px 3px rgba(12,42,77,0.10); }
.hdr-profile { display: flex; align-items: center; gap: 9px; cursor: pointer; position: relative; padding: 5px 8px 5px 5px; border-radius: 11px; transition: background .14s, box-shadow .14s; }
.hdr-profile:hover { background: #F1F5FA; box-shadow: inset 0 0 0 1px #E4EBF3; }
.hdr-avatar {
  width: 37px; height: 37px; border-radius: 50%;
  background: linear-gradient(145deg,#3E8BE6 0%,#2468BE 100%); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px;
  box-shadow: 0 3px 8px rgba(36,104,190,0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}
.hdr-profile-name { font-size: 14px; font-weight: 500; }
.hdr-menu {
  position: absolute; top: 110%; right: 0; background: #fff; border: 1px solid #E4EBF3;
  border-radius: 10px; box-shadow: 0 8px 24px rgba(12,42,77,0.12); padding: 6px;
  min-width: 170px; display: none;
}
.hdr-menu.open { display: block; }
.hdr-menu a { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 7px; color: var(--gris-fonce); text-decoration: none; font-size: 14px; }
.hdr-menu a:hover { background: #F1F5FA; }

/* ------------------------------------------------------------------
   Bandeau identitaire de page
   Pictogramme, titre, sous-titre et teinte d'accent par module.
   La teinte arrive par la variable --accent posee sur .app-pagehead.
   ------------------------------------------------------------------ */
.app-pagehead { padding: 20px 28px 0; --accent: #2E7CD6; }
.app-pagehead .ph-inner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0C2A4D 0%, #163F72 55%, #1B5091 100%);
  box-shadow: 0 6px 20px rgba(12, 42, 77, 0.18);
}
/* Halo decoratif : rappelle la couleur du module sans surcharger */
.app-pagehead .ph-inner::before {
  content: ''; position: absolute; right: -60px; top: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 68%);
  opacity: .30; pointer-events: none;
}
.app-pagehead .ph-inner::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent);
}
.app-pagehead .ph-ic {
  position: relative; z-index: 1; flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20);
  color: #fff;
}
.app-pagehead .ph-ic svg { width: 24px; height: 24px; }
.app-pagehead .ph-txt { position: relative; z-index: 1; min-width: 0; flex: 1; }
.app-pagehead h1 {
  font-family: 'Sora', sans-serif; font-size: 21px; font-weight: 700;
  color: #fff; margin: 0; letter-spacing: -0.2px; line-height: 1.25;
}
.app-pagehead .ph-sst {
  margin: 3px 0 0; font-size: 12.5px; line-height: 1.5;
  color: rgba(255, 255, 255, 0.74); max-width: 720px;
}
.app-pagehead-extra { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
/* Les controles poses a droite du titre restent lisibles sur fond sombre */
.app-pagehead-extra select,
.app-pagehead-extra input[type=text],
.app-pagehead-extra input[type=search] {
  background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff; border-radius: 10px;
}
.app-pagehead-extra select option { color: var(--bleu-profond); background: #fff; }
.app-pagehead-extra input::placeholder { color: rgba(255, 255, 255, 0.6); }
.app-pagehead-extra label { color: rgba(255, 255, 255, 0.8); }
@media (max-width: 760px) {
  .app-pagehead { padding: 14px 16px 0; }
  .app-pagehead .ph-inner { padding: 15px 16px; gap: 12px; }
  .app-pagehead h1 { font-size: 18px; }
  .app-pagehead .ph-sst { font-size: 11.5px; }
}
@media print { .app-pagehead { display: none; } }

.app-main { padding: 20px 28px 40px; flex: 1; }

/* Carte générique */
.card { background: #fff; border: 1px solid #E4EBF3; border-radius: 14px; box-shadow: 0 1px 3px rgba(12,42,77,0.04); }

/* Boutons (refonte) */
.app-body .btn { font-family: inherit; font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.app-body .btn-primary { background: var(--bleu-vif); color: #fff; }
.app-body .btn-primary:hover { background: #2468BE; }
.app-body .btn-ghost { background: #fff; border-color: #E4EBF3; color: var(--gris-fonce); }
.app-body .btn-ghost:hover { background: #F1F5FA; }

/* Tableau (refonte) */
.fmx-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fmx-table thead th { background: #F7FAFD; color: var(--gris-texte); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; text-align: left; padding: 10px 12px; border-bottom: 1px solid #E4EBF3; white-space: nowrap; }
.fmx-table tbody td { padding: 11px 12px; border-bottom: 1px solid #EFF3F8; white-space: nowrap; }
.fmx-table tbody td.wrap { white-space: normal; }
.fmx-table tbody tr:last-child td { border-bottom: none; }
.fmx-table tbody tr.clickable { cursor: pointer; transition: background .12s; }
.fmx-table tbody tr.clickable:hover { background: #F7FAFD; }
.pill { font-size: 12px; padding: 4px 11px; border-radius: 20px; font-weight: 500; }
.pill-ok { background: #E6F7F0; color: #0B8C5E; }
.pill-muted { background: #EEF1F5; color: #76828F; }

/* Responsive : sidebar repliable */
@media (max-width: 860px) {
  .app-sidebar { position: fixed; left: -240px; z-index: 50; transition: left .25s; box-shadow: 0 0 40px rgba(0,0,0,0.3); }
  .app-sidebar.open { left: 0; }
  .hdr-burger { display: block; }
  .hdr-profile-name { display: none; }
}

/* ===== Tableau des cours de change (moderne) ===== */
.cv-grid { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(12,42,77,.06); }
.cv-grid thead th { background: linear-gradient(135deg, #0C2A4D, #15406E); color: #fff; font-weight: 600; padding: 11px 12px; text-align: right; white-space: nowrap; font-size: 12.5px; }
.cv-grid thead th.cv-corner { text-align: left; position: sticky; left: 0; z-index: 2; background: #0C2A4D; }
.cv-grid tbody td { padding: 10px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid #EEF2F7; }
.cv-grid tbody tr:last-child td { border-bottom: none; }
.cv-grid tbody tr:nth-child(even) td { background: #FAFCFE; }
.cv-grid tbody tr:hover td { background: #F0F6FC; }
.cv-grid td.cv-dev { text-align: left; font-weight: 700; color: #0C2A4D; position: sticky; left: 0; background: #fff; z-index: 1; border-right: 2px solid #EEF2F7; }
.cv-grid tbody tr:nth-child(even) td.cv-dev { background: #FAFCFE; }
.cv-grid tbody tr:hover td.cv-dev { background: #F0F6FC; }
.cv-val { font-variant-numeric: tabular-nums; color: #1B2A3D; }
.cv-na { color: #C3CCD6; }
.cv-rep { color: #E0922F; font-weight: 700; margin-left: 2px; cursor: help; }
.cv-legend { font-size: 11.5px; color: var(--gris-texte); margin-top: 9px; padding-left: 2px; }
