/* DM Sans (OFL), hébergée sur le site : aucune requête vers un tiers. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(fonts/dmsans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(fonts/dmsans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Couleurs de la V1 (cartographie d’origine) ; bandeau aux couleurs FFBaD (marine, bleu #0030ff, rouge #ff001f).
   Choix manuel : <html data-theme="light|dark">, sinon réglage du système. */
:root {
  --bg: #f6f7f9; --card: #ffffff; --sunken: #eef0f4; --hover: #e7eaf0; --text: #1b1f27; --muted: #5b6372; --faint: #8b94a3;
  --line: #d8dce4; --line-strong: #b9c0cc;
  --accent: #2f6df6; --accent-soft: #e6edfe; --accent-text: #ffffff;
  --err-bg: #fdecec; --err: #b91c1c; --ok-bg: #e6f6f3; --ok: #0f766e;
  --perm: #efe8fd; --perm-line: #7c3aed; --season: #e2f5f3; --season-line: #0d9488; --warn: #b45309; --draft-line: #db2777;
  --declared: #0d9488; --convention: #2f6df6; --ambiguous: #d97706; --orphan: #dc2626; --arbitrated: #7c3aed; --dismissed: #71717a; --notkey: #475569; --isolated: #d97706;
  --navy-950: #000033; --navy-900: #010052; --navy-800: #14185f; --red: #ff001f;
  --radius: 8px; --radius-field: 5px; --shadow: 0 1px 2px #1b1f270d;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg: #14171c; --card: #1b1f26; --sunken: #23282f; --hover: #2b313a; --text: #e8eaee; --muted: #a3acba; --faint: #7d8694;
    --line: #313842; --line-strong: #454e5b;
    --accent: #6b98ff; --accent-soft: #1e2a44; --accent-text: #0b1020;
    --err-bg: #3a1414; --err: #fca5a5; --ok-bg: #0f2e2a; --ok: #5eead4;
    --perm: #2a2142; --perm-line: #a78bfa; --season: #11302d; --season-line: #2dd4bf; --warn: #fbbf24; --draft-line: #f472b6;
    --declared: #2dd4bf; --convention: #5b8dff; --ambiguous: #fbbf24; --orphan: #f87171; --arbitrated: #a78bfa; --dismissed: #a1a1aa; --notkey: #94a3b8; --isolated: #fbbf24;
    --shadow: none; color-scheme: dark;
  }
}
:root[data-theme=dark] {
    --bg: #14171c; --card: #1b1f26; --sunken: #23282f; --hover: #2b313a; --text: #e8eaee; --muted: #a3acba; --faint: #7d8694;
    --line: #313842; --line-strong: #454e5b;
    --accent: #6b98ff; --accent-soft: #1e2a44; --accent-text: #0b1020;
    --err-bg: #3a1414; --err: #fca5a5; --ok-bg: #0f2e2a; --ok: #5eead4;
    --perm: #2a2142; --perm-line: #a78bfa; --season: #11302d; --season-line: #2dd4bf; --warn: #fbbf24; --draft-line: #f472b6;
    --declared: #2dd4bf; --convention: #5b8dff; --ambiguous: #fbbf24; --orphan: #f87171; --arbitrated: #a78bfa; --dismissed: #a1a1aa; --notkey: #94a3b8; --isolated: #fbbf24;
    --shadow: none; color-scheme: dark;
}
* { box-sizing: border-box; }
html { font-size: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 1rem/1.5 "DM Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
a { color: var(--accent); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--card); padding: .5rem; }
.top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
  position: relative; padding: .85rem 1.25rem 1rem; color: #fff;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800)); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, #0030ff 0 33.333%, #fff 33.333% 66.666%, var(--red) 66.666%); }
.top a, .top button.link { color: #fff; }
.top .badge { color: #dfe2f7; border-color: #4a53bb; }
.top a:focus-visible, .top button:focus-visible { outline-color: #fff; }
button.theme { padding: .2rem .6rem; border: 1px solid #4a53bb; border-radius: 1rem; background: transparent; color: #fff; font-size: .85rem; }
.top nav { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.brand { font-weight: 700; text-decoration: none; letter-spacing: .01em; }
main { max-width: 60rem; margin: 1.5rem auto; padding: 0 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem 1.5rem; margin-bottom: 1rem; }
.card.narrow { max-width: 26rem; margin-inline: auto; }
h1 { font-size: 1.5rem; margin-top: 0; }
h2 { font-size: 1.15rem; margin-top: 0; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
label { display: block; font-weight: 600; margin: .75rem 0 .25rem; }
input[type=text], input[type=password], input:not([type]), textarea { width: 100%; padding: .55rem .65rem; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-field); }
textarea { resize: vertical; }
textarea.mono { font-family: ui-monospace, Consolas, monospace; font-size: .9rem; }
input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
button { font: inherit; cursor: pointer; }
button.primary { margin-top: 1rem; width: 100%; padding: .6rem; border: 0; border-radius: .35rem;
  background: var(--accent); color: var(--accent-text); font-weight: 600; }
button.link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; }
form.inline { display: inline; }
.alert { padding: .6rem .8rem; border-radius: .35rem; }
.alert.error { background: var(--err-bg); color: var(--err); }
.alert.ok { background: var(--ok-bg); color: var(--ok); }
.badge { font-size: .8rem; padding: .1rem .45rem; border-radius: 1rem; border: 1px solid var(--line); color: var(--muted); }
dl.grid { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 0; }
dl.grid dt { color: var(--muted); }
dl.grid dd { margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .4rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
td.ua { color: var(--muted); }
.foot { text-align: center; color: var(--muted); font-size: .85rem; padding: 2rem 1rem; }
@media (max-width: 40rem) {
  dl.grid { grid-template-columns: 1fr; }
  dl.grid dt { margin-top: .5rem; }
  th:nth-child(4), td:nth-child(4) { display: none; }
}

/* --- Phase 2 : comptes, droits, double authentification --- */
.top nav a { white-space: nowrap; }
input[type=email], input[type=date], select { width: 100%; padding: .5rem .6rem; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: .35rem; }
input:disabled, select:disabled { opacity: .7; }
input.short { max-width: 14rem; }
button.secondary, a.button { display: inline-block; margin-top: .75rem; padding: .45rem .9rem; border: 1px solid var(--accent);
  border-radius: .35rem; background: transparent; color: var(--accent); font-weight: 600; text-decoration: none; }
a.button { margin-top: 0; }
button.danger-btn { margin-top: .75rem; padding: .45rem .9rem; border: 0; border-radius: .35rem; background: var(--err); color: var(--card); font-weight: 600; }
button.primary.narrow-btn { width: auto; padding: .55rem 1.5rem; }
.narrow-form { max-width: 20rem; }
.head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0 1rem; align-items: end; }
.filters label { font-size: .9rem; }
.filters .actions { padding-bottom: .1rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 0 1.25rem; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid p { margin: .2rem 0 0; }
fieldset.plain { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.bulk { margin-top: 1rem; border: 1px solid var(--line); border-radius: .35rem; padding: .5rem 1rem 1rem; }
label.radio { display: block; font-weight: 400; margin: .35rem 0; }
label.radio select { width: auto; display: inline-block; padding: .2rem .4rem; }
.scroll { overflow-x: auto; }
.state { font-size: .8rem; padding: .1rem .45rem; border-radius: 1rem; white-space: nowrap; }
.state-actif { background: var(--ok-bg); color: var(--ok); }
.state-desactive, .state-expire { background: var(--err-bg); color: var(--err); }
.state-a_rattacher { border: 1px solid var(--line); color: var(--muted); }
h1 .state { font-size: .85rem; vertical-align: middle; font-weight: 400; }
.card.danger { border-color: var(--err); }
table.matrix td { text-align: center; }
.pager { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 0; }
ul.codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: .4rem; padding: 0; list-style: none; }
ul.codes code, code.secret { font-size: 1.1rem; letter-spacing: .05em; }
code.secret { display: inline-block; padding: .3rem .5rem; background: var(--bg); border: 1px solid var(--line); border-radius: .3rem; }
code.wrap { word-break: break-all; }
@media (max-width: 40rem) {
  .head-row { display: block; }
}

/* --- Phase 3 : consultation de la cartographie --- */
main { max-width: 72rem; }
form.search { margin-top: .75rem; }
.search-row { display: flex; gap: .5rem; }
input[type=search] { flex: 1; min-width: 0; padding: .55rem .65rem; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: .35rem; }
.search-row button { padding: .5rem 1rem; border: 0; border-radius: .35rem; background: var(--accent); color: var(--accent-text); font-weight: 600; }
ul.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .75rem; padding: 0; list-style: none; }
ul.tiles a { display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: .9rem 1rem; background: var(--card);
  border: 1px solid var(--line); border-radius: .5rem; text-decoration: none; color: var(--text); }
ul.tiles a:hover { border-color: var(--accent); }
ul.results { padding-left: 1.1rem; }
ul.results li { margin: .3rem 0; }
ul.relations { padding-left: 1.1rem; }
ul.relations li { margin: .35rem 0; }
ul.relations.cols { columns: 2 18rem; }
nav.views { display: flex; gap: .25rem; }
nav.views a { padding: .3rem .7rem; border: 1px solid var(--line); border-radius: .35rem; text-decoration: none; }
nav.views a[aria-current=page] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
/* Badges de liaison aux couleurs V1 : fond teinté à 16 %, texte et bord pleins. */
.st-declared { --st: var(--declared); } .st-convention { --st: var(--convention); } .st-ambiguous { --st: var(--ambiguous); }
.st-orphan { --st: var(--orphan); } .st-confirmed, .st-retarget { --st: var(--arbitrated); } .st-manual { --st: var(--draft-line); }
.st-dismissed { --st: var(--dismissed); text-decoration: line-through; } .st-not_fk { --st: var(--notkey); text-decoration: line-through; }
[class*=" st-"], [class^="st-"] { border-color: var(--st, var(--line)); color: var(--st, inherit); background: color-mix(in srgb, var(--st, transparent) 16%, transparent); }
.graph { overflow: auto; border: 1px solid var(--line); border-radius: .35rem; background: var(--bg); max-height: 40rem; }
.graph svg { display: block; max-width: none; font: 12px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.g-node { stroke-width: 1.2; }
.g-permanent { fill: var(--perm); stroke: var(--perm-line); }
.g-season { fill: var(--season); stroke: var(--season-line); }
.g-d0 { stroke-width: 3; }
.g-d2 { opacity: .8; }
.g-label { fill: var(--text); pointer-events: none; }
.graph a:hover .g-node, .graph a:focus .g-node { stroke-width: 3; }
.g-edge { stroke: var(--muted); stroke-width: 1.3; }
.g-convention { stroke-dasharray: 5 3; }
.g-declared { stroke: var(--declared); } .g-convention { stroke: var(--convention); }
.g-ambiguous { stroke: var(--ambiguous); stroke-dasharray: 3 3; } .g-orphan { stroke: var(--orphan); stroke-dasharray: 3 3; }
.g-confirmed, .g-retarget { stroke: var(--arbitrated); } .g-manual { stroke: var(--draft-line); }
.g-arrow { fill: var(--muted); }
.legend .sw { display: inline-block; width: .9rem; height: .9rem; border-radius: .2rem; vertical-align: -.1rem; margin-left: .5rem; }
.sw-permanent { background: var(--perm); border: 1px solid var(--perm-line); }
.sw-season { background: var(--season); border: 1px solid var(--season-line); }
@media (max-width: 40rem) { .search-row { flex-direction: column; } }

/* --- Phase 6 : édition --- */
.filters input:not([type]) { width: 100%; }
.edit-rel { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.edit-rel p { margin: 0 0 .3rem; }
td input:not([type]) { min-width: 10rem; }

/* --- Graphe global --- */
.graph-canvas { display: block; width: 100%; height: 70vh; min-height: 24rem; border: 1px solid var(--line); border-radius: var(--radius-field);
  background: var(--bg); touch-action: none; cursor: grab; }
.graph-tools { align-items: end; }
.graph-legend .dot { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; vertical-align: middle; }
.graph-legend .dot.perm { background: var(--perm-line); }
.graph-legend .dot.season { background: var(--season-line); }
.filters button:not(.link):not(.primary):not(.danger-btn) { padding: .45rem .9rem; border: 1px solid var(--accent); border-radius: .35rem;
  background: transparent; color: var(--accent); font-weight: 600; }
.graph-legend .dot.draft { background: transparent; border: 2px dashed var(--draft-line); }
.file-chosen { margin: .25rem 0 .6rem; color: var(--muted); }
.file-chosen.ok { color: var(--ok); font-weight: 600; }
.file-chosen.warn { color: var(--red); }
pre.sql { max-height: 18rem; overflow: auto; padding: .6rem; background: var(--sunken); border-radius: var(--radius-field); font: .8rem/1.4 var(--mono); white-space: pre; }
.arb-list { list-style: none; margin: .5rem 0 0; padding: 0; }
.arb-item { border-top: 1px solid var(--line); }
.arb-item > summary { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; padding: .55rem .4rem; cursor: pointer; list-style: none; }
.arb-item > summary::-webkit-details-marker { display: none; }
.arb-item > summary:hover { background: var(--hover); }
.arb-item code { overflow-wrap: anywhere; }
.arb-open { margin-left: auto; color: var(--accent); font-weight: 600; }
.arb-item[open] .arb-open { visibility: hidden; }
.arb-item[open] > summary { background: var(--sunken); }
.arb-body { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .6rem .4rem .9rem; }
.arb-body button.choice { width: auto; margin: 0; padding: .4rem .8rem; border: 1px solid var(--accent); border-radius: var(--radius-field); background: var(--accent-soft); color: var(--text); display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.arb-body button.choice:hover { background: var(--accent); color: var(--accent-text); }
.arb-body button.choice.quiet { background: transparent; color: var(--muted); border: 1px solid var(--line-strong); }
.graph-legend .line { display: inline-block; width: 1.4rem; border-top: 2px solid var(--muted); vertical-align: middle; }
.graph-legend .line.declared { border-top-color: var(--declared); } .graph-legend .line.convention { border-top-color: var(--convention); }
.graph-legend .line.arbitrated { border-top-color: var(--arbitrated); } .graph-legend .line.draft { border-top-color: var(--draft-line); }
.graph-legend .line.ambiguous { border-top: 2px dashed var(--ambiguous); } .graph-legend .line.orphan { border-top: 2px dashed var(--orphan); }
.graph-legend .dot.isolated { background: var(--isolated); }
.graph-toolbar .base-toggle { display: inline-flex; align-items: center; gap: .3rem; font-size: .9rem; }
.graph-toolbar .base-toggle input { flex: none; width: auto; padding: 0; }

/* --- Bandeau : logo et menus déroulants --- */
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; }
.brand img { display: block; height: 2.1rem; width: auto; }
.brand span { padding-left: .75rem; border-left: 1px solid #4a53bb; font-size: 1.05rem; }
.top .menubar { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.menubar .tab, details.menu > summary { display: block; padding: .4rem .75rem; border-radius: var(--radius-field); color: #fff;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; list-style: none; border: 0; background: transparent; }
details.menu > summary::-webkit-details-marker { display: none; }
details.menu > summary::after { content: ""; display: inline-block; margin-left: .45rem; vertical-align: .2em;
  border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; }
.menubar .tab:hover, details.menu > summary:hover, details.menu[open] > summary { background: #ffffff1f; }
.menubar .tab[aria-current=page] { background: #ffffff2e; }
details.menu { position: relative; }
.menu-list { position: absolute; right: 0; top: calc(100% + .35rem); z-index: 20; min-width: 13rem; padding: .35rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px -8px #0000004d;
  display: flex; flex-direction: column; }
.menubar details.menu:not(.user) .menu-list { left: 0; right: auto; }
.top .menu-list a, .top .menu-list button { display: block; width: 100%; padding: .45rem .65rem; border: 0; border-radius: var(--radius-field);
  background: transparent; color: var(--text); text-align: left; text-decoration: none; font: inherit; font-size: .95rem; }
.top .menu-list a:hover, .top .menu-list button:hover { background: var(--hover); }
.top .menu-list a[aria-current=page] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.menu-list form { margin: .25rem 0 0; border-top: 1px solid var(--line); padding-top: .25rem; }
.menu-note { padding: .3rem .65rem .4rem; color: var(--muted); font-size: .85rem; }
.top .menu-list a:focus-visible, .top .menu-list button:focus-visible { outline-color: var(--accent); }
.menubar button.theme.tab { border: 1px solid #4a53bb; border-radius: 1rem; font-weight: 400; }

/* --- Pages larges : graphe et fiche --- */
main.wide { max-width: 110rem; }
.mono { font-family: var(--mono); }
code { font-family: var(--mono); font-size: .92em; }
.tag { display: inline-block; font-size: .75rem; line-height: 1.4; padding: 0 .4rem; border-radius: var(--radius-field);
  background: var(--sunken); color: var(--muted); border: 1px solid var(--line); vertical-align: .05em; }
.tag-permanent { background: var(--perm); color: var(--perm-line); border-color: var(--perm-line); }
.tag-season { background: var(--season); color: var(--season-line); border-color: var(--season-line); }

/* Graphe global : liste liée | graphe | détail (comme la V1). */
.gwrap { display: grid; grid-template-columns: 17rem minmax(0, 1fr) 24rem; gap: .75rem; align-items: start; }
.gpanel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem;
  max-height: calc(100vh - 7.5rem); overflow-y: auto; position: sticky; top: .75rem; }
.gmain { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem; min-width: 0; }
.gmain .graph-canvas { height: calc(100vh - 13rem); }
.graph-toolbar { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: .5rem; }
.graph-toolbar input, .graph-toolbar select { width: auto; flex: 0 1 14rem; padding: .35rem .5rem; font-size: .9rem; }
.tool { padding: .35rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-field); background: var(--card);
  color: var(--text); font-size: .9rem; text-decoration: none; }
.tool:hover { background: var(--hover); }
.graph-legend { margin: .4rem 0 0; }
.side-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: .9rem 0 .4rem; }
.side-title:first-child { margin-top: 0; }
.table-card { display: block; width: 100%; margin-bottom: .3rem; padding: .4rem .55rem; text-align: left; font: inherit;
  background: var(--card); color: var(--text); border: 1px solid var(--line); border-left: 4px solid var(--perm-line); border-radius: var(--radius-field); }
.table-card:hover { background: var(--hover); }
.table-card[aria-current=true] { background: var(--accent-soft); border-color: var(--accent); }
.table-card.season { border-left-color: var(--season-line); }
.table-card.draft { border-left-color: var(--draft-line); border-left-style: dashed; }
.table-card-name { display: block; font-family: var(--mono); font-size: .85rem; font-weight: 600; word-break: break-all; }
.table-card-meta { display: block; font-size: .75rem; color: var(--muted); }
.details-title { font-family: var(--mono); font-size: 1.05rem; word-break: break-all; margin: 0 0 .25rem; }
.details-sub { margin: 0 0 .5rem; font-size: .85rem; color: var(--muted); }
.details-section { border-top: 1px solid var(--line); padding-top: .5rem; margin-top: .75rem; }
.details-section h3 { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 .4rem; }
ul.rel-list { list-style: none; padding: 0; margin: 0; }
ul.rel-list li { padding: .2rem 0; font-size: .9rem; }
ul.rel-list button.link { font-family: var(--mono); font-size: .85rem; }
table.data-table { font-size: .82rem; }
table.data-table td { padding: .2rem .35rem; }
@media (max-width: 75rem) { .gwrap { grid-template-columns: 15rem minmax(0, 1fr); } #g-details { grid-column: 1 / -1; position: static; max-height: none; } }
@media (max-width: 48rem) { .gwrap { grid-template-columns: 1fr; } .gpanel { position: static; max-height: 22rem; } }

/* Fiche : relations à gauche, informations enregistrées à droite. */
.two-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1rem; align-items: start; }
@media (max-width: 64rem) { .two-cols { grid-template-columns: 1fr; } }
.graph { overflow: hidden; }
.graph svg { width: 100%; height: auto; max-height: 34rem; cursor: grab; touch-action: none; }
.graph svg.panning { cursor: grabbing; }
