/* Parc foncier des propriétaires (src/parc.js) : les classes du module des permis (.pm) font la
   grille, le panneau et le tableau ; ici, ce qui lui est propre */
.pc-cats { display: flex; flex-wrap: wrap; gap: 4px; }
.pc-cats button { height: 26px; min-height: 0; padding: 0 9px; border: 0; border-radius: var(--r-rond); background: var(--survol); box-shadow: inset 0 0 0 1px var(--filet-2); color: var(--encre-2); font: inherit; font-size: var(--t-12); cursor: pointer; }
.pc-cats button[aria-pressed="true"] { background: var(--actif); color: var(--encre); box-shadow: inset 0 0 0 1px var(--accent); }
.pc .pm-liste-soc { max-height: 300px; }
.pc .rf-pastille { display: inline-block; flex: none; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; vertical-align: 0; }
.pc-identites { display: flex; flex-direction: column; gap: 4px; }
.pc-identite { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 7px 10px; border-radius: var(--r-bouton); background: var(--survol); font-size: var(--t-13); color: var(--encre-3); }
.pc-identite b { color: var(--encre); font-weight: 600; }
.pc-identite a { color: var(--accent-fort); text-decoration: none; font-variant-numeric: tabular-nums; }
.pc-identite a:hover { text-decoration: underline; }
/* Dans les vues tabulaires, seul le tableau défile verticalement : le résumé, l'identité du
   propriétaire et la ligne de colonnes restent visibles. Le même cadre garde le défilement horizontal. */
@media (min-width: 900px) {
  .pg.pc .fc-resultats.pc-resultats-table { overflow: hidden; }
  .pg.pc .fc-resultats.pc-resultats-table > .fc-table-cadre { flex: 1 1 auto; min-height: 96px; overflow: auto; }
}
.pc-nouveau { margin-left: 4px; padding: 1px 6px; border-radius: var(--r-rond); background: var(--actif); box-shadow: inset 0 0 0 1px var(--filet-2); color: var(--encre-2); font-size: var(--t-11); }
.pc-vide { display: flex; flex-direction: column; gap: 10px; max-width: min(640px, 100%); min-width: 0; box-sizing: border-box; overflow-wrap: anywhere; padding: 6px 2px; font-size: var(--t-13); line-height: 1.5; color: var(--encre-2); }
.pc-vide p { margin: 0; }
.pc-vide .pm-bouton-filtres { align-self: flex-start; }
@media (max-width: 899px) { .pc-cats button { height: 30px; font-size: var(--t-13); } }
html[data-theme] .page-app .pc-vide .pm-aide .pm-lien { display: inline; white-space: normal; } /* au téléphone, les noms longs des propriétaires reviennent à la ligne */
/* La liste des propriétaires : combien, et dans quel ordre (08/10/2026) */
.pc-tri { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin: 8px 0 4px; font-size: var(--t-12); color: var(--encre-3); }
.pc-tri label { display: inline-flex; align-items: center; gap: 6px; }
.pc-tri select { min-height: 32px; padding: 0 8px; border: 1px solid var(--filet-2, var(--filet)); border-radius: var(--r-bouton); background: var(--surface); color: var(--encre); font: inherit; font-size: var(--t-13); }
/* Chercher par dirigeant plutôt que par société (22/10/2026) */
.pc-dirigeant { margin: 6px 0 10px; }
/* propositions de dirigeants sous le champ Nom (src/parc-dirigeants.js) */
.pc-dg-props { display: grid; gap: 2px; margin: 2px 0 8px; }
.pc-dg-props:empty { display: none; }
.pc-dg-prop { display: grid; justify-items: start; gap: 1px; width: 100%; padding: 6px 8px; border: 0; border-radius: var(--r-bouton); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pc-dg-prop:hover, .pc-dg-prop:focus-visible { background: var(--survol); }
.pc-dg-prop b { font-size: var(--t-13); font-weight: 500; }
.pc-dg-prop small { font-size: var(--t-12); color: var(--i-lib, var(--encre-3)); }
.pc-dirigeant { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.pc-dirigeant .bouton { align-self: flex-start; }

/* Le groupe d'une société ou d'un dirigeant (src/parc-groupe.js) : sobre, un niveau de preuve par ligne */
.pc .pc-groupe { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--filet, #ddd); font-size: var(--t-13); }
.pc .pc-groupe h3 { margin: 0 0 6px; font-size: var(--t-14, 14px); }
.pc .pc-groupe-liste { list-style: none; margin: 6px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pc .pc-groupe-liste li { display: flex; flex-direction: column; gap: 1px; }
.pc .pc-groupe-liste small { color: var(--i-encre-2, #666); font-size: var(--t-12, 12px); }
.pc .pg-niv { margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--actif, #eee); font-size: 11px; font-weight: 600; }
.pc .pg-niv-capital { background: var(--plein, #111); color: var(--sur-plein, #fff); }
.pc .pc-groupe-faibles { margin-top: 8px; }
.pc .pc-groupe-faibles summary { cursor: pointer; }

/* Les ventes retrouvées d'un groupe ou d'une société sans foncier (src/parc.js, ventesDans) */
.pc .pc-ventes { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--filet, #ddd); font-size: var(--t-13); }
.pc .pc-ventes h3 { margin: 0 0 6px; font-size: var(--t-14, 14px); }
.pc .pc-ventes-liste { list-style: none; margin: 6px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pc .pc-ventes-liste li { display: flex; flex-direction: column; gap: 1px; }
.pc .pc-ventes-liste small { color: var(--i-encre-2, #666); font-size: var(--t-12, 12px); }
.pc .pc-ventes-liste .pm-fiche { align-self: flex-start; margin-top: 4px; }
