/* La vue « Indices » (01/10/2026) — voir indices_vue.js. Grammaire .obl-* (obligations.css) ;
   ici seulement ce qui lui est propre, préfixé idv-, sous .per-page .idv-vue.
   ⚠ La page impose aux tableaux td{height:52px;padding:0 10px!important;background:transparent!important}
   et thead th{height:56px;position:sticky} : surchargés dans table.idv-hm ; la couleur d'une case est
   portée par un <span> intérieur (le fond d'un td est forcé à transparent). */

.per-page .idv-vue .obl-leg i.point { width: 10px; height: 10px; border-radius: 50%; }
.per-page .idv-vue .obl-chiffre b small { font-size: 15px; }
.per-page .idv-vue .idv-charge { min-height: 120px; justify-content: center; align-items: center; }
.per-page .idv-vue .idv-relais { font-size: 12.5px !important; color: #7A7A7A !important; margin-top: 4px !important; padding-left: 2px; }
.per-page .idv-vue .ca-drapeau { flex: 0 0 auto; display: inline-flex; }
.per-page .idv-vue .ca-drapeau svg { width: 21px !important; height: 14px !important; border-radius: 2px; display: block; }

/* Le nom d'un indice : drapeau, nom, marques R / fonds, pays en petit. */
.per-page .idv-vue .idv-nm { display: flex; align-items: center; gap: 9px; min-width: 0; white-space: nowrap; }
.per-page .idv-vue .idv-nm-t { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.per-page .idv-vue .idv-nm-t b { font-weight: 650; color: #1F1F1F; }
.per-page .idv-vue .idv-nm-t small { font-size: 11.5px; color: #8A8A8A; font-weight: 450; }
.per-page .idv-vue .idv-badge { font-style: normal; font-size: 9.5px; font-weight: 700; color: #6B6B6B; border: 1px solid #D6D6D6; border-radius: 4px; padding: 0 4px; line-height: 14px; letter-spacing: .02em; }

/* ── La carte de chaleur ─────────────────────────────────────────────── */
.per-page .idv-vue .idv-hm-defil { overflow-x: auto; }
.per-page .idv-vue table.idv-hm { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 3px; font-size: 12.5px; }
.per-page .idv-vue table.idv-hm col.idv-hm-cn { width: 250px; }
body .per-page .idv-vue table.idv-hm thead th {
  height: auto !important; padding: 6px 4px !important; position: static !important; border: 0 !important; background: transparent !important;
  font-size: 11.5px; font-weight: 600; color: #6B6B6B; text-align: center; white-space: nowrap; border-radius: 6px; cursor: pointer; vertical-align: bottom;
}
body .per-page .idv-vue table.idv-hm thead th.on { color: #0E8A5F; background: rgba(14,138,95,.08) !important; }
body .per-page .idv-vue table.idv-hm thead th:hover { color: #0D0D0D; }
body .per-page .idv-vue table.idv-hm thead th.idv-hm-n { text-align: left; cursor: default; padding-left: 6px !important; }
body .per-page .idv-vue table.idv-hm tbody td { height: auto !important; padding: 1px 0 !important; border: 0 !important; line-height: 1.25 !important; text-align: center; white-space: nowrap; }
body .per-page .idv-vue table.idv-hm tbody td.idv-hm-n { text-align: left; padding-left: 6px !important; overflow: hidden; }
.per-page .idv-vue .idv-hm-c { display: block; padding: 7px 4px; border-radius: 6px; font-weight: 600; font-variant-numeric: tabular-nums; }
.per-page .idv-vue .idv-hm-c.idv-hm-vide { color: #A3A3A3; background: #F7F7F7; }
.per-page .idv-vue table.idv-hm tbody tr { cursor: pointer; }
.per-page .idv-vue table.idv-hm tbody tr:hover td.idv-hm-n b { color: #0E8A5F; }
.per-page .idv-vue table.idv-hm tbody tr:hover .idv-hm-c { box-shadow: inset 0 0 0 1px rgba(13,13,13,.18); }

/* ── Les vignettes « l'année de chaque indice » ──────────────────────── */
.per-page .idv-vue .idv-sps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1240px) { .per-page .idv-vue .idv-sps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .per-page .idv-vue .idv-sps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.per-page .idv-vue .idv-sp { border: 1px solid rgba(13,13,13,.08); border-radius: 12px; padding: 9px 10px 6px; cursor: pointer; min-width: 0; transition: border-color .15s, box-shadow .15s; }
.per-page .idv-vue .idv-sp:hover, .per-page .idv-vue .idv-sp.on { border-color: rgba(14,138,95,.45); box-shadow: 0 6px 16px -10px rgba(13,13,13,.35); }
.per-page .idv-vue .idv-sp-t { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.per-page .idv-vue .idv-sp-n { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12.5px; }
.per-page .idv-vue .idv-sp-n b { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.per-page .idv-vue .idv-sp-p { font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.per-page .idv-vue .idv-sp-l { height: 16px; margin: 3px 0 2px; font-size: 10.5px; line-height: 16px; color: #7A7A7A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.per-page .idv-vue .idv-sp.on .idv-sp-l { color: #0D0D0D; font-weight: 600; }
.per-page .idv-vue .idv-sp svg { display: block; width: 100%; height: 58px; overflow: visible; }
.per-page .idv-vue .idv-sp-x { display: none; }

/* ── Les rangées « face à sa propre histoire » et le rythme sur 10/20 ans ── */
.per-page .idv-vue .idv-rgs, .per-page .idv-vue .idv-hal { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; justify-content: space-between; }
.per-page .idv-vue .idv-rg, .per-page .idv-vue .idv-hal-l { display: grid; grid-template-columns: 150px minmax(0, 1fr) 96px; align-items: center; gap: 12px; padding: 4px 6px; border-radius: 8px; cursor: pointer; }
.per-page .idv-vue .idv-rg:hover, .per-page .idv-vue .idv-hal-l:hover { background: #F7F6FC; }
.per-page .idv-vue .idv-rg-n { display: flex; align-items: center; gap: 7px; font-size: 12.5px; min-width: 0; white-space: nowrap; }
.per-page .idv-vue .idv-rg-n b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.per-page .idv-vue .idv-rg-p, .per-page .idv-vue .idv-hal-p { position: relative; height: 16px; }
.per-page .idv-vue .idv-rg-r { position: absolute; top: 5px; height: 6px; border-radius: 3px; background: #D9D3F3; }
.per-page .idv-vue .idv-rg-m { position: absolute; top: 1px; width: 2px; height: 14px; margin-left: -1px; background: #4D4D4D; border-radius: 1px; }
.per-page .idv-vue .idv-rg-p b { position: absolute; top: 2px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 2px solid #FFFFFF; box-shadow: 0 0 0 1px rgba(13,13,13,.12); }
.per-page .idv-vue .idv-rg-v, .per-page .idv-vue .idv-hal-v { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.per-page .idv-vue .idv-rg-v b { font-size: 13px; font-weight: 750; }
.per-page .idv-vue .idv-rg-v small { font-size: 11px; color: #8A8A8A; }
.per-page .idv-vue .idv-rg-axe, .per-page .idv-vue .idv-hal-axe { display: grid; grid-template-columns: 150px minmax(0, 1fr) 96px; gap: 12px; padding: 4px 6px 0; font-size: 10.5px; color: #8A8A8A; }
.per-page .idv-vue .idv-rg-axe span:nth-child(1), .per-page .idv-vue .idv-hal-axe span:nth-child(1) { grid-column: 2; grid-row: 1; justify-self: start; }
.per-page .idv-vue .idv-rg-axe span:nth-child(2), .per-page .idv-vue .idv-hal-axe span:nth-child(2) { grid-column: 2; grid-row: 1; justify-self: center; }
.per-page .idv-vue .idv-rg-axe span:nth-child(3), .per-page .idv-vue .idv-hal-axe span:nth-child(3) { grid-column: 2; grid-row: 1; justify-self: end; }
.per-page .idv-vue .idv-hal-z { position: absolute; top: 0; bottom: 0; width: 1px; background: #D0D0D0; }
.per-page .idv-vue .idv-hal-s { position: absolute; top: 7px; height: 2px; background: #EBC9A2; }
.per-page .idv-vue .idv-hal-p b { position: absolute; top: 2px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 2px solid #FFFFFF; }
.per-page .idv-vue .idv-hal-10 { background: #F2B97A; }
.per-page .idv-vue .idv-hal-20 { background: #B45309; z-index: 1; }
.per-page .idv-vue .idv-hal-v { font-size: 12.5px; gap: 10px; }
.per-page .idv-vue .idv-hal-v20 { font-weight: 750; color: #8A3A00; }
.per-page .idv-vue .idv-hal-v10 { color: #B0773A; font-weight: 600; min-width: 40px; text-align: right; }

/* ── Les barres (poids des dix premiers, géants, chutes) ─────────────── */
.per-page .idv-vue .idv-bars { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; justify-content: space-between; }
.per-page .idv-vue .idv-bar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 116px; align-items: center; gap: 12px; padding: 3px 6px; border-radius: 8px; cursor: pointer; }
.per-page .idv-vue .idv-bar:hover { background: #FAF6F2; }
.per-page .idv-vue .idv-bar-n { display: flex; align-items: center; gap: 7px; font-size: 12.5px; white-space: nowrap; min-width: 0; }
.per-page .idv-vue .idv-bar-n b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.per-page .idv-vue .idv-bar-b { position: relative; height: 14px; border-radius: 4px; }
.per-page .idv-vue .idv-bar-b > i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 4px; }
.per-page .idv-vue .idv-bar-b.idv-pile { background: #F6E4D8; }
.per-page .idv-vue .idv-bar-b.idv-pile > i { background: #C2410C; }
.per-page .idv-vue .idv-bar-b.idv-div { background: linear-gradient(90deg, transparent calc(50% - .5px), #D0D0D0 calc(50% - .5px), #D0D0D0 calc(50% + .5px), transparent calc(50% + .5px)); }
.per-page .idv-vue .idv-bar-b.idv-div > i { left: auto; }
.per-page .idv-vue .idv-bar-b.idv-div > i[style*="left:50%"] { left: 50%; }
.per-page .idv-vue .idv-bar-b > i.idv-coupe { background-image: linear-gradient(90deg, transparent 88%, #FFFFFF 88%, #FFFFFF 91%, transparent 91%) !important; }
.per-page .idv-vue .idv-bar-v { display: flex; align-items: baseline; justify-content: flex-end; gap: 7px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.per-page .idv-vue .idv-bar-v b { font-size: 13px; font-weight: 750; color: #9A3412; }
.per-page .idv-vue .idv-bar-v small { font-size: 11px; color: #8A8A8A; min-width: 52px; text-align: right; }
.per-page .idv-vue .idv-ech { display: flex; justify-content: space-between; padding: 6px 134px 0 168px; font-size: 11px; color: #8A8A8A; }

/* ── Les colonnes de l'ampleur ───────────────────────────────────────── */
.per-page .idv-vue .idv-cols { display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); gap: 8px; align-items: end; padding-top: 4px; }
.per-page .idv-vue .idv-col { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; cursor: pointer; }
.per-page .idv-vue .idv-col > b { font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.per-page .idv-vue .idv-col-b { position: relative; width: 100%; max-width: 44px; height: 150px; border-radius: 6px; background: linear-gradient(180deg, #F4F4F4 0 49.6%, #CFCFCF 49.6% 50.4%, #F4F4F4 50.4% 100%); }
.per-page .idv-vue .idv-col-b > i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 6px; opacity: .9; }
.per-page .idv-vue .idv-col small { font-size: 10.5px; line-height: 1.2; color: #4D4D4D; text-align: center; font-weight: 600; min-height: 26px; overflow-wrap: anywhere; }
.per-page .idv-vue .idv-col:hover small { color: #0D0D0D; }
@media (max-width: 1100px) { .per-page .idv-vue .idv-cols { grid-template-columns: repeat(9, minmax(0, 1fr)); row-gap: 16px; } }

/* ── Les fiches ──────────────────────────────────────────────────────── */
.per-page .idv-vue .idv-fcs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1180px) { .per-page .idv-vue .idv-fcs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .per-page .idv-vue .idv-fcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.per-page .idv-vue .idv-fc-leg { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: #4D4D4D; margin-top: 2px; }
.per-page .idv-vue .idv-fc-leg span { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.per-page .idv-vue .idv-fc-leg i { width: 14px; height: 4px; border-radius: 2px; background: var(--rg); display: inline-block; }
.per-page .idv-vue .idv-fc-leg small { color: #8A8A8A; font-weight: 500; font-size: 11.5px; }
body .per-page .idv-vue button.idv-fc {
  display: flex !important; flex-direction: column; align-items: stretch; gap: 10px; text-align: left !important; padding: 13px 14px !important; border-radius: 14px !important;
  font: inherit !important; color: #0D0D0D !important; background: #FFFFFF !important; border: 1px solid rgba(13,13,13,.09) !important; min-height: 0 !important; height: auto !important; cursor: pointer;
  border-top: 3px solid var(--rg, #CFCFCF) !important; min-width: 0;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
body .per-page .idv-vue button.idv-fc:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(13,13,13,.35); border-color: rgba(71,85,105,.4) !important; border-top-color: var(--rg, #CFCFCF) !important; }
.per-page .idv-vue .idv-fc-h { display: flex; align-items: center; gap: 10px; min-width: 0; }
.per-page .idv-vue .idv-fc-h .ca-drapeau svg { width: 30px !important; height: 20px !important; border-radius: 3px; }
.per-page .idv-vue .idv-fc-n { display: flex; flex-direction: column; min-width: 0; }
.per-page .idv-vue .idv-fc-n b { font-size: 14px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.per-page .idv-vue .idv-fc-n em { font-style: normal; font-size: 11.5px; color: #8A8A8A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.per-page .idv-vue .idv-fc-v { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; min-width: 0; }
.per-page .idv-vue .idv-fc-v b { font-size: 19px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.per-page .idv-vue .idv-fc-v span { font-size: 12px; color: #7A7A7A; overflow: hidden; text-overflow: ellipsis; }
.per-page .idv-vue .idv-fc-p { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: #6B6B6B; }
.per-page .idv-vue .idv-fc-p b { color: #0D0D0D; font-weight: 700; font-variant-numeric: tabular-nums; }
.per-page .idv-vue .idv-fc-nf { padding: 2px 8px; border-radius: 999px; border: 1px solid; font-weight: 750; font-variant-numeric: tabular-nums; }
.per-page .idv-vue .idv-fc-nf small { font-size: 10px; font-weight: 600; opacity: .8; margin-left: 1px; }

/* ── Les anciens blocs repris dans une rubrique : même facture que les cartes ── */
.per-page #per-tab-indices.vs-onglet:not(.vs-sur-hub) .per-chart-container[data-vs] {
  border-radius: 14px; border: 1px solid rgba(13,13,13,.09); box-shadow: none;
}
.per-page #per-tab-indices.vs-onglet:not(.vs-sur-hub) > .per-section { padding-top: 0; }
.per-page .idv-vue .obl-rub-p .idv-tv-x { display: none; }
.per-page .idv-vue .obl-tend-n b small { font-size: 15px; font-weight: 600; color: #6B6B6B; letter-spacing: 0; margin: 0 2px; }

/* L'ancien tableau « Concentration et ampleur » (indices_fiche.js), repris dans la rubrique :
   noms sur une ligne. Ses en-têtes restent sur deux lignes : ses colonnes sont de largeur fixe,
   et sur une ligne « Indice − titre médian, 1 an » était tronqué à 1 280 px (mesuré). */
body .per-page #per-tab-indices table.idx-table-comp tbody td:first-child { white-space: nowrap !important; }
.per-page .idv-vue .obl-fv-i b { white-space: nowrap; }
.per-page .idv-vue .obl-rub-p .obl-fv-i b { font-size: 9.5px; letter-spacing: -.02em; }
