/* Délibérations et actes réglementaires — complète paysmanslois.css (couleur de rubrique : #6796C9) */
.acte-filtres { display:flex; flex-wrap:wrap; gap:.6em; align-items:center; margin:1.2em .5em; padding:1em; background:#f5f5f5; border:1px solid #e5e5e5; }
.acte-filtres input[type=search] { flex:1 1 220px; margin:0; }
.acte-filtres select { margin:0; }
.acte-filtres .pure-button-primary { background:#6796C9; }
.acte-avances { flex:1 1 100%; order:2; }
.acte-avances summary { cursor:pointer; color:#6796C9; font-weight:600; }
.acte-champs { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:.8em 1em; margin-top:.8em; }
.acte-champ span { display:block; margin-bottom:.2em; font-size:.8em; text-transform:uppercase; letter-spacing:.04em; color:#888; }
.acte-champ input, .acte-champ select { width:100%; box-sizing:border-box; margin:0; }
.acte-filtres button[type=submit], .acte-reset { order:3; }
.acte-reset { font-size:.9em; color:#888; }

.acte-compte { margin:0 .5em .5em; color:#888; font-size:.9em; }
.acte-table-liste { width:calc(100% - 1em); margin:0 .5em; border-collapse:collapse; }
.acte-table-liste th { padding:.7em .8em; text-align:left; background:#6796C9; color:#fff; font-weight:600; white-space:nowrap; }
.acte-table-liste th a { color:#fff; text-decoration:none; }
.acte-table-liste th a:hover { text-decoration:underline; }
.acte-table-liste th .fa { margin-left:.3em; opacity:.8; }
.acte-table-liste td { padding:.8em; border-bottom:1px solid #e5e5e5; vertical-align:top; }
.acte-table-liste tbody tr:nth-child(even) { background:#f9f9f9; }
.acte-table-liste tbody tr:hover { background:#eef4fa; }
.col-date { width:7em; white-space:nowrap; }
.col-numero { width:10em; white-space:nowrap; }
.col-docs { width:1%; white-space:nowrap; }
.col-docs .acte-bouton { margin:0 .3em .3em 0; }
.col-titre > a { font-weight:600; text-decoration:none; }
.col-titre > a:hover { text-decoration:underline; }
.acte-objet, .acte-meta { display:block; margin-top:.2em; font-size:.9em; }
.acte-meta { color:#888; }
.acte-bouton { background:#888; color:#fff; font-size:.8em; }
.acte-bouton:hover { background:#6796C9; color:#fff; }
.acte-bouton-principal { background:#6796C9; }
.acte-bouton-principal:hover { background:#4f7fb2; }
.acte-numero { display:inline-block; padding:.1em .6em; background:#6796C9; color:#fff; font-size:.8em; letter-spacing:.04em; }
.acte-vide { padding:1.5em; background:#f5f5f5; text-align:center; }
.acte-pagination { margin:2em .5em; text-align:center; }
.acte-pagination .nav-links > * { display:inline-block; padding:.4em .8em; margin:0 .15em; border:1px solid #ddd; text-decoration:none; }
.acte-pagination .current { background:#6796C9; border-color:#6796C9; color:#fff; }

.acte-documents, .acte-details, .acte-presence, .acte-corps-texte { margin:1.2em .5em; }
.acte-documents { padding:1.2em 1.4em; background:#eef4fa; border:1px solid #cfdff0; border-left:6px solid #6796C9; }
.acte-documents h2, .acte-details h2, .acte-presence h2, .acte-corps-texte h2 { margin:0 0 .6em; font-size:1.3em; }
.acte-corps-texte h2 { margin-top:1.2em; }
.acte-corps-texte h2:first-child { margin-top:0; }
.acte-documents-liste { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1em; }
.acte-doc { display:flex; align-items:center; gap:1em; padding:1em 1.1em; background:#fff; border:2px solid #6796C9; text-decoration:none; color:#444; transition:box-shadow .15s, transform .15s; }
.acte-doc:hover, .acte-doc:focus { box-shadow:0 4px 14px rgba(103,150,201,.35); transform:translateY(-1px); }
.acte-doc-icone { flex:0 0 auto; font-size:2.6em; color:#CD5828; line-height:1; }
.acte-doc-texte { flex:1; min-width:0; }
.acte-doc-texte strong { display:block; font-size:1.1em; }
.acte-doc-texte small { display:block; color:#888; }
.acte-doc-action { flex:0 0 auto; padding:.5em .9em; background:#6796C9; color:#fff; font-weight:600; white-space:nowrap; }
.acte-doc:hover .acte-doc-action { background:#4f7fb2; }
.acte-doc.prefecture { border-color:#9BC434; }
.acte-doc.prefecture .acte-doc-icone { color:#9BC434; }
.acte-doc.prefecture .acte-doc-action { background:#7ea61f; }
.acte-details { padding:1.2em 1.4em; border:1px solid #e5e5e5; border-top:5px solid #6796C9; background:#fff; }
.acte-details dl { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1em 1.5em; margin:0; }
.acte-details dt { font-size:.8em; text-transform:uppercase; letter-spacing:.05em; color:#888; }
.acte-details dd { margin:.15em 0 0; font-size:1.05em; }
.acte-presence { padding:1.2em 1.4em; border:1px solid #e5e5e5; background:#fff; }
.acte-contenu { margin:0; }
.acte-votes { display:flex; flex-wrap:wrap; gap:.8em; list-style:none; margin:0; padding:0; }
.acte-votes li { flex:1 1 90px; text-align:center; padding:.7em .4em; background:#fff; border:1px solid #e5e5e5; border-top:4px solid #888; }
.acte-votes li strong { display:block; font:300 1.9em 'Roboto Condensed', Helvetica, Arial, sans-serif; }
.acte-votes .pour { border-top-color:#9BC434; }
.acte-votes .contre { border-top-color:#CD5828; }
.acte-votes .abstention { border-top-color:#E69A1C; }
.acte-table { width:100%; }
.acte-statut { display:inline-block; padding:.1em .6em; font-size:.85em; color:#fff; background:#888; }
.acte-statut.present { background:#9BC434; }
.acte-statut.excuse { background:#E69A1C; }
.acte-statut.absent { background:#CD5828; }
.acte-stats { margin:0 0 .8em; }
.acte-liees { margin:0; padding-left:1.2em; }
.acte-liees li { margin:.3em 0; }
.acte-retour { margin:1em .5em; }

@media (max-width: 700px) {
    .acte-doc { flex-wrap:wrap; }
    .acte-doc-action { width:100%; text-align:center; box-sizing:border-box; }
    .acte-table-liste thead { position:absolute; left:-9999px; }
    .acte-table-liste, .acte-table-liste tbody, .acte-table-liste tr, .acte-table-liste td { display:block; width:auto; }
    .acte-table-liste tr { margin-bottom:1em; border:1px solid #e5e5e5; background:#fff !important; }
    .acte-table-liste td { display:flex; gap:.8em; border-bottom:1px solid #f0f0f0; width:auto; white-space:normal; }
    .acte-table-liste td::before { content:attr(data-label); flex:0 0 6em; color:#888; font-size:.85em; text-transform:uppercase; }
    .col-date, .col-numero, .col-docs { width:auto; }
}

/* Page d'accueil des actes administratifs */
.acte-intro { margin:1em .5em; }
.acte-choix { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1.2em; margin:1em .5em; }
.acte-choix-carte { display:flex; flex-direction:column; align-items:center; text-align:center; padding:1.6em 1.2em; background:#fff; border:1px solid #e5e5e5; border-top:5px solid #6796C9; text-decoration:none; color:#444; transition:box-shadow .15s, transform .15s; }
.acte-choix-carte:hover, .acte-choix-carte:focus { box-shadow:0 6px 18px rgba(103,150,201,.35); transform:translateY(-2px); }
.acte-choix-icone { font-size:3em; color:#6796C9; margin-bottom:.3em; }
.acte-choix-carte h2 { margin:.2em 0 .4em; }
.acte-choix-carte p { margin:0 0 1em; flex:1; }
.acte-choix-nombre { margin-bottom:1em; color:#888; font-size:.9em; }
.acte-seances .fa { margin-right:.4em; color:#6796C9; }

.acte-remonter { margin:1em .5em 0; }
.acte-remonter a { font-weight:600; text-decoration:none; }
.acte-remonter a:hover { text-decoration:underline; }

/* Actes liés à une séance */
.acte-liees-bloc { margin:1.2em .5em; padding:1.2em 1.4em; border:1px solid #e5e5e5; background:#fff; }
.acte-liees-bloc h2 { margin:0 0 .6em; font-size:1.3em; }
.acte-compteur { display:inline-block; min-width:1.6em; padding:0 .4em; background:#6796C9; color:#fff; font-size:.7em; text-align:center; border-radius:1em; vertical-align:middle; }
.acte-liees-bloc .acte-liees { list-style:none; padding:0; }
.acte-liees-bloc .acte-liees li { display:flex; flex-wrap:wrap; gap:.6em; align-items:baseline; margin:0; padding:.6em 0; border-bottom:1px solid #f0f0f0; }
.acte-liees-bloc .acte-liees li:last-child { border-bottom:0; }
.acte-liees-bloc .acte-meta { margin-left:auto; }

/* Bilan de présence */
.acte-bilan { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:1em; margin:.5em 0 1em; }
.acte-bilan > div { padding:1em; text-align:center; background:#f9f9f9; border:1px solid #e5e5e5; border-top:6px solid #888; }
.acte-bilan strong { display:block; font:300 3em/1 'Roboto Condensed', Helvetica, Arial, sans-serif; }
.acte-bilan span { display:block; margin-top:.2em; text-transform:uppercase; letter-spacing:.05em; font-size:.8em; color:#666; }
.acte-bilan em { display:block; margin-top:.3em; font-style:normal; font-weight:600; }
.acte-bilan-total { border-top-color:#6796C9 !important; }
.acte-bilan .present { border-top-color:#9BC434; } .acte-bilan .present strong, .acte-bilan .present em { color:#6f9a14; }
.acte-bilan .excuse { border-top-color:#E69A1C; } .acte-bilan .excuse strong, .acte-bilan .excuse em { color:#c57f0a; }
.acte-bilan .absent { border-top-color:#CD5828; } .acte-bilan .absent strong, .acte-bilan .absent em { color:#b3441a; }
.acte-barre { display:flex; height:18px; margin:0 0 1.4em; overflow:hidden; background:#e5e5e5; border-radius:9px; }
.acte-barre span { display:block; height:100%; }
.acte-barre .present { background:#9BC434; } .acte-barre .excuse { background:#E69A1C; } .acte-barre .absent { background:#CD5828; }

/* Liste des élus dépliable */
.acte-depliable { margin-top:.5em; }
.acte-depliable summary { cursor:pointer; padding:.8em 1em; background:#eef4fa; border:1px solid #cfdff0; color:#4f7fb2; font-weight:600; list-style:none; }
.acte-depliable summary::-webkit-details-marker { display:none; }
.acte-depliable summary::after { content:'\25BE'; float:right; transition:transform .2s; }
.acte-depliable[open] summary::after { transform:rotate(180deg); }
.acte-depliable summary:hover { background:#e1ecf7; }
.acte-depliable summary .fa { margin-right:.5em; }
.acte-depliable .acte-table { margin-top:1em; }

/* Personnes invitées / présentes, observations */
.acte-participants { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1.2em; margin:1.2em .5em; }
.acte-participants-bloc, .acte-observations { padding:1.2em 1.4em; background:#fff; border:1px solid #e5e5e5; border-top:5px solid #6796C9; }
.acte-participants-bloc h2, .acte-observations h2 { margin:0 0 .7em; font-size:1.3em; }
.acte-participants-bloc h2 .fa:first-child, .acte-observations h2 .fa { margin-right:.3em; color:#6796C9; }
.acte-participants-bloc ul { list-style:none; margin:0; padding:0; columns:2 160px; }
.acte-participants-bloc li { break-inside:avoid; padding:.35em 0; border-bottom:1px solid #f0f0f0; }
.acte-participants-bloc li .fa { margin-right:.4em; color:#9aa9b8; }
.acte-observations { margin:1.2em .5em; border-top-color:#E69A1C; }
.acte-observations p { margin:0; }
