/* Foncier 1.1 : barre compacte, contrôles accessibles et fiches alignées sur la carte. */
@media (min-width: 900px) {
  /* la barre des outils sur le même fond que l'en-tête (Henri, 30/10/2026, 91S-1092 : les deux barres homogènes) */
  .pg.d2f.fs > .d2f-outils { min-height: 42px; padding: 5px 10px; gap: 6px; background: transparent; }
  .pg.d2f.fs .d2f-sep { height: 18px; margin-inline: 2px; }
  :is(html, html[data-theme]) :is(.page-app, body) .pg.d2f.fs .fe-recherche { width: clamp(200px, 20vw, 260px); height: 30px; border-radius: var(--r-bouton); }
  :is(html, html[data-theme]) :is(.page-app, body) .pg.pg.d2f.fs .fe-recherche input { height: 30px; font-size: var(--t-12); }
  :is(html, html[data-theme]) :is(.page-app, body) .pg.d2f.fs .fe-puces { gap: 4px; padding-right: 8px; -webkit-mask-image: none; mask-image: none; }
  :is(html, html[data-theme]) :is(.page-app, body) .pg.d2f.fs .fe-puce { height: 28px; padding-inline: 8px; font-size: var(--t-12); }
  .pg.fs .fs-historique button { width: 28px; height: 28px; }
  .pg.fs .fc-carte .maplibregl-ctrl-bottom-right { right: calc(var(--fs-largeur, 420px) + 12px); bottom: 12px; }
  html.d2-on body.page-app > .feuille.d2-ancienne-fiche { left: auto; right: var(--marge); top: var(--marge); bottom: var(--marge); width: var(--fiche); max-width: calc(100vw - var(--coq-l, 244px) - 24px); border-radius: var(--r-panneau); background: var(--verre); -webkit-backdrop-filter: var(--verre-flou); backdrop-filter: var(--verre-flou); box-shadow: var(--verre-ombre), var(--verre-filet); border: 0; }
  html.d2-on:not(.d2-sans-feuille) .d2-fiche { visibility: hidden; pointer-events: none; }
}
.pg.d2f .d2f-filtres-suite { flex: none; width: 28px; height: 28px; border: 0; border-radius: var(--r-bouton); background: var(--champ); color: var(--texte); font: inherit; font-size: 20px; cursor: pointer; }
.pg.d2f .d2f-filtres-suite[hidden] { display: none; }
.pg.d2f .d2f-filtres-suite:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
.pg.fs .maplibregl-ctrl-group { background: var(--verre); color: var(--encre); border-radius: var(--r-bouton); -webkit-backdrop-filter: var(--verre-flou); backdrop-filter: var(--verre-flou); box-shadow: var(--verre-ombre), var(--verre-filet); }
.pg.fs .maplibregl-ctrl-group button { width: 34px; height: var(--h-bouton); color: var(--encre); }
.pg.fs .gl-bouton svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.d2-r-cadastre-lib { font: 500 var(--t-12)/1 var(--police); }
html:is(.d2-on,.d2-tel) body.page-app > .haut .recherche [data-recherche-avancee] { display: inline-flex !important; flex: none; align-items: center; justify-content: center; gap: 5px; width: auto !important; min-width: 76px; height: 34px; padding: 0 8px; border-radius: var(--r-bouton); background: var(--champ); color: var(--encre); }
html:is(.d2-on,.d2-tel) body.page-app > .haut .recherche [data-recherche-avancee] svg { width: 16px; height: 16px; flex: none; }
.page-app .d2-ancienne-fiche .feuille-corps { padding: 16px; font: 400 var(--t-13)/1.5 var(--police); color: var(--texte); }
.page-app .d2-ancienne-fiche :is(.feuille-titre,.fiche-titre) { font-size: var(--t-17); font-weight: 600; }
.page-app .d2-ancienne-fiche .segment button[aria-selected="true"] { background: var(--actif); color: var(--encre); }
.d2-fiche .d2-ens-barre { flex-wrap: wrap; gap: 6px 10px; }
.d2-fiche .d2-ens-n { color: var(--attenue); font-size: var(--t-11); cursor: default; white-space: normal; }
@media (max-width: 899px) {
  .pg.d2f.fs > .d2f-outils { padding: 6px 10px; gap: 6px; }
  .pg.d2f.fs .d2f-filtres-suite { display: none; }
  .pg.fs .fc-carte .maplibregl-ctrl-bottom-right { right: 8px; bottom: 8px; }
  .pg.fs .maplibregl-ctrl-group button { width: 44px; height: 44px; }
  html.d2-tel body.page-app > .haut .recherche input[name="q"] { min-width: 0; flex: 1 1 0; width: 0; }
  html.d2-tel body.page-app > .haut .recherche [data-recherche-avancee] { min-height: 40px; margin-right: 4px; }
  html.d2-r-plein body.page-app > .haut .recherche [data-recherche-avancee] { order: 5; margin: 6px 12px; }
  .page-app .d2-ancienne-fiche .form-rech :is(input,select) { min-height: 44px; font-size: 16px; }
}
.d2-proprietaires-detail, .d2-proprietaires-ensemble { padding-block: 12px; border-bottom: 1px solid var(--filet); }
.d2-prop-tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.d2-prop-tete + [data-prop-corps]:not([hidden]) { margin-top: 10px; }
.d2-prop-resume { min-width: 0; }
.d2-prop-resume > span { display: block; margin-top: 2px; font-size: var(--t-12); color: var(--texte); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d2-prop-plus { flex: none; }
.d2-prop-tete h3 { margin: 0; font-size: var(--t-13); font-weight: 600; color: var(--encre); }
.d2-prop-entite { padding: 10px 0; border-top: 1px solid var(--filet); }
.d2-prop-entite > b { display: block; font-size: var(--t-13); font-weight: 500; color: var(--encre); overflow-wrap: anywhere; }
.d2-prop-meta, .d2-prop-source, .d2-prop-siren { font-size: var(--t-11); color: var(--attenue); line-height: 1.5; }
.d2-prop-meta { margin-top: 4px; }
.d2-prop-source { margin: 4px 0; }
.d2-prop-siren { display: inline-block; color: var(--texte); margin-top: 3px; }
.d2-prop-prive { margin: 0; color: var(--texte); font-size: var(--t-13); }
.d2-prop-prive small { display: block; margin-top: 3px; color: var(--attenue); font-size: var(--t-11); }
.d2-fiche .d2-prop-entite .dg { max-height: none; overflow: visible; background: none; border-radius: 0; box-shadow: none; margin: 8px 0 0; padding: 8px 0 0; }
.d2-fiche .d2-prop-entite .dg-titre { font-size: var(--t-11); color: var(--attenue); }
.d2-fiche .d2-prop-entite .dg-liste > li { display: block; padding: 8px 0; }
.d2-fiche .d2-prop-entite .dg-nom { display: block; font-size: var(--t-13); color: var(--encre); }
.d2-fiche .d2-prop-entite .dg-meta { display: block; margin-top: 3px; font-size: var(--t-11); color: var(--attenue); }
.d2-fiche .d2-prop-entite .dg-actions { margin-top: 6px; }
.d2-fiche .d2-prop-entite .dg-suite { margin-top: 8px; padding-left: 12px; border-left: 1px solid var(--filet-fort); }
.dg-provenance { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--filet); color: var(--attenue); font-size: var(--t-11); line-height: 1.5; }
.dg-provenance a { color: var(--texte); }
/* Le parcours de résultats laisse libres les commandes de carte sur téléphone. */
@media (max-width: 700px) {
  html.d2-tel body > .d2f-retour { left: 10px; transform: none; width: calc(100vw - 80px); max-width: none; box-sizing: border-box; }
}
