/* Spots de plongée — feuille de style. Points de rupture : < 700 px (téléphone), 700–1099 px (tablette), ≥ 1100 px (ordinateur). */
/* Layout : application une page. Bandeau, puis panneau (filtres + liste, ou fiche) à gauche et carte du lac à droite ; carte au-dessus du panneau sur téléphone. */
:root {
  --bg: #EEF2F5; --panel: #FFFFFF; --ink: #14212B; --ink-2: #51616E; --line: #D5DDE3;
  --land: #E4E9E3; --water: #BCD7E6; --water-edge: #86B1C9; --water-ink: #4E7F9B;
  --accent: #1B5FB8; --accent-ink: #FFFFFF; --accent-soft: #E3EEFB;
  --warn-bg: #FFF4D6; --warn-ink: #5E4200; --warn-line: #E2BC4F;
  --lv1: #1F9D6B; --lv2: #D99A00; --lv3: #D4541A; --lv4: #7A3DB8; --lvna: #7C8A95;
  --mk-stroke: #FFFFFF;
  --f-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0E151B; --panel: #162029; --ink: #E6EDF2; --ink-2: #9BABB8; --line: #2A3945;
  --land: #1A232A; --water: #123A52; --water-edge: #2A6587; --water-ink: #6FA6C6;
  --accent: #74ABF2; --accent-ink: #0B1622; --accent-soft: #1B3350;
  --warn-bg: #3A2E0E; --warn-ink: #F3D98B; --warn-line: #7A6220;
  --lv1: #3CC48D; --lv2: #F0B93A; --lv3: #F0793F; --lv4: #B58AF0; --lvna: #8796A2;
  --mk-stroke: #0E151B; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #0E151B; --panel: #162029; --ink: #E6EDF2; --ink-2: #9BABB8; --line: #2A3945;
  --land: #1A232A; --water: #123A52; --water-edge: #2A6587; --water-ink: #6FA6C6;
  --accent: #74ABF2; --accent-ink: #0B1622; --accent-soft: #1B3350;
  --warn-bg: #3A2E0E; --warn-ink: #F3D98B; --warn-line: #7A6220;
  --lv1: #3CC48D; --lv2: #F0B93A; --lv3: #F0793F; --lv4: #B58AF0; --lvna: #8796A2;
  --mk-stroke: #0E151B; color-scheme: dark }



html, body { height: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 14px; line-height: 1.45; }
* { box-sizing: border-box; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.app { height: 100%; height: 100dvh; display: flex; flex-direction: column; }
h1 { font-family: var(--f-display); font-weight: 700; font-size: 18px; margin: 0; letter-spacing: -0.01em; }
/* accueil */
.home { flex: 1; min-height: 0; overflow-y: auto; }
.home-in { max-width: 1040px; margin: 0 auto; padding-block: clamp(12px, 2.5vh, 24px) 32px; display: flex; flex-direction: column; gap: 14px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.home h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.1; text-wrap: balance; }
.home .stats { font-size: 14px; margin-bottom: 10px; }
.lakes { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.lakecard { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); min-width: 0; }
.lakecard:hover { border-color: var(--accent); }
.lakecard strong { font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.lakecard span { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lakecard .bar { display: block; height: 4px; border-radius: 2px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.lakecard .bar b { display: block; height: 100%; background: var(--water-ink); }
.lakecard.first { grid-column: span 2; }
.lakecard.first strong { font-size: 24px; }
.view { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; gap: 10px; background: var(--panel); border-bottom: 1px solid var(--line); padding-block: 4px;
  padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.top h1 { font-family: var(--f-body); font-weight: 500; font-size: 12.5px; letter-spacing: 0; color: var(--ink-2); font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.top .back { font-size: 16px; line-height: 1; padding: 3px 7px; border-radius: 6px; }
.top .back:hover { background: var(--accent-soft); }
a.back { text-decoration: none; }
.stats { margin: 0; color: var(--ink-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }

.main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(320px, 410px) 1fr; }
.panel { min-width: 0; min-height: 0; overflow-y: auto; background: var(--panel); border-right: 1px solid var(--line); }
.panel-in { padding-block: 14px 24px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: 16px; display: flex; flex-direction: column; gap: 14px; }
.mapwrap { position: relative; min-width: 0; min-height: 0; }
#map { position: absolute; inset: 0; background: var(--land); font-family: var(--f-body); }

/* filtres */
.search { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.fgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.flabel { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); width: 100%; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.filters { display: flex; flex-direction: column; }
.filters summary { font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; padding: 2px 0; width: max-content; }
.filters > .fgroup, .filters > .check { margin-top: 12px; }
.count { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* liste */
.region { font-family: var(--f-display); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-2); margin: 6px 0 0; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.items { display: flex; flex-direction: column; }
.item { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: start; gap: 10px; width: 100%; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 9px 2px; cursor: pointer; }
.item:hover { background: var(--accent-soft); }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 4px; border: 2px solid var(--lvna); background: var(--lvna); flex: none; }
.dot.lv-debutant { background: var(--lv1); border-color: var(--lv1); }
.dot.lv-confirme { background: var(--lv2); border-color: var(--lv2); }
.dot.lv-avance { background: var(--lv3); border-color: var(--lv3); }
.dot.lv-tek { background: var(--lv4); border-color: var(--lv4); }
.dot.brouillon { background: transparent; }
.it-main { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.it-name { font-weight: 600; overflow-wrap: anywhere; }
.it-sub { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.it-tag { font-size: 11px; color: var(--ink-2); white-space: nowrap; max-width: 6.5em; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; font-variant-numeric: tabular-nums; }
.empty { color: var(--ink-2); padding: 16px 0; }
.foot { font-size: 12px; color: var(--ink-2); margin: 0; }

/* fiche */
.back { align-self: flex-start; border: 0; background: transparent; color: var(--accent); cursor: pointer; padding: 2px 0; font-weight: 500; }
.d-title { font-family: var(--f-display); font-weight: 700; font-size: 21px; line-height: 1.2; margin: 0; text-wrap: balance; }
.d-place { color: var(--ink-2); margin: 2px 0 0; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 12px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 6px; }
.badge .dot { margin: 0; width: 9px; height: 9px; }
.badge.todo { border-style: dashed; color: var(--ink-2); }
.gauge { display: flex; flex-direction: column; gap: 4px; }
.g-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.g-head strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.g-track { position: relative; height: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 3px; }
.g-fill { position: absolute; top: 0; bottom: 0; background: var(--water-ink); border-radius: 2px; }
.g-tick { position: absolute; top: -2px; bottom: -2px; width: 1px; background: var(--ink-2); opacity: .55; }
.g-scale { position: relative; height: 14px; font-size: 10.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.g-scale span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.g-scale span:first-child { transform: none; }
.g-scale span:last-child { transform: translateX(-100%); }
.ratings { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; }
.pips { display: inline-flex; gap: 3px; margin: 0 6px; vertical-align: middle; }
.pips i { width: 9px; height: 9px; border-radius: 2px; border: 1px solid var(--ink-2); display: block; }
.pips i.on { background: var(--ink); border-color: var(--ink); }
.desc { margin: 0; max-width: 62ch; }
.sec { display: flex; flex-direction: column; gap: 2px; }
.sec h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); margin: 0; font-weight: 600; }
.sec p, .sec ul { margin: 0; max-width: 62ch; }
.sec ul { padding-left: 18px; }
.warn { background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); border-radius: 6px; padding: 9px 11px; }
.warn h3 { color: var(--warn-ink); }
.coords { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.coords code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; user-select: all; }
.btn { border: 1px solid var(--line); background: transparent; border-radius: 6px; padding: 4px 10px; font-size: 12.5px; cursor: pointer; text-decoration: none; color: var(--ink); }
.btn:hover { border-color: var(--ink-2); }
a { color: var(--accent); }
.srcs { font-size: 12.5px; }
.srcs li { overflow-wrap: anywhere; }

/* carte */
path.lake { fill: var(--water); stroke: var(--water-edge); stroke-width: 1.2; }
path.mk { stroke: var(--mk-stroke); stroke-width: 2; stroke-opacity: 1; fill-opacity: 1; fill: var(--lvna); cursor: pointer; }
path.mk.lv-debutant { fill: var(--lv1); } path.mk.lv-confirme { fill: var(--lv2); }
path.mk.lv-avance { fill: var(--lv3); } path.mk.lv-tek { fill: var(--lv4); }
path.mk.brouillon { fill: var(--panel); stroke: var(--lvna); }
path.mk.brouillon.lv-debutant { stroke: var(--lv1); } path.mk.brouillon.lv-confirme { stroke: var(--lv2); }
path.mk.brouillon.lv-avance { stroke: var(--lv3); } path.mk.brouillon.lv-tek { stroke: var(--lv4); }
path.mk.sel { stroke: var(--ink); stroke-width: 3.5; }
.town span, .lakename span { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; }
.town span { font-size: 11px; font-weight: 500; color: var(--ink-2); }
.lakename span { font-family: var(--f-display); font-size: 13px; letter-spacing: 0.32em; color: var(--water-ink); font-style: italic; }
.leaflet-container .leaflet-tooltip { background: var(--panel); color: var(--ink); border: 1px solid var(--line); box-shadow: none; font-size: 12px; font-weight: 500; }
.leaflet-tooltip-top:before { border-top-color: var(--line); }
.leaflet-bar a, .leaflet-bar a:hover { background: var(--panel); color: var(--ink); border-bottom-color: var(--line); }
.leaflet-bar { border: 1px solid var(--line) !important; box-shadow: none !important; }
.leaflet-container .leaflet-control-attribution { background: transparent; color: var(--ink-2); font-size: 10px; }
.leaflet-left .leaflet-control { margin-left: max(10px, env(safe-area-inset-left, 0px)); }
.leaflet-right .leaflet-control { margin-right: max(4px, env(safe-area-inset-right, 0px)); }
.legend { position: absolute; z-index: 500; left: max(10px, env(safe-area-inset-left, 0px)); bottom: 24px; max-width: calc(100% - 20px);
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend .dot { margin: 0; width: 10px; height: 10px; }

.basesw { position: absolute; z-index: 500; top: 10px; right: max(10px, env(safe-area-inset-right, 0px)); max-width: calc(100% - 70px);
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; display: flex; flex-wrap: nowrap; white-space: nowrap; align-items: center; gap: 10px; font-size: 12px; }
.basesw .chip { font-size: 12px; padding: 2px 9px; }
.mapcredit { position: absolute; z-index: 499; right: 0; bottom: 0; margin: 0; max-width: 38%; padding: 1px max(6px, env(safe-area-inset-right, 0px)) 1px 6px;
  background: color-mix(in srgb, var(--panel) 82%, transparent); color: var(--ink-2); font-size: 10px; line-height: 1.5; border-top-left-radius: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tilenote { position: absolute; z-index: 500; top: 50px; right: max(10px, env(safe-area-inset-right, 0px)); margin: 0; max-width: 260px;
  background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); border-radius: 6px; padding: 5px 9px; font-size: 12px; }
.tiles path.mk { filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, .7)); }
.lacsel { display: flex; flex-direction: column; gap: 4px; }
select.search, .basesw select, .wpform select, .wpform input { color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; }
.basesw select { padding: 3px 6px; font-size: 12px; max-width: 100%; }
.basesw .check { color: var(--ink); font-size: 12px; }
figure.plan { margin: 0; display: flex; flex-direction: column; gap: 4px; }
figure.plan img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; display: block; }
figure.plan figcaption { font-size: 11.5px; color: var(--ink-2); }
.tracebox { border-top: 1px solid var(--line); padding-top: 10px; gap: 8px; }
.hint { font-size: 12.5px; color: var(--ink-2); }
.wpform { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; margin: 6px 0; }
.wpform label { display: flex; flex-direction: column; gap: 2px; color: var(--ink-2); }
.wpform input { width: 9em; } .wpform input[size] { width: 5em; }
#map.editing { cursor: crosshair; }
path.trace { stroke: var(--ink); stroke-width: 3; fill: none; stroke-dasharray: 7 7; stroke-opacity: 1; }
.tiles path.trace { stroke: #FFFFFF; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, .9)); }
path.wp { stroke: var(--mk-stroke); stroke-width: 1.5; fill: var(--accent); fill-opacity: 1; stroke-opacity: 1; }
path.wp-trace { fill: var(--ink); stroke: none; } .tiles path.wp-trace { fill: #FFFFFF; }
path.wp-mise_a_eau { fill: var(--lv1); } path.wp-epave, path.wp-curiosite { fill: var(--lv3); } path.wp-profondeur { fill: var(--lv4); }
.leaflet-container .leaflet-tooltip.wptip { padding: 1px 5px; font-size: 11px; }
.leaflet-container .leaflet-tooltip.wptip:before { display: none; }
.maptools { position: absolute; z-index: 500; left: max(10px, env(safe-area-inset-left, 0px)); top: 84px; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--panel); }
.maptools button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-bottom: 1px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; padding: 0; }
.maptools button:last-child { border-bottom: 0; }
.maptools button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.maptools svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#maxBtn { display: none; }
path.me { fill: var(--accent); stroke: #FFFFFF; stroke-width: 2.5; fill-opacity: 1; stroke-opacity: 1; }
path.me-acc { fill: var(--accent); fill-opacity: .14; stroke: var(--accent); stroke-width: 1; stroke-opacity: .5; }
.lg-s { display: none !important; }
@media (pointer: coarse) {
  .chip { padding: 7px 13px; font-size: 13px; }
  .item { padding: 12px 2px; }
  .btn { padding: 8px 13px; font-size: 13px; }
  .back { padding: 8px 0; }
  .search { padding: 10px 11px; font-size: 16px; }
  .basesw select { padding: 6px 6px; }
  .leaflet-touch .leaflet-bar a { width: 36px; height: 36px; line-height: 36px; }
  .maptools { top: 96px; }
  .maptools button { width: 36px; height: 36px; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .main { grid-template-columns: minmax(280px, 340px) 1fr; }
  .d-title { font-size: 19px; }
}
@media (max-width: 699px) {
  .main { grid-template-columns: 1fr; grid-template-rows: 44% 1fr; }
  .main.mapmax { grid-template-rows: 1fr; }
  .main.mapmax .panel { display: none; }
  #maxBtn { display: grid; }
  .lakes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lakecard { padding: 12px 13px; }
  .lakecard strong { font-size: 16px; } .lakecard.first strong { font-size: 21px; }
  .lg-l { display: none !important; } .lg-s { display: inline-flex !important; }
  .mapwrap { order: -1; border-bottom: 1px solid var(--line); }
  .panel { border-right: 0; }
  .panel-in { padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .legend { font-size: 10.5px; padding: 4px 8px; gap: 2px 9px; bottom: 22px; }
  .mapcredit { left: 0; max-width: none; border-radius: 0; font-size: 9.5px; padding-left: max(10px, env(safe-area-inset-left, 0px)); background: var(--panel); border-top: 1px solid var(--line); }
  .basesw { padding: 4px 7px; gap: 8px; }
  .tilenote { top: 46px; font-size: 11px; }
}

/* Leaflet : accord avec les jetons de la page */
.leaflet-bar a.leaflet-disabled { background: var(--panel); color: var(--line); }
/* accueil : en-tête de la liste des lacs et tri */
.lakeshead { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }
.lakeshead .flabel { width: auto; margin: 0; }
.sort { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
/* mode Contour : frontière nationale ; avec le relief, lacs sans remplissage pour laisser voir le fond */
path.frontiere { fill: none; stroke: var(--ink-2); stroke-width: 1.3; stroke-dasharray: 6 4; opacity: .75; }
.relief path.lake { fill: none; }

/* bascule clair / sombre */
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-bottom: -6px; }
.home .tools .langs, .top .langs { margin-bottom: 0; align-self: center; }
.tools .langs { margin: 0; }
.themebtn { border: 1px solid var(--line); background: var(--panel); color: var(--ink-2); border-radius: 6px; width: 28px; height: 26px; padding: 0;
  font-size: 15px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.themebtn:hover { color: var(--ink); background: var(--accent-soft); }
.top .themebtn { margin-left: auto; margin-right: 8px; }
.top .langs + .themebtn { margin-left: 0; }
.top .langs { padding-right: 4px; }

/* recherche sur l'accueil (17.11.2026) */
.hsearch { position: relative; max-width: 560px; }
.hsearch .search { font-size: 14px; font-weight: 300; padding: 8px 11px; color: var(--ink); }
.hsearch .search::placeholder { color: var(--ink); opacity: .7; }
@media (max-width: 699px) { .hsearch .search { font-size: 16px; } }   /* évite le zoom automatique sur iPhone */
.hres:not(:empty) { margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); overflow: hidden; }
.hres .item { width: 100%; }
.hres .empty { margin: 0; padding: 10px 12px; }
.hres .hall { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--accent, inherit); font: inherit; font-weight: 600; cursor: pointer; }
.hres .hall:hover { text-decoration: underline; }
/* position approximative (17.11.2026) : contour pointillé, remplissage atténué */
path.mk.estimee { stroke-dasharray: 3 2.2; fill-opacity: .55; }
path.mk.estimee.sel { stroke-dasharray: none; fill-opacity: 1; }
.legend .dot-approx { background: transparent; border: 2px dashed var(--ink-2); }

/* version publique : sources repliées */
details.srcs > summary { cursor: pointer; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); font-weight: 600; list-style-position: inside; }
details.srcs[open] > summary { margin-bottom: 4px; }
/* version publique : introduction de la page d'accueil */
.home .subtitle { margin: -6px 0 0; font-family: var(--f-display, inherit); font-size: clamp(17px, 2.6vw, 22px); color: var(--ink-2); font-weight: 500; }
.home .intro { margin: 0; font-size: 16px; line-height: 1.5; max-width: 68ch; }
.home .contrib { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); max-width: 68ch; }
.home .contrib strong { color: var(--ink); font-weight: 600; }
.home .stats + .contrib { margin-top: -20px; }   /* collé à la ligne des chiffres (Jay, 17.11.2026) */
.home .foot strong { font-weight: 600; }
/* version publique : sélecteur de langue */
.langs { display: flex; gap: 2px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.langs a { color: var(--ink-2); text-decoration: none; padding: 2px 6px; border-radius: 4px; }
.langs a:hover { background: var(--accent-soft); color: var(--ink); }
.langs a[aria-current="page"] { color: var(--ink); background: var(--panel); border: 1px solid var(--line); }
.home .langs { align-self: flex-end; margin-bottom: -6px; }
.top .langs { margin-left: auto; padding-right: 8px; }
/* version publique : listes à puces compactes */
.sec ul.pts { padding-left: 16px; margin: 0; }
.sec ul.pts li { margin: 0; padding-left: 2px; }
.sec ul.pts li + li { margin-top: 2px; }
.sec ul.pts li::marker { color: var(--ink-2); }
