/* Balise — composants (v1, remise au développement)
   Dépend de balise.css (variables --b-*). Classes préfixées .b-, sans framework.
   Les valeurs reprennent exactement le prototype « Prototype Balise.dc.html ». */

/* ---------- Base ---------- */
.b-app { position: fixed; inset: 0; overflow: hidden; background: var(--b-bg); color: var(--b-ink); font-family: var(--b-font); }
.b-caption { font: 700 var(--b-fs-caption)/var(--b-lh-caption) var(--b-font); letter-spacing: var(--b-tracking-caps); text-transform: uppercase; color: var(--b-ink-2); }
.b-num { font: 600 var(--b-fs-num)/var(--b-lh-num) var(--b-font-mono); }
.b-num-s { font: 600 var(--b-fs-num-s)/var(--b-lh-num-s) var(--b-font-mono); color: var(--b-ink-2); }
.b-icon { width: 20px; height: 20px; flex: none; }
button { font: inherit; color: inherit; }

/* ---------- Boutons ---------- */
.b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--b-space-2);
  height: var(--b-control); padding: var(--b-caps-nudge) 18px 0; box-sizing: border-box;
  border-radius: var(--b-r-2); border: var(--b-border) solid var(--b-line-strong);
  background: transparent; color: var(--b-ink);
  font: 800 15px/1 var(--b-font); letter-spacing: var(--b-tracking-caps); text-transform: uppercase; white-space: nowrap;
  cursor: pointer; text-decoration: none; transition: background var(--b-dur-fast) var(--b-ease);
}
.b-btn > svg { margin-top: calc(-1 * var(--b-caps-nudge)); }
.b-btn:hover { background: var(--b-surface-2); }
.b-btn:active { transform: translateY(1px); }
.b-btn:disabled, .b-btn[aria-disabled="true"] { color: var(--b-ink-3); border-color: var(--b-line); background: transparent; cursor: default; transform: none; }
.b-btn--primary { background: var(--b-accent); color: var(--b-on-accent); border-color: var(--b-accent-border); }
.b-btn--primary:hover { background: var(--b-accent-hover); }
.b-btn--primary:active { background: var(--b-accent-active); }
.b-btn--primary:disabled { background: var(--b-surface-2); color: var(--b-ink-3); border-color: transparent; }
.b-btn--small { height: var(--b-hit); padding-inline: 14px; font-size: 14px; }
.b-btn--block { flex: 1; }
.b-btn--icon { width: var(--b-hit); height: var(--b-hit); padding: 0; }
.b-btn--icon.is-on { background: var(--b-ink); color: var(--b-bg); border-color: var(--b-ink); }
.b-btn--ghost { border-color: transparent; }
.b-link { border: none; background: none; padding: 10px 0; color: var(--b-ink); font: 700 15px/1 var(--b-font); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; cursor: pointer; }
.b-spinner { width: 18px; height: 18px; animation: b-spin 1s linear infinite; }
@keyframes b-spin { to { transform: rotate(360deg); } }

/* ---------- Champ Lieu + suggestions ---------- */
.b-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: var(--b-control); padding: 0 4px 0 12px; box-sizing: border-box;
  border: var(--b-border) solid var(--b-line-strong); border-radius: var(--b-r-2); background: var(--b-surface); }
.b-field:focus-within { outline: 3px solid var(--b-focus); outline-offset: 2px; }
.b-field input { flex: 1; min-width: 0; height: 100%; border: none; outline: none; background: transparent; color: var(--b-ink); font: 400 17px/1 var(--b-font); padding: 2px 0 0; }
.b-field input::placeholder { color: var(--b-ink-2); }
.b-menu { position: absolute; z-index: 1000; display: flex; flex-direction: column; padding: 6px; background: var(--b-surface); border: 1px solid var(--b-line); border-radius: var(--b-r-3); box-shadow: var(--b-shadow-2); }
.b-menu__item { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px 8px; border: none; border-radius: var(--b-r-2); background: transparent; color: var(--b-ink); text-align: left; cursor: pointer; }
.b-menu__item[aria-selected="true"], .b-menu__item:hover { background: var(--b-surface-2); }
.b-menu__item small { font: 400 13px/1.2 var(--b-font); color: var(--b-ink-2); }
.b-menu__item mark { background: none; color: inherit; font-weight: 800; }

/* ---------- Pastilles (sources, filtres) ---------- */
.b-chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: var(--b-caps-nudge) 12px 0; box-sizing: border-box; border-radius: var(--b-r-1);
  border: var(--b-border) solid var(--b-line); background: transparent; color: var(--b-ink); font: 700 14px/1 var(--b-font); cursor: pointer; }
.b-chip[aria-pressed="true"] { background: var(--b-ink); color: var(--b-bg); border-color: var(--b-ink); }
.b-chip--active { height: 36px; padding: 2px 8px 0 12px; border: none; background: var(--b-ink); color: var(--b-bg); }
.b-tag { padding: 5px 7px 3px; border: 1.5px solid var(--b-line-strong); border-radius: var(--b-r-1); font: 700 11px/1 var(--b-font); letter-spacing: var(--b-tracking-caps); text-transform: uppercase; }
.b-tag--est, .b-tag--partiel { border-style: dashed; border-color: var(--b-ink-2); color: var(--b-ink-2); }
.b-est { padding: 3px 4px 1px; border: 1px dashed currentColor; border-radius: var(--b-r-1); font: 700 10px/1 var(--b-font); letter-spacing: var(--b-tracking-caps); color: var(--b-ink-2); }
.b-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--b-accent); color: #15171A; font: 800 12px/21px var(--b-font); text-align: center; }

/* ---------- Interrupteur ---------- */
.b-switch { position: relative; flex: none; width: 48px; height: 28px; border-radius: 14px; background: var(--b-surface-2); border: 1px solid var(--b-line); box-sizing: border-box; }
.b-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--b-ink-3); transition: left var(--b-dur-fast); }
input:checked + .b-switch { background: var(--b-ink); border-color: var(--b-ink); }
input:checked + .b-switch::after { left: 22px; background: var(--b-accent); }
input:focus-visible + .b-switch { outline: 3px solid var(--b-focus); outline-offset: 2px; }

/* ---------- Panneau ---------- */
.b-side { position: absolute; left: 0; top: 0; bottom: 0; width: var(--b-panel); display: flex; flex-direction: column; background: var(--b-bg); border-right: 1px solid var(--b-line); z-index: 10; }
.b-search { flex: none; display: flex; flex-direction: column; gap: 14px; padding: 16px 20px 18px; border-bottom: 1px solid var(--b-line); position: relative; z-index: 20; }
.b-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 14px; padding: 16px 20px 20px; }
.b-actions { flex: none; display: flex; gap: var(--b-space-2); padding: 12px 20px 16px; border-top: 1px solid var(--b-line); background: var(--b-bg); }
.b-fichebar { flex: none; display: flex; align-items: center; gap: 2px; height: 56px; padding: 0 12px 0 14px; box-sizing: border-box; border-bottom: 1px solid var(--b-line); }
.b-fichebar__back { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: var(--b-hit); padding: 0 10px 0 6px; border: none; border-radius: var(--b-r-2); background: transparent; text-align: left; cursor: pointer; }
.b-fichebar__back:hover { background: var(--b-surface-2); }
.b-fichebar__back strong { font: 800 15px/1 var(--b-font); }
.b-fichebar__back small { font: 600 12px/1 var(--b-font-mono); color: var(--b-ink-2); }

/* Téléphone et tablette (< 900 px) : panneau glissant */
@media (max-width: 899px) {
  .b-side { display: contents; }
  .b-search { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 900; gap: 12px; padding: 8px; border: none; border-radius: var(--b-r-3); background: var(--b-surface); box-shadow: var(--b-shadow-2); }
  .b-sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 48%; z-index: 800; display: flex; flex-direction: column; background: var(--b-bg);
    border-radius: var(--b-r-4) var(--b-r-4) 0 0; box-shadow: var(--b-shadow-3); transition: height var(--b-dur-sheet) var(--b-ease); }
  .b-sheet.is-dragging { transition: none; }
  .b-sheet__handle { display: flex; justify-content: center; padding: 10px 0 6px; flex: none; cursor: grab; touch-action: none; }
  .b-sheet__handle::before { content: ""; width: 40px; height: 5px; border-radius: 3px; background: var(--b-line); }
  .b-scroll { padding: 4px 16px 16px; }
  .b-actions { padding: 10px 16px 14px; }
  .b-fichebar { padding: 0 8px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .b-scroll { padding-inline: 24px; }
  .b-fiche { column-count: 2; column-gap: 28px; }
}

/* ---------- Liste ---------- */
.b-count { font: 800 22px/1.1 var(--b-font); }
.b-group { display: flex; align-items: center; gap: 10px; padding: 8px 2px 0; }
.b-group::after { content: ""; order: 1; flex: 1; height: 2px; background: var(--b-line); }
.b-group__label { font: 700 12px/16px var(--b-font); letter-spacing: var(--b-tracking-caps); text-transform: uppercase; }
.b-group__n { order: 2; font: 600 12px/1 var(--b-font-mono); color: var(--b-ink-2); }
.b-item { width: 100%; display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 12px 14px 10px; border: none; border-radius: var(--b-r-3);
  background: var(--b-surface); color: var(--b-ink); box-shadow: var(--b-shadow-1); text-align: left; cursor: pointer; }
.b-item:hover, .b-item.is-hover { background: var(--b-surface-2); }
.b-item:focus-visible { outline: 3px solid var(--b-focus); outline-offset: 2px; }
.b-item__glyph { width: 15px; height: 15px; margin-top: 1px; }
.b-item__nom { font: 700 17px/1.25 var(--b-font); overflow-wrap: anywhere; }
.b-item__dist { font: 400 13px/1.4 var(--b-font); color: var(--b-ink-2); white-space: nowrap; }
.b-item__alerte { display: flex; align-items: center; gap: 6px; font: 400 13px/1.3 var(--b-font); color: var(--b-warn-ink); }
.b-item--sans { background: transparent; box-shadow: none; border: 2px dashed var(--b-line); padding: 10px 12px 8px; }
.b-skeleton { border-radius: var(--b-r-1); background: var(--b-surface-2); animation: b-pulse 1.4s ease-in-out infinite; }
@keyframes b-pulse { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }

/* ---------- Fiche ---------- */
.b-fiche > * { break-inside: avoid; margin-bottom: 20px; }
.b-fiche h2 { margin: 0; font: 800 var(--b-fs-h1)/var(--b-lh-h1) var(--b-font); letter-spacing: -0.01em; overflow-wrap: anywhere; text-wrap: balance; }
.b-sub { display: flex; flex-wrap: wrap; align-items: center; font: 400 15px/1.4 var(--b-font); color: var(--b-ink-2); }
.b-sub > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin: 0 8px; vertical-align: middle; }
.b-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.b-stat { display: flex; flex-direction: column; gap: 2px; }
.b-stat small { font: 400 13px/1.3 var(--b-font); color: var(--b-ink-2); }
.b-diff { display: flex; align-items: center; gap: 8px; font: 800 18px/26px var(--b-font); }
.b-diff svg { margin-top: -2px; }
.b-profile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 8px; }
.b-profile svg { width: 100%; height: 72px; border-bottom: 1px solid var(--b-line); }
.b-profile .b-axis { font: 400 11px/1 var(--b-font-mono); color: var(--b-ink-2); }
.b-bar { display: flex; height: 24px; gap: 2px; margin: -6px 0; }
.b-bar__seg { min-width: 3px; height: 24px; display: flex; align-items: center; cursor: pointer; }
.b-bar__seg::before { content: ""; width: 100%; height: 12px; border-radius: 1px; background: var(--seg); transition: opacity var(--b-dur-fast); }
.b-bar.has-on .b-bar__seg:not(.is-on)::before { opacity: .3; }
.b-legend { display: flex; flex-wrap: wrap; gap: 4px; }
.b-legend button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 2px 8px 0; border: none; border-radius: var(--b-r-2); background: transparent; font: 400 14px/1 var(--b-font); cursor: pointer; transition: background var(--b-dur-fast); }
.b-legend button.is-on, .b-legend button:hover, .b-legend button:focus-visible { background: var(--b-surface-2); outline: none; }
.b-legend i { width: 10px; height: 10px; margin-top: -2px; background: var(--seg); }
.b-desc { margin: 0; font: 400 16px/24px var(--b-font); white-space: pre-line; }
.b-desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.b-sources { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--b-line); padding-top: 14px; font: 400 14px/1.4 var(--b-font); }
.b-sources p { margin: 2px 0 0; font: 400 12px/1.45 var(--b-font); color: var(--b-ink-2); }
.b-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--b-r-3); display: block; background: var(--b-surface-2); }
.b-photo figcaption { font: 400 12px/1.4 var(--b-font); color: var(--b-ink-2); margin-top: 6px; }
.b-me { display: flex; align-items: center; gap: 10px; padding: 10px 12px 8px; border-radius: var(--b-r-3); background: var(--b-surface); border: 2px solid var(--b-line-strong); }

/* ---------- Encadrés ---------- */
.b-callout { display: flex; gap: 12px; padding: 12px 14px 10px; border-radius: var(--b-r-3); border: 1px solid; font: 400 14px/1.45 var(--b-font); }
.b-callout strong { display: block; font: 800 15px/1.3 var(--b-font); margin-bottom: 3px; }
.b-callout--warn { background: var(--b-warn-bg); border-color: var(--b-warn-line); color: var(--b-warn-ink); }
.b-callout--info { background: var(--b-info-bg); border-color: var(--b-info-line); color: var(--b-info-ink); }
.b-callout--danger { background: var(--b-danger-bg); border-color: var(--b-danger-line); color: var(--b-danger-ink); padding: 14px 16px; }
.b-empty { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 22px 20px; border-radius: var(--b-r-3); border: 2px dashed var(--b-line); }

/* ---------- Carte ---------- */
.b-map { position: absolute; left: var(--b-panel); top: 0; right: 0; bottom: 0; background: #D8DDD3; }
@media (max-width: 899px) { .b-map { left: 0; } }
.b-map .leaflet-tile-pane { filter: var(--b-map-filter); }
.b-mapctl { position: absolute; z-index: 500; right: 16px; top: 16px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 899px) { .b-mapctl { right: 12px; top: 88px; } }
.b-mapctl button, .b-mapctl__group { display: flex; align-items: center; justify-content: center; width: var(--b-hit); height: var(--b-hit); border: none; border-radius: var(--b-r-2);
  background: var(--b-surface); color: var(--b-ink); box-shadow: var(--b-shadow-2); cursor: pointer; }
.b-mapctl__group { flex-direction: column; height: auto; overflow: hidden; }
.b-mapctl__group button { box-shadow: none; border-radius: 0; }
.b-mapctl__group button + button { border-top: 1px solid var(--b-line); }
.b-mapctl button.is-on { background: var(--b-ink); color: var(--b-bg); }
.b-banner { position: absolute; z-index: 500; top: 16px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 2px 16px 0 12px;
  border-radius: var(--b-r-pill); background: #15171A; color: #FFFFFF; box-shadow: var(--b-shadow-2); font: 700 15px/1 var(--b-font); white-space: nowrap; }
@media (max-width: 899px) { .b-banner { top: 88px; } }
.b-tip { position: absolute; z-index: 600; pointer-events: none; max-width: 260px; padding: 6px 10px 4px; background: #FFFFFF; border: 2px solid #15171A; border-radius: var(--b-r-2); box-shadow: 0 6px 20px rgba(21, 23, 26, .18); }
.b-tip strong { display: block; font: 800 14px/1.25 var(--b-font); color: #15171A; }
.b-tip span { font: 400 13px/1.3 var(--b-font); color: #545860; }
.b-attrib { position: absolute; z-index: 400; right: 0; bottom: 0; padding: 3px 8px 1px; background: rgba(255, 255, 255, .88); color: #15171A; font: 400 11px/1.4 var(--b-font); border-top-left-radius: var(--b-r-2); }
.b-ic { background: none; border: none; } /* divIcon Leaflet sans la boîte blanche par défaut */

/* ---------- Fenêtre « Sources et mentions » ---------- */
.b-scrim { position: absolute; inset: 0; z-index: 2000; background: var(--b-scrim); display: flex; align-items: center; justify-content: center; padding: 16px; }
.b-dialog { width: min(560px, 100%); max-height: calc(100% - 32px); overflow: auto; box-sizing: border-box; background: var(--b-surface); color: var(--b-ink); border-radius: var(--b-r-3); box-shadow: var(--b-shadow-2); padding: 24px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- Utilitaires et compléments du squelette ---------- */
[hidden] { display: none !important; }
.b-only-mobile { display: none !important; }
@media (max-width: 899px) { .b-only-desktop { display: none !important; } .b-only-mobile { display: revert !important; } button.b-only-mobile, .b-btn.b-only-mobile { display: inline-flex !important; } }
.b-logo-sombre { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="clair"]) .b-logo-clair { display: none; } :root:not([data-theme="clair"]) .b-logo-sombre { display: block; } }
:root[data-theme="sombre"] .b-logo-clair { display: none; } :root[data-theme="sombre"] .b-logo-sombre { display: block; }
.b-sr { position: absolute; width: 1px; height: 1px; opacity: 0; }
.b-h1 { margin: 0; font: 800 var(--b-fs-h1)/var(--b-lh-h1) var(--b-font); letter-spacing: -0.01em; text-wrap: balance; }
.b-h2 { margin: 0; font: 800 22px/1.2 var(--b-font); }
.b-h3 { display: block; font: 800 20px/1.25 var(--b-font); }
.b-lead { margin: 0; font: 400 16px/24px var(--b-font); color: var(--b-ink-2); text-wrap: pretty; }
.b-small { margin: 0; font: 400 13px/1.45 var(--b-font); color: var(--b-ink-2); }
.b-muted { color: var(--b-ink-2); }
.b-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-stack-4, .b-stack-6, .b-stack-8, .b-stack-12 { display: flex; flex-direction: column; }
.b-stack-4 { gap: 4px; } .b-stack-6 { gap: 6px; } .b-stack-8 { gap: 8px; } .b-stack-12 { gap: 12px; }
.b-row-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.b-sheet { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.b-brand { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.b-search__row { position: relative; display: flex; gap: 8px; }
.b-btn--rayon { height: var(--b-control); padding: 2px 12px 0; font: 600 15px/1 var(--b-font-mono); letter-spacing: 0; text-transform: none; }
.b-btn--pos { width: var(--b-control); height: var(--b-control); }
.b-btn--pos svg { margin: 0; }
.b-suggest { left: 0; right: 0; top: 56px; }
.b-rayon { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 899px) { .b-rayon:not(.is-open) { display: none; } }
.b-rayon__head { display: flex; justify-content: space-between; align-items: baseline; }
.b-rayon input, .b-filters input[type="range"] { width: 100%; height: 28px; margin: 0; accent-color: var(--b-ink); cursor: pointer; }
.b-rayon__ticks { display: flex; justify-content: space-between; font: 400 12px/1 var(--b-font-mono); color: var(--b-ink-2); }
.b-toolbar { display: flex; align-items: center; gap: 8px; }
.b-toolbar__count { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.b-menu-anchor { position: relative; display: flex; }
.b-menu--right { right: 0; top: 50px; min-width: 230px; z-index: 50; }
.b-menu--up { left: 0; right: 0; bottom: 56px; z-index: 60; }
.b-menu__item--row { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; height: 44px; padding: 2px 10px 0; font: 400 16px/1 var(--b-font); text-decoration: none; }
.b-menu__item--row[aria-checked="true"] { background: var(--b-surface-2); font-weight: 800; }
.b-menu__item--row small { font: 600 12px/1 var(--b-font-mono); }
.b-filters { display: flex; flex-direction: column; gap: 16px; padding: 16px; border-radius: var(--b-r-3); background: var(--b-surface); box-shadow: var(--b-shadow-1); }
.b-filters label.b-small { display: grid; grid-template-columns: 3em minmax(0, 1fr); align-items: center; gap: 10px; }
.b-switch-row { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 44px; cursor: pointer; font: 700 16px/1.2 var(--b-font); }
.b-list { display: flex; flex-direction: column; gap: 8px; }
.b-item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.b-item--skeleton { grid-template-columns: 16px minmax(0, 1fr); cursor: default; }
.b-item .b-tag--partiel { align-self: flex-start; font-size: 10px; padding: 4px 6px 2px; }
.b-footer { margin-top: auto; padding-top: 12px; font: 400 12px/1.5 var(--b-font); color: var(--b-ink-2); }
.b-inline-link { border: none; background: none; padding: 0; color: var(--b-ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.b-probe { position: absolute; z-index: 700; display: flex; gap: 2px; align-items: center; padding: 4px; border-radius: var(--b-r-3); background: #FFFFFF; box-shadow: 0 6px 20px rgba(21, 23, 26, .25); }
.b-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.b-dialog p, .b-dialog ul { margin: 0; font: 400 15px/1.5 var(--b-font); }
.b-dialog ul { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.b-stats { margin: 0; } .b-stats dt, .b-stats dd { margin: 0; }
.b-profile__area { fill: var(--b-surface-2); }
.b-profile__line { fill: none; stroke: var(--b-ink); stroke-width: 2; }
.b-axis { font: 400 11px/1 var(--b-font-mono); color: var(--b-ink-2); }
.b-axis--y { display: flex; flex-direction: column; justify-content: space-between; height: 72px; text-align: right; }
.b-axis--x { display: flex; justify-content: space-between; padding-top: 6px; }
.b-balisage { display: flex; align-items: center; gap: 10px; font: 400 15px/1.4 var(--b-font); }
.b-balisage rect { stroke: #8E9096; stroke-width: .6; }
.b-callout > svg { flex: none; margin-top: 1px; width: 20px; height: 20px; }
.b-empty img { display: block; }
@media (max-width: 899px) { .b-mapctl { top: 88px; } .b-attrib { bottom: var(--b-sheet-h, 48%); } }
.b-btn--sort { font: 700 15px/1 var(--b-font); letter-spacing: 0; text-transform: none; padding: 2px 12px 0; }

/* ---------- Barres de défilement ---------- */
.b-scroll, .b-dialog, .b-menu { scrollbar-width: thin; scrollbar-color: var(--b-ink-3) transparent; }
.b-scroll { scrollbar-gutter: stable; }
.b-scroll::-webkit-scrollbar, .b-dialog::-webkit-scrollbar { width: 10px; }
.b-scroll::-webkit-scrollbar-track, .b-dialog::-webkit-scrollbar-track { background: transparent; }
.b-scroll::-webkit-scrollbar-thumb, .b-dialog::-webkit-scrollbar-thumb { background: var(--b-ink-3); border-radius: 5px; border: 3px solid var(--b-bg); }
.b-scroll::-webkit-scrollbar-thumb:hover { background: var(--b-ink-2); }
