
/* Layout : application à onglets — barre de commande, vues en grille 12 colonnes, fiches en panneau latéral. */
:root {
  --bg: #0A1D30; --bg-2: #0F2740; --bg-3: #143252;
  --line: rgba(206, 224, 242, 0.13); --line-strong: rgba(206, 224, 242, 0.26);
  --fg: #E7EEF5; --muted: #8FA5BB; --accent: #F3B648; --accent-ink: #1A1205;
  --signal: #72C6E3; --warn: #E9876F; --ok: #7FC79A;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  --s0: #6EC3E6; --s1: #58B5B0; --s2: #8DB86E; --s3: #C9B04C; --s4: #EE9F45; --s5: #E9785A; --s6: #D9637A;
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --r: 14px; --maxw: 1320px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #EDF1F4; --bg-2: #FFFFFF; --bg-3: #E2E9EF;
    --line: rgba(10, 29, 48, 0.12); --line-strong: rgba(10, 29, 48, 0.24);
    --fg: #0A1D30; --muted: #4F6478; --accent: #B9790A; --accent-ink: #FFFFFF;
    --signal: #1D6E93; --warn: #B4452C; --ok: #2E7D4F;
    --shadow: 0 30px 70px -35px rgba(10, 29, 48, 0.35);
    --s0: #2F8DB8; --s1: #2A8C86; --s2: #5E8F3E; --s3: #9C8420; --s4: #C87516; --s5: #C2512F; --s6: #B23D58;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #EDF1F4; --bg-2: #FFFFFF; --bg-3: #E2E9EF;
  --line: rgba(10, 29, 48, 0.12); --line-strong: rgba(10, 29, 48, 0.24);
  --fg: #0A1D30; --muted: #4F6478; --accent: #B9790A; --accent-ink: #FFFFFF;
  --signal: #1D6E93; --warn: #B4452C; --ok: #2E7D4F;
  --shadow: 0 30px 70px -35px rgba(10, 29, 48, 0.35);
  --s0: #2F8DB8; --s1: #2A8C86; --s2: #5E8F3E; --s3: #9C8420; --s4: #C87516; --s5: #C2512F; --s6: #B23D58;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font: 400 15px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(16px, 3.4vw, 36px); }
.mono { font-family: var(--f-mono); font-size: 0.78rem; }
.eyebrow { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; margin: 0; text-wrap: balance; }
h3 { font-size: 1.08rem; letter-spacing: -0.01em; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- barre ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 16px; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.04rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand small { font-family: var(--f-mono); font-weight: 400; font-size: 0.64rem; color: var(--muted); letter-spacing: .1em; }
.live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); white-space: nowrap; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 9px transparent; } }
.searchbtn { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-width: min(320px, 40vw); padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg-2); color: var(--muted); cursor: pointer; font-size: .88rem; text-align: left; }
.searchbtn:hover { border-color: var(--accent); color: var(--fg); }
.searchbtn kbd { margin-left: auto; font-family: var(--f-mono); font-size: .68rem; border: 1px solid var(--line-strong); border-radius: 5px; padding: 1px 6px; }
.searchbtn svg { width: 15px; height: 15px; flex: none; }
@media (max-width: 720px) { .searchbtn { min-width: 0; } .searchbtn span, .searchbtn kbd, .top .live { display: none; } }
.tabs { position: relative; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-bottom: 0; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; border: 0; background: none; padding: 12px 14px 13px; color: var(--muted); font-size: .9rem; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { color: var(--fg); }
.tab .ct { font-family: var(--f-mono); font-size: .66rem; padding: 1px 6px; border-radius: 99px; background: var(--bg-3); color: var(--muted); }
.tab-ink { position: absolute; bottom: 0; height: 2px; background: var(--accent); border-radius: 2px; transition: left .45s cubic-bezier(.2,.8,.2,1), width .45s cubic-bezier(.2,.8,.2,1); pointer-events: none; }

/* ---------- vues ---------- */
main { padding-block: 28px 80px; }
.view-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 24px; }
.view-head h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -0.045em; line-height: .98; max-width: 18ch; }
.view-head h1 em { font-style: normal; color: var(--accent); }
.view-head .lede { color: var(--muted); max-width: 52ch; font-size: 1rem; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.grid > * { min-width: 0; }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; } .c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c12 { grid-column: span 12; }
@media (max-width: 1060px) { .c4, .c5, .c6, .c7, .c8 { grid-column: span 12; } .c3 { grid-column: span 6; } }
@media (max-width: 560px) { .c3 { grid-column: span 12; } }
.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); padding: 20px; }
.ph { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.ph p, .ph .muted { font-size: .84rem; color: var(--muted); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-size: .84rem; text-decoration: underline; text-underline-offset: 3px; }

/* KPI */
.kpi { position: relative; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); overflow: hidden; cursor: pointer; transition: border-color .2s, transform .3s cubic-bezier(.2,.8,.2,1); text-align: left; width: 100%; }
.kpi:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.kpi .k { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kpi .v { display: block; font-family: var(--f-display); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.05; margin-top: 8px; font-variant-numeric: tabular-nums; }
.kpi .s { display: block; font-size: .84rem; color: var(--muted); margin-top: 4px; }
.kpi .deploy { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-strong); font-size: .84rem; color: var(--accent); }
.kpi .deploy b { font-family: var(--f-mono); font-weight: 500; }
.kpi .deploy i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.kpi::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--signal) 18%, transparent), transparent); pointer-events: none; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); margin-bottom: 16px; }
.strip > div { padding: 14px 18px; border-right: 1px solid var(--line); min-width: 0; }
.strip > div:last-child { border-right: 0; }
.strip b { display: block; font-family: var(--f-display); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.strip span { font-size: .8rem; color: var(--muted); }
@media (max-width: 700px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip > div:nth-child(2) { border-right: 0; } .strip > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); margin-bottom: 22px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker ul { display: flex; gap: 34px; width: max-content; list-style: none; margin: 0; padding: 10px 0; animation: marquee 80s linear infinite; }
.ticker:hover ul { animation-play-state: paused; }
.ticker li { display: flex; gap: 8px; align-items: baseline; font-size: .86rem; white-space: nowrap; color: var(--muted); cursor: pointer; }
.ticker li b { color: var(--fg); font-weight: 600; }
.ticker li span { font-family: var(--f-mono); color: var(--accent); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* contrôles */
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 99px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 5px 12px; border-radius: 99px; cursor: pointer; font-size: .8rem; color: var(--muted); transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.input { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 12px; outline: none; transition: border-color .2s, box-shadow .2s; min-width: 0; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field.grow { flex: 1 1 240px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); cursor: pointer; padding-bottom: 9px; }
.toggle input { accent-color: var(--accent); width: 16px; height: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line-strong); background: transparent; border-radius: 99px; padding: 5px 11px; font-size: .8rem; cursor: pointer; color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--fg); border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-weight: 500; text-decoration: none; transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .2s, background .2s; }
.btn:hover { transform: translateY(-2px); border-color: var(--fg); }
.btn-primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .66rem; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line-strong); white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; }
.tag { display: inline-block; font-size: .72rem; padding: 2px 8px; border-radius: 6px; background: var(--bg-3); color: var(--muted); margin: 2px 4px 2px 0; }
.deploy-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .06em; padding: 2px 8px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); white-space: nowrap; }
.deploy-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.new-tag { font-family: var(--f-mono); font-size: .6rem; color: var(--ok); letter-spacing: .06em; margin-left: 6px; }
.ent { color: var(--signal); cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--signal) 35%, transparent); text-underline-offset: 2px; background: none; border: 0; padding: 0; font: inherit; }
.ent:hover { text-decoration-color: var(--signal); }
.ent.dep { color: var(--accent); text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }

/* tables */
.table { border-top: 1px solid var(--line); }
.tr { display: grid; gap: 14px; align-items: center; padding: 11px 8px; border-bottom: 1px solid var(--line); transition: background .2s, padding .25s; }
.tr.head { color: var(--muted); font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; padding-block: 8px; }
.tr.row { cursor: pointer; }
.tr.row:hover { background: var(--bg-3); padding-left: 14px; }
.tr .r { text-align: right; font-family: var(--f-mono); font-size: .84rem; white-space: nowrap; }
.tr .dt { font-family: var(--f-mono); font-size: .74rem; color: var(--muted); white-space: nowrap; }
.tr .nm { font-weight: 600; min-width: 0; }
.tr .nm small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr .inv { font-size: .8rem; color: var(--muted); min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.amt { color: var(--accent); }
.t-deals { grid-template-columns: 64px minmax(0, 2.2fr) 92px 82px minmax(0, 1fr) minmax(0, 2.4fr); }
.t-ops { grid-template-columns: 64px minmax(0, 2.4fr) minmax(0, 1.2fr) minmax(0, 1fr) 90px; }
.t-acq { grid-template-columns: minmax(0, 2fr) 60px minmax(0, 2fr) minmax(0, 1.4fr) 90px; }
@media (max-width: 860px) {
  .tr.head { display: none; }
  .t-deals, .t-ops, .t-acq { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .t-deals > :nth-child(1), .t-ops > :nth-child(1) { grid-column: 1 / -1; }
  .t-deals > .inv, .t-acq > .inv { grid-column: 1 / -1; }
}
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.pager button { min-width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-family: var(--f-mono); font-size: .78rem; }
.pager button[aria-current="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pager button:disabled { opacity: .35; cursor: default; }
.empty { padding: 36px 0; text-align: center; color: var(--muted); }

/* listes compactes */
.lrow { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 2px; border-top: 1px solid var(--line); align-items: baseline; cursor: pointer; }
.lrow:hover .co { color: var(--accent); }
.lrow .dt { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.lrow .co { font-weight: 600; transition: color .2s; min-width: 0; overflow-wrap: anywhere; }
.lrow .co small { font-weight: 400; color: var(--muted); margin-left: 8px; font-size: .78rem; }
.lrow .v { font-family: var(--f-mono); font-size: .84rem; color: var(--accent); text-align: right; white-space: nowrap; }
.lrow .sub { grid-column: 2 / -1; font-size: .78rem; color: var(--muted); overflow-wrap: anywhere; }
.lrow .pitch { grid-column: 2 / -1; font-size: .84rem; color: var(--fg); opacity: .82; line-height: 1.45; margin: 2px 0 1px; }
.thesis { display: flex; flex-direction: column; gap: 12px; }
.thesis-decl { font-size: 1.02rem; line-height: 1.55; padding-left: 14px; border-left: 2px solid var(--accent); }
.thesis-obs { font-size: .9rem; line-height: 1.6; color: var(--muted); }
.thesis-obs .eyebrow { display: block; margin-bottom: 4px; }
.lb { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.lb .rk { font-family: var(--f-mono); font-size: .7rem; color: var(--muted); }
.lb .bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.lb .bar i { display: block; height: 100%; background: var(--signal); transform-origin: left; }
.lb .n { font-family: var(--f-mono); font-size: .8rem; }

/* graphes */
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--f-mono); font-size: .68rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.stagebar { display: flex; height: 46px; border-radius: 10px; overflow: hidden; gap: 2px; }
.stagebar > div { min-width: 3px; display: flex; align-items: flex-end; padding: 6px; font-family: var(--f-mono); font-size: .68rem; color: #08131f; font-weight: 500; cursor: pointer; }
.srow { display: grid; grid-template-columns: 12px minmax(0, 1fr) 44px 80px; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-size: .88rem; cursor: pointer; }
.srow:hover { color: var(--accent); }
.srow i { width: 10px; height: 10px; border-radius: 3px; }
.srow .r { text-align: right; font-family: var(--f-mono); font-size: .8rem; }
.hbar { display: grid; grid-template-columns: minmax(80px, 140px) minmax(0, 1fr) 70px; gap: 10px; align-items: center; padding: 5px 0; font-size: .86rem; cursor: pointer; }
.hbar:hover span:first-child { color: var(--accent); }
.hbar .t { height: 16px; background: var(--bg-3); border-radius: 4px; overflow: hidden; }
.hbar .t i { display: block; height: 100%; background: linear-gradient(90deg, color-mix(in srgb, var(--signal) 50%, transparent), var(--signal)); border-radius: 4px; transform-origin: left; }
.hbar .r { text-align: right; font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }

/* ligne des fonds en déploiement */
.deploy-line { position: relative; margin-bottom: 22px; }
.deploy-line .rail { display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
.dcard { flex: 0 0 min(270px, 78vw); scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 9%, var(--bg-2)), var(--bg-2) 55%); cursor: pointer; text-align: left; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .2s; display: flex; flex-direction: column; gap: 8px; }
.dcard:hover { transform: translateY(-3px); border-color: var(--accent); }
.dcard .vn { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; line-height: 1.15; }
.dcard .mg { font-size: .78rem; color: var(--muted); }
.dcard .big { font-family: var(--f-display); font-size: 1.7rem; font-weight: 500; letter-spacing: -0.04em; }
.dcard .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); }
.dcard .act { font-family: var(--f-mono); font-size: .72rem; color: var(--ok); }
.dcard .act.zero { color: var(--muted); }
.rail-nav { position: absolute; right: 0; top: -46px; display: flex; gap: 6px; }
.rail-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg-2); cursor: pointer; }

/* cartes investisseurs */
.icards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 12px; }
.icard { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: var(--bg-2); cursor: pointer; text-align: left; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .2s; }
.icard:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.icard.dep { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.ih { display: flex; gap: 12px; align-items: center; min-width: 0; }
.av { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; font-family: var(--f-mono); font-size: .76rem; background: var(--bg-3); color: var(--signal); border: 1px solid var(--line); overflow: hidden; }
.av.has-logo { background: #FFFFFF; padding: 5px; border-color: var(--line-strong); }
.av img { width: 100%; height: 100%; object-fit: contain; display: block; }
.av.sm { width: 26px; height: 26px; border-radius: 8px; font-size: .58rem; padding: 3px; }
.av.xs { width: 18px; height: 18px; border-radius: 5px; font-size: .5rem; padding: 2px; }
.av.sm:not(.has-logo), .av.xs:not(.has-logo) { padding: 0; }
.lbn { display: flex; gap: 10px; align-items: center; min-width: 0; }
.chip-logo { display: inline-flex; align-items: center; gap: 6px; padding-left: 5px; }
.dcard.intl { background: linear-gradient(160deg, color-mix(in srgb, var(--signal) 9%, var(--bg-2)), var(--bg-2) 55%); }
.dcard.intl:hover { border-color: var(--signal); }
.dcard .dtop { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.icard .nm { font-weight: 600; font-size: 1rem; line-height: 1.2; overflow-wrap: anywhere; }
.icard .ty { font-size: .76rem; color: var(--muted); }
.icard .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; font-size: .78rem; }
.icard .facts b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .86rem; }
.icard .facts span { color: var(--muted); font-size: .7rem; }
.icard .ih .star { margin-left: auto; align-self: flex-start; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 99px; font-size: 1.05rem; line-height: 1; color: var(--muted); border: 1px solid transparent; transition: color .2s, border-color .2s; }
.icard .ih .star:hover, .icard .ih .star:focus-visible { border-color: var(--line-strong); color: var(--fg); }
.icard .ih .star.on { color: var(--accent); }
.icard .facts.sub { border-top: 1px dashed var(--line); padding-top: 8px; }
.shared-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: .88rem; }
.shared-bar b { font-weight: 600; }
.shared-bar .btn { margin-left: auto; }
.shared-bar .btn + .btn { margin-left: 0; }
.icard .depline { font-size: .8rem; color: var(--accent); border-top: 1px dashed var(--line-strong); padding-top: 8px; overflow-wrap: anywhere; }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 22px; }
.spark i { flex: 1; background: var(--signal); opacity: .8; border-radius: 2px 2px 0 0; min-height: 1px; }
.more { display: flex; justify-content: center; margin-top: 18px; }

/* PE gantt */
.gantt { overflow-x: auto; }
.gantt svg { min-width: 760px; }
.gantt .grow { cursor: pointer; }
.gantt .grow:hover rect.b { filter: brightness(1.15); }

/* comparables */
.pos { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.4; }
.pos b { color: var(--accent); }

/* tiroir */
.scrim { position: fixed; inset: 0; background: rgba(4, 12, 22, 0.55); backdrop-filter: blur(3px); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(760px, 100%); background: var(--bg-2); border-left: 1px solid var(--line); z-index: 90; transform: translateX(104%); transition: transform .5s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: var(--shadow); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.on { transform: none; }
.d-top { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.d-top .crumb { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iconbtn { border: 1px solid var(--line-strong); background: transparent; border-radius: 99px; width: 34px; height: 34px; cursor: pointer; font-size: 1rem; flex: none; }
.iconbtn:disabled { opacity: .3; cursor: default; }
.d-body { overflow-y: auto; padding: 24px 22px 48px; display: flex; flex-direction: column; gap: 22px; }
.d-title { display: flex; gap: 14px; align-items: center; }
.d-title .av { width: 52px; height: 52px; border-radius: 14px; font-size: .95rem; }
.d-title h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -0.04em; line-height: 1; }
.d-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.facts4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; }
.facts4 > div { padding: 12px 14px; border-right: 1px solid var(--line); min-width: 0; }
.facts4 > div:last-child { border-right: 0; }
.facts4 b { display: block; font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.facts4 span { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .facts4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts4 > div:nth-child(2) { border-right: 0; } .facts4 > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.d-sec h4 { font-family: var(--f-mono); font-weight: 400; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.d-sec p { overflow-wrap: anywhere; }
.vehicle { border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); border-radius: var(--r); padding: 18px; background: linear-gradient(170deg, color-mix(in srgb, var(--accent) 7%, var(--bg-2)), var(--bg-2) 60%); display: flex; flex-direction: column; gap: 14px; }
.vehicle .vh { display: flex; justify-content: space-between; gap: 12px; align-items: start; flex-wrap: wrap; }
.vehicle h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.kv { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 6px 16px; font-size: .9rem; }
.kv dt { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; } .kv dd { margin-bottom: 8px; } }
.people { display: flex; flex-wrap: wrap; gap: 6px; }
.person { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 99px; font-size: .82rem; }
.person .av { width: 24px; height: 24px; border-radius: 50%; font-size: .58rem; }
.warnbox { border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 8%, transparent); border-radius: 12px; padding: 10px 14px; font-size: .86rem; }
.warnbox b { color: var(--warn); font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; display: block; margin-bottom: 4px; }
.timeline { position: relative; display: grid; gap: 14px; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--line-strong); }
.tl { position: relative; }
.tl::before { content: ""; position: absolute; left: -21px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--signal); }
.tl.exit::before { border-color: var(--accent); background: var(--accent); }
.tl .h { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.tl .h span { font-family: var(--f-mono); font-size: .82rem; color: var(--accent); font-weight: 400; }
.tl p { font-size: .82rem; color: var(--muted); }

/* palette */
.pal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: start center; padding: 12vh 16px 16px; background: rgba(4, 12, 22, .55); backdrop-filter: blur(4px); }
.pal-box { width: min(620px, 100%); background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.pal-in { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pal-in input { flex: 1; border: 0; background: none; outline: none; font-size: 1.1rem; min-width: 0; }
.pal-list { max-height: min(56vh, 520px); overflow-y: auto; padding: 6px; margin: 0; list-style: none; }
.pal-list .grp { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 10px 4px; }
.pal-list .it { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.pal-list .it[aria-selected="true"] { background: var(--bg-3); }
.pal-list .it .av { width: 28px; height: 28px; border-radius: 8px; font-size: .6rem; }
.pal-list .it .sub { font-size: .78rem; color: var(--muted); }
.pal-list .it .r { margin-left: auto; font-family: var(--f-mono); font-size: .74rem; color: var(--muted); }
.pal-foot { display: flex; gap: 14px; padding: 8px 14px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: .68rem; color: var(--muted); }

.tip { position: fixed; z-index: 140; pointer-events: none; background: var(--fg); color: var(--bg); padding: 7px 10px; border-radius: 9px; font-size: .8rem; line-height: 1.35; max-width: 260px; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.tip.on { opacity: 1; transform: none; }
.tip small { display: block; font-family: var(--f-mono); font-size: .68rem; opacity: .75; }
footer { border-top: 1px solid var(--line); padding-block: 26px 40px; color: var(--muted); font-size: .84rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
/* ---------- MCP ---------- */
@keyframes ring { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.flow svg { width: 100%; height: auto; display: block; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.steps > div { border-top: 2px solid var(--line-strong); padding-top: 12px; font-size: .9rem; color: var(--muted); }
.steps b { display: block; color: var(--fg); font-family: var(--f-display); font-size: 1.02rem; margin-bottom: 4px; }
.steps .n { font-family: var(--f-mono); font-size: .7rem; color: var(--accent); }
@media (max-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.urlbox { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 10px 10px 14px; background: var(--bg); min-width: 0; }
.urlbox code { font-family: var(--f-mono); font-size: .9rem; color: var(--accent); overflow-wrap: anywhere; flex: 1; min-width: 0; }
.code { font-family: var(--f-mono); font-size: .78rem; line-height: 1.6; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; white-space: pre-wrap; word-break: break-word; position: relative; }
.copy { font-family: var(--f-mono); font-size: .7rem; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--bg-2); cursor: pointer; white-space: nowrap; }
.copy:hover { border-color: var(--accent); }
.cfg ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .92rem; }
.cfg ol code { font-family: var(--f-mono); font-size: .8rem; background: var(--bg-3); padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }
.toolgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.toolc { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--bg); }
.toolc code { font-family: var(--f-mono); font-size: .82rem; color: var(--signal); }
.toolc p { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.toolc .ex { font-size: .8rem; color: var(--fg); margin-top: 8px; font-style: italic; }
.chat { display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 16px; font-size: .93rem; }
.msg.user { align-self: flex-end; background: var(--bg-3); border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.bot ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.toolcall { align-self: flex-start; font-family: var(--f-mono); font-size: .74rem; color: var(--signal); display: flex; flex-direction: column; gap: 6px; max-width: 100%; }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; }
.qchip { border: 1px dashed var(--line-strong); border-radius: 99px; padding: 7px 13px; font-size: .84rem; background: transparent; cursor: pointer; color: var(--fg); }
.qchip:hover { border-style: solid; border-color: var(--accent); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 99px; font-size: .86rem; opacity: 0; transition: opacity .25s, transform .25s; z-index: 150; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
/* ---------- v4 : bandeau MCP, semaine, thème ---------- */
.mcp-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 20px; align-items: center; padding: 16px 18px; margin-bottom: 22px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 12%, var(--bg-2)), var(--bg-2) 55%); }
.mcp-top .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--fg); color: var(--bg); position: relative; }
.mcp-top .ic::after { content: ""; position: absolute; inset: -5px; border-radius: 16px; border: 1px solid var(--accent); animation: ring 2.6s ease-out infinite; }
.mcp-top .ic svg { width: 22px; height: 22px; }
.mcp-top b { font-family: var(--f-display); font-size: 1.08rem; letter-spacing: -0.01em; display: block; }
.mcp-top p { font-size: .86rem; color: var(--muted); }
.mcp-top .acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.mcp-top code { font-family: var(--f-mono); font-size: .76rem; color: var(--accent); padding: 7px 10px; border: 1px dashed color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 9px; white-space: nowrap; }
@media (max-width: 760px) { .mcp-top { grid-template-columns: auto minmax(0, 1fr); } .mcp-top .acts { grid-column: 1 / -1; justify-content: flex-start; } .mcp-top code { white-space: normal; overflow-wrap: anywhere; } }
.btn.sm { padding: 7px 12px; font-size: .82rem; }
.week { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 28px; }
@media (max-width: 860px) { .week { grid-template-columns: minmax(0, 1fr); } }
.week .big { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.week .sub { color: var(--muted); font-size: .86rem; margin-top: 4px; }
.week-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 6px; }
.week-stats div { border-top: 1px solid var(--line); padding-top: 8px; }
.week-stats b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 1rem; }
.week-stats span { font-size: .74rem; color: var(--muted); }
.tablebar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.themebtn { border: 1px solid var(--line-strong); background: var(--bg-2); border-radius: 10px; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; flex: none; }
.themebtn:hover { border-color: var(--accent); }
.themebtn svg { width: 17px; height: 17px; }
/* fonds étrangers mis à part */
.foreign { border: 1px dashed var(--line-strong); border-radius: var(--r); padding: 12px 16px; margin: -6px 0 22px; background: var(--bg-2); }
.foreign summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; align-items: center; list-style: none; font-size: .92rem; }
.foreign summary::-webkit-details-marker { display: none; }
.foreign summary::after { content: "+"; font-family: var(--f-mono); color: var(--muted); margin-left: 8px; }
.foreign[open] summary::after { content: "−"; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 8px; }
.fcard { display: flex; gap: 10px; align-items: flex-start; text-align: left; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--bg); cursor: pointer; color: inherit; font: inherit; }
.fcard:hover { border-color: var(--line-strong); }
.fcard b { display: block; font-size: .9rem; line-height: 1.2; overflow-wrap: anywhere; }
.fcard .muted { display: block; font-size: .76rem; }
.fcard .fl { display: block; font-family: var(--f-mono); font-size: .66rem; color: var(--muted); margin-top: 3px; }
/* ---------- fonds européens ---------- */
.eu-map { position: relative; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 90% at 70% 20%, var(--bg-3), var(--bg) 70%); border: 1px solid var(--line); }
.eu-map canvas { display: block; width: 100%; height: clamp(320px, 38vw, 470px); cursor: crosshair; }
.eu-hud { position: absolute; left: 12px; bottom: 10px; right: 12px; font-size: .74rem; color: var(--muted); pointer-events: none; }
.eu-hud b { color: var(--accent); font-weight: 500; }
.crow { display: grid; grid-template-columns: 32px minmax(70px, 0.9fr) minmax(30px, 1.3fr) 34px 64px 58px; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); cursor: pointer; font-size: .88rem; }
.crow:hover { color: var(--accent); }
.crow .cc { font-family: var(--f-mono); font-size: .66rem; border: 1px solid var(--line-strong); border-radius: 5px; text-align: center; padding: 1px 0; }
.crow .bar { height: 14px; background: var(--bg-3); border-radius: 4px; overflow: hidden; }
.crow .bar i { display: block; height: 100%; background: linear-gradient(90deg, color-mix(in srgb, var(--signal) 50%, transparent), var(--signal)); transform-origin: left; }
.crow .r { text-align: right; font-family: var(--f-mono); font-size: .76rem; }
.crow .r.dim { color: var(--muted); }
@media (max-width: 520px) { .crow { grid-template-columns: 28px minmax(60px, 1fr) minmax(24px, .8fr) 28px 56px; } .crow > :last-child { display: none; } }
.ecard .cn { font-family: var(--f-mono); font-size: .64rem; border: 1px solid var(--line-strong); border-radius: 5px; padding: 1px 5px; color: var(--muted); }
.ecard .th { font-size: .82rem; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fr-badge { font-family: var(--f-mono); font-size: .64rem; color: var(--ok); }
.fr-badge.zero { color: var(--muted); }
.matchgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; margin-top: 6px; }
.mcard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 12px; align-items: start; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg); cursor: pointer; text-align: left; color: inherit; font: inherit; transition: border-color .2s, transform .25s cubic-bezier(.2,.8,.2,1); }
.mcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.mcard .nm { font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.mcard .meta { font-size: .76rem; color: var(--muted); }
.mcard .why { grid-column: 1 / -1; font-family: var(--f-mono); font-size: .68rem; color: var(--signal); }
.score { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--f-mono); font-size: .78rem; background: conic-gradient(var(--accent) calc(var(--v) * 1%), var(--line) 0); position: relative; }
.score::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--bg); }
.score span { position: relative; }
.ba-tag { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); white-space: nowrap; }
.ba-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* liens vers les pages indexables */
.explore { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.explore a { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 44px 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); color: inherit; text-decoration: none; overflow: hidden; transition: border-color .2s, transform .3s cubic-bezier(.2,.8,.2,1); }
.explore a:hover { border-color: var(--accent); transform: translateY(-2px); }
.explore .k { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.explore b { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.explore .s { font-size: .84rem; color: var(--muted); }
.explore i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--accent); font-size: 1.2rem; transition: transform .25s; }
.explore a:hover i { transform: translate(4px, -50%); }
@media (max-width: 1060px) { .explore { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .explore { grid-template-columns: 1fr; } }
.head-links { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
.d-top #dPage { text-decoration: none; }
/* ---------- styles du site : « Édito » et « Bento » (html[data-style]), chacun en clair et en sombre ---------- */
:root[data-style="edito"] {
  --bg: #FFFFFF; --bg-2: #FFFFFF; --bg-3: #F2F1EE;
  --line: rgba(17, 17, 17, 0.13); --line-strong: rgba(17, 17, 17, 0.42);
  --fg: #111111; --muted: #5A5A5A; --accent: #C8231A; --accent-ink: #FFFFFF;
  --signal: #1F4FA3; --warn: #B4452C; --ok: #2E7D4F;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.28);
  --s0: #1F4FA3; --s1: #3F7F8C; --s2: #6B8E3A; --s3: #A8821A; --s4: #C8231A; --s5: #8C3B6B; --s6: #5A5A5A;
  --f-display: "Alegreya", Georgia, "Times New Roman", serif;
  --f-body: "Alegreya Sans", "Helvetica Neue", system-ui, sans-serif;
  --f-mono: "Alegreya Sans", "Helvetica Neue", system-ui, sans-serif;
  --r: 0px; --maxw: 1280px;
  color-scheme: light;
}
:root[data-style="bento"] {
  --bg: #ECECEA; --bg-2: #FFFFFF; --bg-3: #F4F4F2;
  --line: rgba(14, 14, 16, 0.08); --line-strong: rgba(14, 14, 16, 0.18);
  --fg: #0E0E10; --muted: #55555C; --accent: #2438F0; --accent-ink: #FFFFFF;
  --signal: #C23A17; --warn: #C23A17; --ok: #00875F;
  --shadow: 0 30px 70px -35px rgba(14, 14, 16, 0.3);
  --s0: #2438F0; --s1: #FF5A36; --s2: #00A884; --s3: #F2B705; --s4: #7C8CFF; --s5: #0E0E10; --s6: #9A9AA3;
  --f-display: "Space Grotesk", "Helvetica Neue", system-ui, sans-serif;
  --f-body: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --f-mono: "Space Grotesk", "Helvetica Neue", system-ui, sans-serif;
  --r: 24px; --maxw: 1320px; --coral: #FF5A36;
  color-scheme: light;
}
:root[data-style="edito"][data-theme="dark"] {
  --bg: #111111; --bg-2: #151515; --bg-3: #222222;
  --line: rgba(242, 240, 235, 0.14); --line-strong: rgba(242, 240, 235, 0.42);
  --fg: #F2F0EB; --muted: #A6A39C; --accent: #FF5E52; --accent-ink: #111111; --signal: #93B2FF; --ok: #7FC79A;
  --s0: #93B2FF; --s1: #6FC1C9; --s2: #9CC46A; --s3: #E3C15A; --s4: #FF5E52; --s5: #D88AB8; --s6: #A6A39C;
  color-scheme: dark;
}
:root[data-style="bento"][data-theme="dark"] {
  --bg: #0E0E10; --bg-2: #1A1A1F; --bg-3: #24242B;
  --line: rgba(244, 244, 242, 0.09); --line-strong: rgba(244, 244, 242, 0.2);
  --fg: #F4F4F2; --muted: #A8A8B0; --accent: #7686FF; --accent-ink: #0E0E10; --signal: #FF7A5C; --ok: #3DD6A3;
  --s0: #7686FF; --s1: #FF7A5C; --s2: #3DD6A3; --s3: #F2C94C; --s4: #B3BCFF; --s5: #F4F4F2; --s6: #6E6E78;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-style="edito"]:not([data-theme="light"]) {
    --bg: #111111; --bg-2: #151515; --bg-3: #222222;
    --line: rgba(242, 240, 235, 0.14); --line-strong: rgba(242, 240, 235, 0.42);
    --fg: #F2F0EB; --muted: #A6A39C; --accent: #FF5E52; --accent-ink: #111111; --signal: #93B2FF; --ok: #7FC79A;
    --s0: #93B2FF; --s1: #6FC1C9; --s2: #9CC46A; --s3: #E3C15A; --s4: #FF5E52; --s5: #D88AB8; --s6: #A6A39C;
    color-scheme: dark;
  }
  :root[data-style="bento"]:not([data-theme="light"]) {
    --bg: #0E0E10; --bg-2: #1A1A1F; --bg-3: #24242B;
    --line: rgba(244, 244, 242, 0.09); --line-strong: rgba(244, 244, 242, 0.2);
    --fg: #F4F4F2; --muted: #A8A8B0; --accent: #7686FF; --accent-ink: #0E0E10; --signal: #FF7A5C; --ok: #3DD6A3;
    --s0: #7686FF; --s1: #FF7A5C; --s2: #3DD6A3; --s3: #F2C94C; --s4: #B3BCFF; --s5: #F4F4F2; --s6: #6E6E78;
    color-scheme: dark;
  }
}
.mono, .tr .r, .lrow .v, .lb .n, .kpi .v, .strip b { font-variant-numeric: tabular-nums; }

/* logos et sélecteur de style */
.brand .lg { display: none; align-items: baseline; gap: 10px; }
[data-style="edito"] .brand .lg-edito, [data-style="bento"] .brand .lg-bento { display: inline-flex; }
.lg-edito b { font-family: "Alegreya", Georgia, serif; font-weight: 500; font-size: 1.75rem; letter-spacing: -0.02em; line-height: 1; }
.lg-edito b i { font-style: normal; color: var(--accent); }
.lg-edito small { font-family: "Alegreya Sans", sans-serif; font-weight: 700; font-size: .6rem; letter-spacing: .28em; color: var(--fg); }
.lg-bento { gap: 0 !important; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.04em; }
.lg-bento .dot { position: relative; }
.lg-bento .dot::after { content: ""; position: absolute; left: 50%; top: .16em; width: .3em; height: .3em; margin-left: -.15em; border-radius: 50%; background: var(--coral, #FF5A36); }
.stylesw { display: inline-flex; flex: none; padding: 3px; gap: 2px; border: 1px solid var(--line-strong); background: var(--bg-2); }
.stylesw button { border: 0; background: transparent; min-height: 32px; padding: 0 12px; cursor: pointer; font-size: .8rem; font-weight: 600; color: var(--muted); }
.stylesw button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
[data-style="edito"] .stylesw { border-radius: 0; } [data-style="edito"] .stylesw button { border-radius: 0; }
[data-style="bento"] .stylesw { border-radius: 99px; border-color: transparent; background: var(--bg); } [data-style="bento"] .stylesw button { border-radius: 99px; }
@media (max-width: 720px) { .stylesw button { padding: 0 9px; } }

/* ===== Édito : journal ===== */
[data-style="edito"] body { font-size: 16.5px; }
[data-style="edito"] .top { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 3px double var(--fg); }
[data-style="edito"] .top-row { height: 68px; }
[data-style="edito"] .tabs { border-top: 1px solid var(--line); }
[data-style="edito"] .tab { font-weight: 600; color: var(--fg); opacity: .62; }
[data-style="edito"] .tab[aria-selected="true"] { opacity: 1; color: var(--accent); }
[data-style="edito"] .tab .ct { background: transparent; color: inherit; padding: 0; }
[data-style="edito"] .tab-ink { height: 3px; border-radius: 0; }
[data-style="edito"] .searchbtn, [data-style="edito"] .themebtn, [data-style="edito"] .input, [data-style="edito"] .btn, [data-style="edito"] .chip, [data-style="edito"] .seg, [data-style="edito"] .seg button, [data-style="edito"] .pager button, [data-style="edito"] .copy, [data-style="edito"] .urlbox, [data-style="edito"] .iconbtn, [data-style="edito"] .qchip { border-radius: 0; }
[data-style="edito"] h1, [data-style="edito"] h2, [data-style="edito"] h3 { font-weight: 500; letter-spacing: -0.02em; }
[data-style="edito"] h3 { font-size: 1.45rem; }
[data-style="edito"] .view-head { border-bottom: 1px solid var(--fg); padding-bottom: 22px; }
[data-style="edito"] .view-head h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; max-width: 20ch; }
[data-style="edito"] .view-head h1 em { font-style: italic; color: var(--accent); }
[data-style="edito"] .view-head .lede { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.45; color: var(--fg); opacity: .8; }
[data-style="edito"] .eyebrow, [data-style="edito"] .kpi .k, [data-style="edito"] .field label, [data-style="edito"] .tr.head, [data-style="edito"] .d-sec h4, [data-style="edito"] .facts4 span, [data-style="edito"] .kv dt { font-weight: 700; color: var(--fg); letter-spacing: .14em; }
[data-style="edito"] .panel, [data-style="edito"] .kpi, [data-style="edito"] .strip, [data-style="edito"] .icard, [data-style="edito"] .dcard, [data-style="edito"] .vehicle, [data-style="edito"] .foreign, [data-style="edito"] .fcard, [data-style="edito"] .mcard, [data-style="edito"] .toolc, [data-style="edito"] .facts4 { background: transparent; border: 0; border-top: 2px solid var(--fg); border-radius: 0; box-shadow: none; }
[data-style="edito"] .panel { padding: 16px 0 0; }
[data-style="edito"] .kpi { padding: 14px 4px 10px 0; display: flex; flex-direction: column; justify-content: flex-start; }
[data-style="edito"] .kpi:hover, [data-style="edito"] .icard:hover, [data-style="edito"] .dcard:hover { transform: none; border-top-color: var(--accent); }
[data-style="edito"] .kpi::after { display: none; }
[data-style="edito"] .kpi .v { font-weight: 400; letter-spacing: -0.03em; font-size: clamp(2.4rem, 4vw, 3.4rem); }
[data-style="edito"] .kpi .deploy { border-top: 1px solid var(--line); }
[data-style="edito"] .strip > div { border-right-color: var(--line); }
[data-style="edito"] .strip b, [data-style="edito"] .week .big, [data-style="edito"] .dcard .big { font-weight: 400; }
[data-style="edito"] .ticker { border-block: 1px solid var(--fg); mask-image: none; -webkit-mask-image: none; }
[data-style="edito"] .ticker li span, [data-style="edito"] .amt, [data-style="edito"] .lrow .v { color: var(--fg); font-weight: 700; }
[data-style="edito"] .lrow .co, [data-style="edito"] .tr .nm, [data-style="edito"] .icard .nm, [data-style="edito"] .dcard .vn { font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; }
[data-style="edito"] .tr.row:hover, [data-style="edito"] .lrow:hover { background: var(--bg-3); }
[data-style="edito"] .lb .bar, [data-style="edito"] .hbar .t, [data-style="edito"] .crow .bar { border-radius: 0; }
[data-style="edito"] .hbar .t i, [data-style="edito"] .crow .bar i { background: var(--fg); border-radius: 0; }
[data-style="edito"] .lb .bar i { background: var(--fg); }
[data-style="edito"] .stagebar { border-radius: 0; }
[data-style="edito"] .btn-primary { background: var(--fg); border-color: var(--fg); }
[data-style="edito"] .deploy-tag, [data-style="edito"] .pill, [data-style="edito"] .tag { border-radius: 0; letter-spacing: .08em; font-weight: 700; }
[data-style="edito"] .mcp-top { background: transparent; border: 0; border-block: 3px double var(--fg); border-radius: 0; }
[data-style="edito"] .mcp-top .ic { border-radius: 0; background: var(--accent); color: var(--accent-ink); }
[data-style="edito"] .mcp-top .ic::after { border-radius: 0; }
[data-style="edito"] .mcp-top code { border-radius: 0; color: var(--fg); border-color: var(--fg); }
[data-style="edito"] .drawer { border-left: 3px double var(--fg); }
[data-style="edito"] .pal-box, [data-style="edito"] .toast, [data-style="edito"] .tip { border-radius: 0; }
[data-style="edito"] footer { border-top: 3px double var(--fg); }

/* ===== Bento : blocs audacieux ===== */
[data-style="bento"] .top { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; padding-top: 12px; }
[data-style="bento"] .top .wrap { background: color-mix(in srgb, var(--bg-2) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 22px; padding-block: 2px 8px; box-shadow: 0 10px 30px -18px rgba(14, 14, 16, .35); }
[data-style="bento"] .top-row { height: 60px; }
[data-style="bento"] .tabs { gap: 4px; }
[data-style="bento"] .tab { border-radius: 99px; padding: 9px 14px; font-weight: 600; }
[data-style="bento"] .tab:hover { background: var(--bg-3); }
[data-style="bento"] .tab[aria-selected="true"] { background: var(--fg); color: var(--bg); }
[data-style="bento"] .tab[aria-selected="true"] .ct { background: color-mix(in srgb, var(--bg) 20%, transparent); color: var(--bg); }
[data-style="bento"] .tab-ink { display: none; }
[data-style="bento"] .searchbtn { border-radius: 99px; border-color: transparent; background: var(--bg); }
[data-style="bento"] .themebtn { border-radius: 99px; border-color: transparent; background: var(--bg); }
[data-style="bento"] main { padding-top: 22px; }
[data-style="bento"] h1, [data-style="bento"] h2, [data-style="bento"] h3 { font-weight: 700; letter-spacing: -0.035em; }
[data-style="bento"] h3 { font-size: 1.3rem; }
[data-style="bento"] .view-head h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; letter-spacing: -0.05em; line-height: .95; max-width: 16ch; }
[data-style="bento"] .view-head h1 em { color: var(--accent); }
[data-style="bento"] .panel, [data-style="bento"] .kpi, [data-style="bento"] .strip, [data-style="bento"] .icard, [data-style="bento"] .dcard, [data-style="bento"] .vehicle, [data-style="bento"] .foreign, [data-style="bento"] .toolc { border: 0; border-radius: var(--r); background: var(--bg-2); }
[data-style="bento"] .panel { padding: 24px; }
[data-style="bento"] .dcard, [data-style="bento"] .dcard.intl, [data-style="bento"] .vehicle { background: var(--bg-2); }
[data-style="bento"] .fcard, [data-style="bento"] .mcard { border: 0; border-radius: 16px; background: var(--bg-3); }
[data-style="bento"] .input { border-radius: 14px; border-color: transparent; background: var(--bg-3); }
[data-style="bento"] .btn, [data-style="bento"] .chip { border-color: transparent; background: var(--bg-3); }
[data-style="bento"] .btn-primary, [data-style="bento"] .chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
[data-style="bento"] .btn-primary:hover { background: var(--accent); color: var(--accent-ink); }
[data-style="bento"] .seg { border-color: transparent; background: var(--bg-3); }
[data-style="bento"] .pager button { border-radius: 99px; border-color: transparent; background: var(--bg-2); }
[data-style="bento"] .ticker { border: 0; border-radius: var(--r); background: var(--bg-2); }
[data-style="bento"] .kpi { padding: 24px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
[data-style="bento"] .kpi::after { display: none; }
[data-style="bento"] .kpi .k { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-size: .86rem; font-weight: 600; color: inherit; opacity: .75; }
[data-style="bento"] .kpi .v { font-weight: 700; font-size: clamp(2.6rem, 4.6vw, 3.8rem); letter-spacing: -0.05em; }
[data-style="bento"] .kpi .s { color: inherit; opacity: .75; }
[data-style="bento"] .kpi .deploy { color: inherit; border-top-color: color-mix(in srgb, currentColor 25%, transparent); }
[data-style="bento"] .kpi .deploy i { background: currentColor; box-shadow: none; }
[data-style="bento"] #ovKpis > .kpi:nth-child(1) { background: var(--accent); color: #FFFFFF; }
[data-style="bento"] #ovKpis > .kpi:nth-child(2) { background: var(--coral); color: #0E0E10; }
[data-style="bento"] #ovKpis > .kpi:nth-child(4) { background: #0E0E10; color: #FFFFFF; }
[data-style="bento"][data-theme="dark"] #ovKpis > .kpi:nth-child(4) { background: #F4F4F2; color: #0E0E10; }
[data-style="bento"] .kpi:hover { transform: translateY(-3px) rotate(-.3deg); }
[data-style="bento"] .strip { overflow: hidden; }
[data-style="bento"] .strip > div { border-right-color: var(--line); }
[data-style="bento"] .strip b, [data-style="bento"] .week .big, [data-style="bento"] .dcard .big { font-weight: 700; }
[data-style="bento"] .week .big { font-size: clamp(2.8rem, 5vw, 4rem); color: var(--accent); }
[data-style="bento"] .lb .bar { height: 10px; border-radius: 99px; background: var(--bg-3); }
[data-style="bento"] .lb .bar i { border-radius: 99px; }
[data-style="bento"] .hbar .t, [data-style="bento"] .crow .bar { border-radius: 99px; }
[data-style="bento"] .hbar .t i, [data-style="bento"] .crow .bar i { background: var(--fg); border-radius: 99px; }
[data-style="bento"] .stagebar { border-radius: 16px; gap: 4px; }
[data-style="bento"] .tr.row:hover { border-radius: 14px; }
[data-style="bento"] .deploy-tag { font-family: var(--f-body); font-weight: 700; }
[data-style="bento"] .mcp-top { border: 0; border-radius: var(--r); background: var(--fg); color: var(--bg); }
[data-style="bento"] .mcp-top p { color: color-mix(in srgb, var(--bg) 72%, transparent); }
[data-style="bento"] .mcp-top .ic { background: var(--coral); color: #0E0E10; border-radius: 16px; }
[data-style="bento"] .mcp-top .ic::after { border-color: var(--coral); border-radius: 20px; }
[data-style="bento"] .mcp-top code { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); border-radius: 99px; }
[data-style="bento"] .mcp-top .btn { color: var(--bg); background: color-mix(in srgb, var(--bg) 14%, transparent); }
[data-style="bento"] .mcp-top .btn-primary { background: var(--bg); color: var(--fg); }
[data-style="bento"] .drawer { border-left: 0; border-radius: 28px 0 0 28px; }
[data-style="bento"] .pal-box { border: 0; border-radius: 24px; }
[data-style="bento"] footer { border-top: 0; }

.top .tabs a.tab{text-decoration:none}
.top .tabs a.tab[aria-current="page"]{color:var(--fg)}
.top .tabs a.tab[aria-current="page"]::after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:2px;border-radius:2px;background:var(--accent)}
.top a.searchbtn{text-decoration:none}
.crumbs{font-family:var(--f-mono);font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}
.crumbs a{color:var(--muted);text-decoration:none}.crumbs a:hover{color:var(--accent)}
.hero{display:flex;gap:18px;align-items:center;margin-bottom:10px}
.hero .av{width:64px;height:64px;border-radius:18px;font-size:1.1rem}
.view-head.pg{align-items:flex-start;margin-bottom:22px}
.view-head.pg h1{max-width:22ch}
.view-head.pg .lede{max-width:62ch;margin-top:12px;color:var(--fg);opacity:.86;font-size:1.04rem;line-height:1.6}
.head-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.tagrow{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
a.kpi{display:block;color:inherit;text-decoration:none;cursor:default}
.kpi .v.sm{font-size:clamp(1.5rem,2.6vw,2rem)}
.sec{margin-top:16px}
a.tr{color:inherit;text-decoration:none}
.t-pdeals{grid-template-columns:72px minmax(0,2fr) 96px 80px minmax(0,2.6fr)}
.t-pstart{grid-template-columns:72px 96px 80px minmax(0,3fr)}
@media (max-width:860px){.t-pdeals,.t-pstart{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}.t-pdeals>:nth-child(1),.t-pstart>:nth-child(1){grid-column:1/-1}.t-pdeals>.inv,.t-pstart>.inv{grid-column:1/-1}}
.inv a{color:var(--signal);text-decoration:none}.inv a:hover{text-decoration:underline}
.tl{position:relative;padding-left:22px}
.tl::before{content:"";position:absolute;left:6px;top:8px;bottom:8px;width:2px;background:var(--line-strong);border-radius:2px}
.tl-it{position:relative;padding:4px 0 18px}
.tl-it::before{content:"";position:absolute;left:-21px;top:9px;width:12px;height:12px;border-radius:50%;background:var(--bg-2);border:3px solid var(--accent)}
.tl-it .when{font-family:var(--f-mono);font-size:.72rem;color:var(--muted);letter-spacing:.04em}
.tl-it .what{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;margin:4px 0 6px}
.tl-it .what b{font-family:var(--f-display);font-size:1.5rem;font-weight:500;letter-spacing:-.03em}
.tl-it p{font-size:.92rem;line-height:1.55;opacity:.86;max-width:70ch}
.tl-it .inv{margin-top:8px;font-size:.86rem;color:var(--muted)}
a.chip{text-decoration:none;display:inline-flex;align-items:center;gap:6px}
a.chip:hover{color:var(--fg);border-color:var(--fg)}
.chip .n{font-family:var(--f-mono);font-size:.7rem;color:var(--accent)}
a.icard{color:inherit;text-decoration:none}
.cta{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px 20px;border:1px solid color-mix(in srgb,var(--accent) 45%,var(--line));border-radius:var(--r);background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 12%,var(--bg-2)),var(--bg-2) 60%)}
.cta .ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--fg);color:var(--bg)}
.cta b{font-family:var(--f-display);font-size:1.05rem}.cta p{font-size:.88rem;color:var(--muted);margin-top:2px}
@media (max-width:700px){.cta{grid-template-columns:1fr}.cta .ic{display:none}}
.mbars{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;align-items:end;height:150px;margin-top:6px}
.mbars a{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;height:100%;text-decoration:none;color:var(--muted);font-family:var(--f-mono);font-size:.64rem}
.mbars a i{display:block;width:100%;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,var(--signal),color-mix(in srgb,var(--signal) 45%,transparent));min-height:3px;transition:filter .2s}
.mbars a:hover{color:var(--fg)}.mbars a:hover i{filter:brightness(1.2)}
.mbars a.cur i{background:linear-gradient(180deg,var(--accent),color-mix(in srgb,var(--accent) 45%,transparent))}
.mbars a span.n{color:var(--fg)}
.mbars a.empty{pointer-events:none;opacity:.35}
.pnav{display:flex;justify-content:space-between;gap:10px;margin-top:16px;flex-wrap:wrap}
.search-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:14px}
.search-row .input{flex:1 1 280px;font-size:1rem;padding:12px 14px}
.letters{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:10px}
.letters a{font-family:var(--f-mono);font-size:.74rem;min-width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;color:var(--muted);text-decoration:none}
.letters a:hover{border-color:var(--accent);color:var(--fg)}
.lgroup h3{font-family:var(--f-mono);font-size:.8rem;color:var(--accent);margin:18px 0 4px;letter-spacing:.1em}
a.lrow{color:inherit;text-decoration:none}
.lrow .v.muted{color:var(--muted)}
.count{font-family:var(--f-mono);font-size:.74rem;color:var(--muted)}
[data-hide]{display:none!important}
.mcp-ask{font-size:.9rem;color:var(--muted);margin-top:10px}.mcp-ask code{font-family:var(--f-mono);font-size:.8rem;color:var(--fg);background:var(--bg-3);padding:2px 6px;border-radius:6px}

[data-style="edito"] .crumbs{font-family:var(--f-body);font-weight:700;letter-spacing:.14em;color:var(--fg)}
[data-style="edito"] .top .tabs a.tab[aria-current="page"]{color:var(--accent);opacity:1}
[data-style="edito"] .top .tabs a.tab[aria-current="page"]::after{border-radius:0;height:3px;left:0;right:0}
[data-style="edito"] .cta{background:transparent;border:0;border-block:3px double var(--fg);border-radius:0}
[data-style="edito"] .cta .ic{border-radius:0;background:var(--accent);color:var(--accent-ink)}
[data-style="edito"] .hero .av,[data-style="edito"] .letters a{border-radius:0}
[data-style="edito"] .tl-it .what b{font-weight:400}
[data-style="edito"] .tl-it::before{border-radius:0;border:0;background:var(--accent);width:9px;height:9px;left:-19px;top:11px}
[data-style="edito"] .mbars a i{border-radius:0;background:var(--fg)}
[data-style="edito"] .mbars a.cur i{background:var(--accent)}
[data-style="edito"] .lgroup h3{font-family:var(--f-display);font-size:1.6rem;color:var(--fg);letter-spacing:-.02em;border-bottom:2px solid var(--fg);padding-bottom:4px}
[data-style="edito"] .chip .n{color:var(--fg);font-weight:700}
[data-style="bento"] .top .tabs a.tab[aria-current="page"]{background:var(--fg);color:var(--bg)}
[data-style="bento"] .top .tabs a.tab[aria-current="page"]::after{display:none}
[data-style="bento"] .cta{border:0;border-radius:var(--r);background:var(--fg);color:var(--bg);padding:24px}
[data-style="bento"] .cta p{color:color-mix(in srgb,var(--bg) 72%,transparent)}
[data-style="bento"] .cta .ic{background:var(--coral);color:#0E0E10;border-radius:16px}
[data-style="bento"] .cta .btn{background:var(--bg);color:var(--fg)}
[data-style="bento"] .hero .av{border-radius:20px}
[data-style="bento"] .letters a{border:0;border-radius:99px;background:var(--bg-2)}
[data-style="bento"] .letters a:hover{background:var(--fg);color:var(--bg)}
[data-style="bento"] .mbars a i{border-radius:10px;background:var(--fg)}
[data-style="bento"] .mbars a.cur i{background:var(--accent)}
[data-style="bento"] .lgroup h3{font-family:var(--f-display);font-size:1.8rem;color:var(--accent);letter-spacing:-.03em}
[data-style="bento"] .view-head.pg .lede{font-size:1.1rem}
[data-style="bento"] .tl-it .what b{font-weight:700}
[data-style="bento"] .search-row .input{border-radius:99px;background:var(--bg-2)}
