:root {
  color-scheme: dark;
  --om-bg: #06071a;
  --om-pane: #090d23;
  --om-pane-raised: #111936;
  --om-edge: rgba(125, 158, 207, .20);
  --om-edge-strong: rgba(142, 174, 223, .39);
  --om-text: #e8efff;
  --om-secondary: #a3aec6;
  --om-muted: #63728f;
  --om-grid: rgba(154, 177, 212, .09);
  --om-atm-line: rgba(229, 235, 255, .47);
  --om-atm-label: #d4ddf7;
  --om-fill-top: rgba(255, 211, 105, .19);
  --om-fill-bottom: rgba(255, 211, 105, 0);
  --om-aqua: #49e0f2;
  --om-violet: #b998ff;
  --om-gold: #ffd369;
  --om-green: #5adea4;
  --om-red: #ff7188;
  --om-brand: #8dadff;
  --om-radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body { background: var(--om-bg); color: var(--om-text); font: 13px/1.5 Verdana, Geneva, sans-serif; -webkit-font-smoothing: antialiased; }
button, select { font: inherit; }
button { cursor: pointer; }
.om-app { display: flex; flex-direction: column; height: 100vh; min-height: 550px; background: radial-gradient(ellipse at 84% -20%, rgba(52, 39, 142, .38) 0, transparent 50%), radial-gradient(ellipse at 0% 90%, rgba(0, 119, 161, .09), transparent 54%), var(--om-bg); }
.om-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 90px; padding: 15px 24px; border-bottom: 1px solid var(--om-edge); background: linear-gradient(90deg, rgba(13, 14, 52, .96), rgba(6, 10, 29, .92)); }
.om-brand { display: flex; align-items: center; gap: 15px; min-width: 245px; }
.om-brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid rgba(122, 179, 243, .47); border-radius: 10px; background: linear-gradient(140deg, #234073, #0b1330); box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 8px 25px rgba(0,0,0,.15); color: white; font-weight: 800; font-size: 20px; letter-spacing: -2px; }
.om-brand-dot { color: var(--om-aqua); }
.om-overline { color: var(--om-muted); font-size: 9px; font-weight: 700; letter-spacing: 1.8px; }
.om-brand h1 { font-size: 20px; margin: 3px 0 0; letter-spacing: -.4px; }
.om-heading-highlight { color: var(--om-aqua); }
.om-market-tag { display: inline-block; margin-left: 5px; padding: 2px 6px; color: var(--om-secondary); border: 1px solid var(--om-edge); font-size: 10px; vertical-align: middle; border-radius: 3px; }
.om-header-controls { display: flex; align-items: flex-end; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.om-control { display: flex; flex-direction: column; gap: 5px; min-width: 135px; }
.om-control:first-child { min-width: 210px; }
.om-control span { font-size: 9px; color: var(--om-muted); letter-spacing: 1.2px; font-weight: bold; }
.om-control select, .om-local-select { min-width: 0; height: 35px; padding: 6px 30px 6px 11px; border: 1px solid var(--om-edge-strong); border-radius: 6px; color: var(--om-text); background: #101a32; cursor: pointer; outline: none; transition: border-color .15s ease, background-color .15s ease; }
.om-control select:hover, .om-local-select:hover { border-color: var(--om-aqua); background-color: #162344; }
.om-control select:disabled, .om-local-select:disabled { opacity: .5; cursor: not-allowed; }
.om-control select:focus-visible, .om-local-select:focus-visible, .om-close:focus-visible, .om-legend-button:focus-visible { outline: 2px solid var(--om-aqua); outline-offset: 2px; }
.om-status { display: flex; align-items: center; gap: 8px; height: 35px; min-width: 100px; color: var(--om-muted); font-size: 10px; letter-spacing: .9px; font-weight: bold; }
.om-status-light { width: 6px; height: 6px; background: var(--om-gold); border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.om-app[data-ready="true"] .om-status-light { background: var(--om-green); }
.om-app[data-error="true"] .om-status-light { background: var(--om-red); }
.om-workspace { position: relative; flex: 1; min-height: 0; padding: 16px 20px 18px; }
.om-module-host { width: 100%; height: 100%; min-height: 0; }
.om-module { display: flex; flex-direction: column; height: 100%; min-height: 0; gap: 12px; }
.om-module-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; min-height: 37px; }
.om-title-group { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.om-title-group h2 { font-size: 17px; margin: 0; font-weight: 700; letter-spacing: -.3px; }
.om-eyebrow { font-size: 10px; color: var(--om-muted); letter-spacing: 1px; text-transform: uppercase; }
.om-local-controls { display: flex; align-items: center; gap: 8px; }
.om-local-controls .om-local-select { height: 32px; max-width: 240px; }
.om-metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.om-stat { min-width: 0; padding: 13px 16px 11px; border: 1px solid var(--om-edge); background: linear-gradient(140deg, rgba(23, 34, 72, .88), rgba(9, 15, 36, .90)); border-radius: 8px; box-shadow: inset 0 1px 0 rgba(230,240,255,.04); }
.om-stat-name { color: var(--om-secondary); text-transform: uppercase; font-size: 9px; font-weight: 700; letter-spacing: .65px; }
.om-stat-value { display: block; margin-top: 4px; color: var(--om-text); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.5px; }
.om-stat-foot { display: block; color: var(--om-muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.om-negative { color: var(--om-red) !important; }
.om-positive { color: var(--om-green) !important; }
.om-neutral { color: var(--om-muted) !important; }
.om-plot-shell { display: flex; flex-direction: column; flex: 1; min-height: 190px; border: 1px solid rgba(125, 158, 207, .26); border-radius: var(--om-radius); background: radial-gradient(ellipse at 42% -35%, rgba(23, 62, 105, .23), transparent 78%), linear-gradient(150deg, rgba(11,16,41,.97), rgba(5,9,26,.98)); box-shadow: 0 12px 32px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.03); overflow: hidden; }
.om-plot-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 15px 17px 7px; flex-wrap: wrap; }
.om-plot-title { font-size: 11px; color: var(--om-secondary); font-weight: 700; letter-spacing: .4px; }
.om-plot-canvas { position: relative; flex: 1; min-height: 165px; padding: 5px 14px 10px; }
.om-plot-canvas canvas { display: block; width: 100%; height: 100%; }
.om-legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.om-legend-button { display: flex; align-items: center; gap: 7px; border: 1px solid transparent; background: transparent; color: var(--om-secondary); border-radius: 4px; padding: 4px 7px; font-size: 10px; }
.om-legend-button:hover { background: rgba(140,170,230,.12); color: var(--om-text); }
.om-legend-button:active { transform: translateY(1px); }
.om-legend-button.is-muted { opacity: .35; }
.om-legend-swatch { width: 15px; height: 2px; background: var(--om-swatch, var(--om-aqua)); border-radius: 2px; }
.om-legend-swatch.dashed { height: 0; border-top: 2px dashed var(--om-swatch, var(--om-aqua)); background: transparent; }
.om-data-shell { flex: 0 0 auto; min-height: 68px; max-height: min(28vh, 240px); overflow: auto; border: 1px solid var(--om-edge); border-radius: 8px; background: #070d20; scrollbar-color: #3a4965 #0c1224; }
.om-data { border-collapse: collapse; width: 100%; font-size: 11px; font-variant-numeric: tabular-nums; }
.om-data th, .om-data td { padding: 10px 12px; text-align: center; border-right: 1px solid rgba(124,153,198,.12); white-space: nowrap; }
.om-data thead th { position: sticky; top: 0; z-index: 1; color: #d3ddf5; background: #131d38; font-size: 10px; border-bottom: 1px solid var(--om-edge-strong); }
.om-data tbody tr { border-top: 1px solid rgba(124,153,198,.1); }
.om-data tbody tr:hover { background: rgba(86,142,236,.08); }
.om-data th:first-child, .om-data td:first-child { position: sticky; left: 0; z-index: 2; text-align: left; background: #10182d; }
.om-data thead th:first-child { z-index: 3; }
.om-cell-primary { font-weight: bold; color: var(--om-text); }
.om-cell-delta { margin-left: 6px; font-size: 10px; }
.om-note { flex-shrink: 0; padding: 2px 5px; color: var(--om-muted); font-size: 10px; }
.om-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 250px; height: 100%; text-align: center; padding: 25px; color: var(--om-secondary); }
.om-empty strong { color: var(--om-text); font-size: 14px; }
.om-overlay { position: absolute; z-index: 15; inset: 0; padding: 0 2px; background: radial-gradient(ellipse at 85% -15%, rgba(47, 40, 124, .28), transparent 48%), var(--om-bg); display: flex; flex-direction: column; gap: 9px; }
.om-overlay[hidden] { display: none; }
.om-overlay-bar { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 0 4px 1px; border-bottom: 1px solid var(--om-edge); }
.om-overlay-title { font-weight: 700; font-size: 12px; color: var(--om-aqua); letter-spacing: .4px; }
.om-close { border: 1px solid var(--om-edge-strong); color: var(--om-text); background: #131b33; border-radius: 5px; padding: 3px 10px; font-size: 16px; }
.om-close span { font-size: 11px; padding-left: 4px; }
.om-overlay .om-module-host { flex: 1; min-height: 0; }
.om-error { border: 1px solid rgba(255,113,136,.4); border-radius: 8px; color: var(--om-red); padding: 15px; }
@media (max-width: 900px) {
  .om-app { min-height: 800px; height: auto; min-height: 100vh; }
  .om-header { align-items: flex-start; flex-direction: column; }
  .om-header-controls { justify-content: flex-start; width: 100%; }
  .om-workspace { min-height: 710px; flex: 1; }
  .om-module { min-height: 680px; }
  .om-plot-shell { min-height: 315px; }
  .om-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .om-data-shell { max-height: 250px; }
}
@media (max-width: 550px) {
  .om-header { padding: 12px; }
  .om-brand h1 { font-size: 16px; }
  .om-header-controls { gap: 7px; }
  .om-control { min-width: 100px; flex: 1; }
  .om-control:first-child { min-width: 100%; }
  .om-status { width: 100%; height: 20px; }
  .om-workspace { padding: 8px; }
  .om-stat { padding: 8px; }
  .om-stat-value { font-size: 15px; }
  .om-plot-header { padding: 10px; }
  .om-data th, .om-data td { padding: 8px; }
}
.om-color-0 { background: var(--om-gold); border-color: var(--om-gold) !important; }
.om-color-1 { background: var(--om-aqua); border-color: var(--om-aqua) !important; }
.om-color-2 { background: var(--om-violet); border-color: var(--om-violet) !important; }
.om-color-3 { background: var(--om-green); border-color: var(--om-green) !important; }
.om-color-4 { background: var(--om-red); border-color: var(--om-red) !important; }
.om-color-5 { background: var(--om-brand); border-color: var(--om-brand) !important; }

/* Contrôles locaux Gamma/SR et messages de qualité des données */
.om-sr-input { width: 155px; max-width: 32vw; height: 32px; border: 1px solid var(--om-edge-strong); border-radius: 6px; padding: 6px; background: #101a32; color: var(--om-text); font: inherit; }
.om-local-controls { flex-wrap: wrap; }
.om-note { white-space: normal; }
@media (max-width: 550px) { .om-sr-input { width: 115px; } }


/* ---------------------------------------------------------------
   UI revision: central title, relocated maturity controls, no banner
   --------------------------------------------------------------- */
.om-header { gap: 18px; }
.om-brand { flex: 0 0 auto; }
.om-header-module-title {
  min-width: 170px; flex: 1 1 220px; text-align: center;
  display: flex; justify-content: center; align-items: baseline;
  gap: 10px; flex-wrap: wrap; line-height: 1.3;
}
.om-current-title { font-weight: 700; font-size: 15px; color: var(--om-text); }
.om-current-subtitle { color: var(--om-muted); font-size: 9px; font-weight: 700; letter-spacing: .85px; text-transform: uppercase; }
.om-header-controls { flex: 0 1 auto; align-items: flex-end; gap: 9px; }
.om-header-controls .om-control { min-width: 113px; }
.om-header-controls .om-control:first-child { min-width: 185px; }
.om-header-local-controls {
  display: flex; align-items: flex-end; gap: 9px; flex-wrap: wrap;
  min-height: 35px;
}
.om-header-local-controls:empty { display: none; }
.om-header-local-controls > .om-local-controls {
  min-height: 35px; flex-direction: column; justify-content: flex-end;
  align-items: flex-start; gap: 5px;
}
.om-header-local-controls .om-local-select { height: 35px; max-width: 185px; }
.om-header-local-controls .om-eyebrow { font-size: 9px; }
.om-header-local-controls .om-sr-input { height: 35px; width: 130px; }
.om-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.om-module-heading, .om-module-heading[hidden] { display: none; }
.om-module { gap: 9px; }
.om-note:empty { display: none; }
.om-overlay { gap: 0; padding: 0; }
.om-overlay-bar { display: none; }
.om-overlay .om-module-host { min-height: 0; }
/* Smaller figures in metric tags and legends; data values unchanged. */
.om-stat-name { font-size: 8px; }
.om-stat-foot { font-size: 9px; }
.om-legend-button { font-size: 9px; }
.om-data th, .om-data td { font-size: 10px; }
.om-plot-header { gap: 8px; }
.om-plot-header .om-legend { margin-left: auto; }
.om-chart-expand {
  display: inline-grid; place-items: center; flex: 0 0 30px;
  width: 30px; height: 27px; padding: 0;
  border: 1px solid var(--om-edge-strong); border-radius: 5px;
  background: #14203c; color: var(--om-aqua);
  font-size: 20px; font-weight: 600; line-height: 1;
  margin-left: 7px;
}
.om-chart-expand:hover { background: #1b3253; border-color: var(--om-aqua); }
.om-chart-expand:focus-visible { outline: 2px solid var(--om-aqua); outline-offset: 2px; }
/* Enlarged chart fills the area below the global header (never covers it). */
.om-module.is-chart-expanded {
  position: absolute; z-index: 20; inset: 0;
  padding: 12px 20px 18px;
  height: 100%; min-height: 0 !important;
  background: var(--om-bg); gap: 0;
}
.om-module.is-chart-expanded .om-metrics,
.om-module.is-chart-expanded .om-data-shell,
.om-module.is-chart-expanded .om-note { display: none; }
.om-module.is-chart-expanded .om-plot-shell { flex: 1 1 auto; min-height: 0; }
.om-module.is-chart-expanded .om-plot-canvas { min-height: 0; }
@media (max-width: 1100px) {
  .om-header { flex-wrap: wrap; }
  .om-header-module-title { order: 3; flex: 1 1 100%; justify-content: flex-start; }
  .om-header-controls { margin-left: auto; }
}
@media (max-width: 900px) {
  .om-header-controls { margin-left: 0; }
  .om-header-module-title { order: 0; }
  .om-header-local-controls { width: 100%; }
  .om-module.is-chart-expanded { padding: 8px; }
}
@media (max-width: 550px) {
  .om-header-local-controls > .om-local-controls { min-height: 35px; }
  .om-header-controls .om-control:first-child { min-width: 100%; }
  .om-header-module-title { min-width: 0; }
  .om-plot-header { padding: 9px; }
  .om-chart-expand { margin-left: 0; }
}


/* v3 : sélecteur d'indice au survol/clic du carré SPX/VIX */
.om-market-picker { position: relative; display: inline-flex; vertical-align: middle; z-index: 50; }
.om-market-tag { margin-left: 5px; cursor: pointer; min-width: 40px; font: 700 10px Verdana, sans-serif; padding: 5px 7px; background: linear-gradient(160deg, #1b2948, #11192e); border-color: var(--om-edge-strong); border-radius: 5px; }
.om-market-tag:hover, .om-market-tag:focus-visible { border-color: #b8c5d9; color: white; }
.om-market-menu { display: none; position: absolute; left: 5px; top: calc(100% - 1px); padding: 5px; min-width: 94px; background: #101a31; border: 1px solid var(--om-edge-strong); border-radius: 7px; box-shadow: 0 12px 25px #030816ad; }
.om-market-picker:hover .om-market-menu, .om-market-picker:focus-within .om-market-menu, .om-market-picker.is-open .om-market-menu { display: flex; flex-direction: column; gap: 3px; }
.om-market-menu button { width: 100%; border: 0; color: var(--om-text); padding: 7px 10px; text-align: left; border-radius: 4px; background: transparent; font-size: 11px; font-weight: bold; }
.om-market-menu button:hover, .om-market-menu button:focus-visible { background: #2c3d60; outline: none; }
/* Boutons graphiques : sobres, compacts, + / − sur tous les modules */
.om-chart-expand, .om-tooltip-toggle {
  background: linear-gradient(160deg, #2c354b, #121b2b);
  color: #e3e8f1; border: 1px solid #536078;
  border-radius: 7px; box-shadow: inset 0 1px 0 #ffffff15, 0 3px 7px #0003;
  display: inline-grid; place-items: center;
  width: 25px; height: 23px; min-width: 25px;
  font: 600 13px/1 Verdana, sans-serif; margin-left: 4px;
  padding: 0; transition: background .15s, border-color .15s, transform .15s;
}
.om-chart-expand:hover, .om-tooltip-toggle:hover { border-color: #9cabc1; color: white; background: linear-gradient(150deg, #38465c, #19283a); }
.om-chart-expand:active, .om-tooltip-toggle:active { transform: translateY(1px); }
.om-chart-expand:focus-visible, .om-tooltip-toggle:focus-visible { outline: 2px solid #9cabc1; outline-offset: 2px; }
.om-legend-button { font-size: 8px; }
.om-plot-title { font-size: 10px; }
.om-plot-header { flex-wrap: nowrap; }
.om-plot-header .om-legend { overflow-x: auto; flex-wrap: nowrap; }
.om-plot-header .om-legend-button { flex-shrink: 0; }
.om-plot-canvas { isolation: isolate; }
/* Infobulle fixe, déplaçable par la poignée ; réduction indépendante du graphique. */
.om-fixed-tooltip {
  position: absolute; z-index: 12;
  /* Les 4 positions et la largeur se reglent par les variables CSS ci-dessous. */
  left: var(--om-tooltip-left, auto);
  right: var(--om-tooltip-right, 14px);
  top: var(--om-tooltip-top, 9px);
  bottom: var(--om-tooltip-bottom, auto);
  width: min(var(--om-tooltip-width, 238px), 67%); max-width: calc(100% - 10px);
  background: rgba(11, 17, 33, .96);
  border: 1px solid rgba(133, 156, 184, .64);
  border-radius: 8px; box-shadow: 0 10px 26px #0008, inset 0 1px 0 #ffffff12;
  color: var(--om-text); font-size: 10px; overflow: hidden;
}
.om-tooltip-handle { display: flex; gap: 5px; align-items: center; cursor: grab; padding: 5px 7px; border-bottom: 1px solid var(--om-edge); background: linear-gradient(90deg,#25334e,#152039); touch-action: none; user-select: none; }
.om-fixed-tooltip.is-dragging .om-tooltip-handle { cursor: grabbing; }
.om-tooltip-grip { color: #bac5d7; letter-spacing: -3px; font-size: 12px; padding-right: 4px; }
.om-tooltip-heading { color: #c2cde3; font-size: 8px; font-weight: 700; letter-spacing: .9px; margin-right: auto; }
.om-tooltip-toggle { width: 20px; min-width: 20px; height: 20px; font-size: 11px; }
.om-tooltip-body { padding: 8px 9px; max-height: min(230px, 55vh); overflow-y: auto; }
.om-fixed-tooltip.is-collapsed .om-tooltip-body { display: none; }
.om-fixed-tooltip.is-collapsed .om-tooltip-handle { border-bottom: 0; }
.om-tooltip-date { color: var(--om-text); font-size: 10px; font-weight: 700; margin-bottom: 7px; }
.om-tooltip-rows { display: flex; flex-direction: column; gap: 6px; }
.om-tooltip-row { display: flex; gap: 6px; align-items: center; }
.om-tooltip-swatch { display: block; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 2px; }
.om-tooltip-key { color: #c5cee0; flex: 1; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.om-tooltip-value { text-align: right; white-space: nowrap; color: white; font-variant-numeric: tabular-nums; font-size: 10px; }
@media(max-width: 650px) { .om-fixed-tooltip { width: min(185px, 70%); } .om-tooltip-key { font-size: 8px; } }

/* ===== POSITION INITIALE DES TOOLTIPS — PERSONNALISABLE SANS JS =====
   Valable pour TOUS les produits, graphiques et modules.
   Choisir gauche OU droite, haut OU bas (l'autre cote : auto).
   Ces positions sont l'etat initial ; le glisser-deposer reste possible.
   Les coordonnees sont relatives a la zone du graphique. */
.om-app {
  --om-tooltip-left: auto;
  --om-tooltip-right: 14px;
  --om-tooltip-top: 9px;
  --om-tooltip-bottom: auto;
  --om-tooltip-width: 238px;
}
/* Exemples pour personnaliser par marche / module (a decommenter) :
.om-app[data-market="SPX"] { --om-tooltip-left: 12px; --om-tooltip-right: auto; }
.om-app[data-market="VIX"] { --om-tooltip-top: 20px; --om-tooltip-right: 24px; }
.om-app[data-market="VIX"][data-module="vix-term"] {
  --om-tooltip-left: 8px; --om-tooltip-right: auto;
  --om-tooltip-top: auto; --om-tooltip-bottom: 12px;
}
*/

/* Module export VIX : vue sans graphique, boutons coherents avec la charte. */
.om-export-weekly {
  max-width: 900px; margin: clamp(16px, 5vh, 50px) auto; padding: 30px;
  border: 1px solid var(--om-edge-strong); border-radius: 12px;
  background: linear-gradient(150deg, rgba(19,32,61,.94), rgba(7,13,30,.96));
  color: var(--om-text);
}
.om-export-weekly h2 { font-size: 17px; margin: 0 0 16px; }
.om-export-weekly p { max-width: 750px; color: var(--om-secondary); line-height: 1.7; }
.om-export-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 25px 0; }
.om-export-button { border: 1px solid #536078; border-radius: 7px; color: var(--om-text);
  background: linear-gradient(145deg, #2b3853, #162238); padding: 12px 16px; font-weight: 700; }
.om-export-button:hover { border-color: #9cabc1; background: linear-gradient(150deg, #38465c, #1b2f4a); }
.om-export-button:disabled { opacity: .5; cursor: progress; }
.om-export-weekly .om-export-caution { color: var(--om-gold); }
.om-export-weekly .om-export-status { font-size: 11px; color: var(--om-text); }


/* V5 : export universel multi-produit / selection explicite par case a cocher. */
.om-export-multi { max-width: 950px; }
.om-export-products {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px; margin: 18px 0 8px;
}
.om-export-product {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px;
  background: rgba(10,20,43,.85); border: 1px solid var(--om-edge-strong);
  border-radius: 9px; color: var(--om-text); font-size: 12px;
  cursor: pointer; user-select: none; transition: border-color .15s, background .15s;
}
.om-export-product:hover { border-color: #a6b6cd; background: rgba(26,41,69,.85); }
.om-export-product:has(input:checked) { border-color: var(--om-aqua); background: rgba(36,66,91,.32); }
.om-export-product input[type="checkbox"] {
  flex: 0 0 17px; width: 17px; height: 17px; accent-color: #49e0f2;
  cursor: pointer; margin: 0;
}
.om-export-product input:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.om-export-multi .om-export-actions { margin: 20px 0 12px; }
.om-export-multi .om-export-status { min-height: 18px; }
.om-export-multi .om-export-csv:disabled { opacity: .32; cursor: not-allowed; }

/* V6 : consultation des primes des options SPX et VIX. */
.om-premium-module { gap: 11px; }
.om-premium-intro { display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:var(--om-secondary);font-size:11px; }
.om-premium-selector { display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px;border:1px solid var(--om-edge);border-radius:8px;background:var(--om-pane); }
.om-premium-selector label {display:flex;align-items:center;gap:8px;color:var(--om-secondary);font-size:11px;}
.om-premium-selector select,.om-premium-selector input {height:32px;min-width:95px;color:var(--om-text);background:#101a32;border:1px solid var(--om-edge-strong);border-radius:5px;padding:5px 7px;font:inherit;}
.om-premium-selector input[type="search"] { min-width:150px; }
.om-premium-highlights { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px; }
.om-premium-data-shell { flex:1;min-height:150px;overflow:auto;border:1px solid var(--om-edge);border-radius:9px;background:#090e20; }
.om-premium-table { width:100%; }
.om-premium-table tr[data-strike] {cursor:pointer;}
.om-premium-table tbody tr.is-selected td {background:#26334d;color:#fff;}
.om-premium-table thead th {z-index:2;}
.om-premium-foot {color:var(--om-muted);font-size:10px;}
@media(max-width:950px){.om-premium-highlights{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:500px){.om-premium-selector{padding:8px;}.om-premium-highlights{grid-template-columns:1fr 1fr;}.om-premium-highlights .om-stat-value{font-size:14px;}}

.om-data-toolbar {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px;
    background: var(--om-pane-raised);
    color: var(--om-secondary);
}

.om-module.is-table-expanded .om-plot-shell {
    display: none;
}

.om-module.is-table-expanded .om-data-shell {
    flex: 1 1 auto;
    max-height: none;
    min-height: 0;
}

.om-module.is-chart-expanded .om-data-shell {
    display: none;
}

.om-tooltip-premium {
    flex: 0 0 100%;
    width: 100%;
    padding: 3px 8px 6px;
    color: var(--om-secondary);
    font-size: 10px;
    white-space: normal;
    overflow-wrap: anywhere;
}