/* La barre des fenêtres foncières à la Linear (src/d2-foncier-filtres.js) : au bureau, la recherche et le bouton
   Filtres, sans puces (Henri, 30/10/2026 : la barre compacte de Propriétaires partout) ; la flèche › et la puce Colonne quittent la barre (Colonne est au pied du menu). */
@media (min-width: 900px) {
  :is(html, html[data-theme]) :is(.page-app, body) .pg.d2f .fe-puce,
  :is(html, html[data-theme]) :is(.page-app, body) .pg.d2f .d2f-filtres-suite { display: none !important; }
  .pg.d2f .d2f-outils [data-d2f-puces] { flex: 1 1 auto; min-width: 0; }
  .pg.d2f .d2f-outils .d2f-sep { display: none; }
  .pg.d2f .d2f-filtres { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 28px; height: 28px; margin-left: auto; padding: 0 7px; border: 0; border-radius: var(--r-bouton); background: var(--champ); color: var(--encre); font: 500 var(--t-12) var(--police); cursor: pointer; }
  .pg.d2f .d2f-filtres:hover, .pg.d2f .d2f-filtres[aria-expanded="true"] { background: var(--actif); }
  .pg.d2f .d2f-filtres:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
  .pg.d2f .d2f-filtres svg { width: 14px; height: 14px; }
  .pg.d2f .d2f-filtres-n { min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--r-bouton); background: var(--plein); color: var(--plein-texte); font-size: var(--t-11); line-height: 16px; text-align: center; font-variant-numeric: tabular-nums; }
  .pg.d2f .d2f-filtres-n[hidden] { display: none; }
  /* un réglage choisi dans le menu Filtres s'ouvre sous le bouton, à droite */
  :is(html, html[data-theme]) :is(.page-app, body) .pg.fe.d2f:not(.fe-colonne)[data-fe-ouverte] > .pg-appli > .pg-reglages { left: auto !important; right: 12px; top: 8px !important; }
}
.d2f-fmenu { position: fixed; z-index: 2000; width: 340px; max-height: min(480px, 70vh); overflow-y: auto; padding: 6px; border-radius: var(--r-moyen); background: var(--verre-plein, var(--surface)); box-shadow: 0 0 0 1px var(--filet-fort), 0 12px 32px rgba(0, 0, 0, .28); font: 400 var(--t-13) var(--police); color: var(--texte); }
.d2f-fmenu-cherche { display: flex; align-items: center; gap: 8px; margin: -6px -6px 6px; padding: 8px 12px; border-bottom: 1px solid var(--filet); }
.d2f-fmenu .d2f-fmenu-cherche input, .d2f-fmenu .d2f-fmenu-cherche input:focus, .d2f-fmenu .d2f-fmenu-cherche input:focus-visible { flex: 1; border: 0 !important; box-shadow: none !important; outline: none !important; min-width: 0; height: 24px; padding: 0; border: 0; background: none; color: var(--encre); font: 400 var(--t-13) var(--police); outline: none; }
.d2f-fmenu-cherche kbd { padding: 1px 5px; border-radius: var(--r-fin); box-shadow: inset 0 0 0 1px var(--filet-fort); color: var(--attenue); font: 500 var(--t-11) var(--police); }
.d2f-fmenu-vide { margin: 8px; color: var(--attenue); font-size: var(--t-12); }
.d2f-fmenu button[hidden], .d2f-fmenu-vide[hidden] { display: none; }
.d2f-fmenu button > i { flex: none; color: var(--attenue); font-style: normal; }
.d2f-fmenu button { display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; min-height: 30px; padding: 0 8px; border: 0; border-radius: var(--r-pastille); background: none; color: var(--encre); font: inherit; text-align: left; cursor: pointer; }
.d2f-fmenu button:hover, .d2f-fmenu button:focus-visible { background: var(--survol); outline: none; }
.d2f-fmenu button b { overflow: hidden; max-width: 60%; margin-right: auto; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; color: var(--encre); }
.d2f-fmenu button b.d2f-v-defaut { font-weight: 400; color: var(--attenue); }
.d2f-fmenu hr { margin: 6px 4px; border: 0; border-top: 1px solid var(--filet); }

/* « Retour aux résultats » (src/d2-foncier.js) : une seule pastille compacte, retour · position · ‹ › ; au bureau, sous la
   barre d'outils de la carte (elle se posait dessus, Henri 28/10/2026 : « il se superpose au header »), centrée dans la
   place libre ; au téléphone, une ligne sous la recherche. */
:is(html, html[data-theme]) body > .d2f-retour { flex-wrap: nowrap; gap: 4px; padding: 4px; border-radius: 22px; width: max-content; max-width: min(560px, calc(100vw - 24px)); }
:is(html, html[data-theme]) body > .d2f-retour .d2f-pas { width: 34px; height: 34px; min-height: 0; padding: 0 !important; display: grid; place-items: center; border-radius: 17px; }
:is(html, html[data-theme]) body > .d2f-retour .d2f-droite { display: inline-flex; transform: scaleX(-1); }
:is(html, html[data-theme]) body > .d2f-retour [data-d2f-retour] { flex: 0 1 auto; min-width: 0; }
:is(html, html[data-theme]) body > .d2f-retour [data-d2f-retour-lib] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(html, html[data-theme]) body > .d2f-retour .d2f-position { padding: 0 4px; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  html.d2-on body > .d2f-retour { top: 66px; }
}
@media (max-width: 899px) {
  html.d2-tel body > .d2f-retour { left: 10px; right: 64px; width: auto; transform: none; max-width: none; }
  html.d2-tel body > .d2f-retour [data-d2f-retour] { flex: 1 1 auto; flex-basis: auto; }
  html.d2-tel body > .d2f-retour .d2f-pas { width: 40px; height: 40px; border-radius: 20px; }
}
/* fond plein : le verre à 97 % laissait lire le texte de dessous dans Safari iOS (menu du capital, 29/10/2026) */
.d2f-fmenu { background: var(--panneau, var(--surface)); }
